Difference between revisions of "!EXTRACTDIALOG"

From iMacros
Jump to: navigation, search
(Valid Value)
(Value iMacros Browser IE Plug-in)
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Extract information from a dialog. The entire text of a website dialog is extracted. The text is processed the same way as standard EXTRACT text.  
+
Extract information from a dialog. The entire text of a website dialog is extracted. The text is processed the same way as standard EXTRACT text.
  
=== Valid Value ===  
+
Note: Not compatible with [[Browser_Automation#Web_Page_Dialogs|Web Page Dialogs]].
 +
 
 +
=== Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]]===  
  
 
  YES|NO
 
  YES|NO
 
<br>
 
<br>
 +
 +
[[Image:Report-javascript-error.png|none|thumb|400px|
 +
Extracting the text of a Javascript error message.]]
  
 
[[Image:Extract-dialog-text2.png|none|thumb|300px|
 
[[Image:Extract-dialog-text2.png|none|thumb|300px|
Line 10: Line 15:
 
<br><br>
 
<br><br>
  
[[Image:Report-javascript-error.png|left|thumb|300px|
+
=== Set By ===
Extracting the text of a Javascript error message..]]
+
[ ] Internal
  
 +
[X] [[SET]]
  
----
+
'''Internal''' means that the iMacros program itself sets the value of the variable during program run. [[SET]] means that the user can set this value via the [[SET]] command inside a macro.
  
 
=== Examples ===
 
=== Examples ===
Line 30: Line 36:
 
   <nowiki>PROMPT {{!EXTRACT}}
 
   <nowiki>PROMPT {{!EXTRACT}}
 
</nowiki>
 
</nowiki>
 +
 +
=== Related Forum Posts ===
 +
 +
*[http://forum.iopus.com/viewtopic.php?t=12665 An !EXTRACTDIALOG workaround for Firefox]
  
 
=== See Also ===
 
=== See Also ===
 
{{[[!EXTRACT]]}}, [[ONDIALOG]], [[ONERRORDIALOG]],
 
{{[[!EXTRACT]]}}, [[ONDIALOG]], [[ONERRORDIALOG]],

Revision as of 13:43, 16 August 2017

Extract information from a dialog. The entire text of a website dialog is extracted. The text is processed the same way as standard EXTRACT text.

Note: Not compatible with Web Page Dialogs.

Value iMacros Browser IE Plug-in

YES|NO


Extracting the text of a Javascript error message.
Extracting the text of a dialog box.



Set By

[ ] Internal

[X] SET

Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.

Examples

 VERSION BUILD=6030310 
 TAB T=1
 URL GOTO=http://www.iopus.com/imacros/demo/v6/dialogs/javascript2.htm
 SET !EXTRACTDIALOG YES
 ONDIALOG POS=1 BUTTON=OK CONTENT=
 TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:NoFormName ATTR=VALUE:Popup<SP>1
 ONDIALOG POS=1 BUTTON=OK CONTENT=
 TAG POS=1 TYPE=INPUT:BUTTON FORM=NAME:NoFormName ATTR=VALUE:Ask<SP>me<SP>a<SP>question
 'Use the PROMPT command to display the value (for testing only)
 PROMPT {{!EXTRACT}}

Related Forum Posts

See Also

{{!EXTRACT}}, ONDIALOG, ONERRORDIALOG,