The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "!EXTRACTDIALOG"
Jump to navigation
Jump to search
(5 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> | <br> | ||
− | [[Image:Report-javascript-error.png|none|thumb| | + | [[Image:Report-javascript-error.png|none|thumb|400px| |
− | Extracting the text of a Javascript error message | + | Extracting the text of a Javascript error message.]] |
[[Image:Extract-dialog-text2.png|none|thumb|300px| | [[Image:Extract-dialog-text2.png|none|thumb|300px| | ||
Extracting the text of a dialog box.]] | Extracting the text of a dialog box.]] | ||
<br><br> | <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 27: | 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 10: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,