Difference between revisions of "!EXTRACTDIALOG"
From iMacros
(→Valid Value) |
(→Value iMacros Browser IE Plug-in) |
||
(19 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. |
− | === | + | 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> | ||
− | Extracting the | + | [[Image:Report-javascript-error.png|none|thumb|400px| |
− | [[Image:Extract-dialog-text2.png]] | + | Extracting the text of a Javascript error message.]] |
+ | |||
+ | [[Image:Extract-dialog-text2.png|none|thumb|300px| | ||
+ | Extracting the text of a dialog box.]] | ||
+ | <br><br> | ||
+ | |||
+ | === 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 === | === Examples === | ||
Line 22: | 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]]}} | + | {{[[!EXTRACT]]}}, [[ONDIALOG]], [[ONERRORDIALOG]], |
Latest 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

YES|NO
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,