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
(29 intermediate revisions by 5 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:NGIM-icon.png|iMacros 2021.0]] [[Image:IMacros-icon.png|iMacros Browser]] === | ||
YES|NO | YES|NO | ||
+ | <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| | ||
+ | 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 === | ||
+ | VERSION BUILD=11.5.497.9113 | ||
+ | TAB T=1 | ||
+ | TAB CLOSEALLOTHERS | ||
+ | SET !EXTRACTDIALOG YES | ||
+ | URL GOTO=https://demo.imacros.net/Automate/Dialogs | ||
+ | ONDIALOG POS=1 BUTTON=YES | ||
+ | TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnDialog | ||
+ | WAIT SECONDS=3 | ||
+ | TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnResetColor | ||
+ | PROMPT <nowiki>{{!EXTRACT}}</nowiki> | ||
+ | |||
+ | === Related Forum Posts === | ||
− | + | *[https://forum.imacros.net/viewtopic.php?t=12665 An !EXTRACTDIALOG workaround for Firefox] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== See Also === | === See Also === | ||
− | {{[[!EXTRACT]]}} | + | {{[[!EXTRACT]]}}, [[ONDIALOG]], [[ONERRORDIALOG]], |
Latest revision as of 12:17, 20 July 2022
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=11.5.497.9113 TAB T=1 TAB CLOSEALLOTHERS SET !EXTRACTDIALOG YES URL GOTO=https://demo.imacros.net/Automate/Dialogs ONDIALOG POS=1 BUTTON=YES TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnDialog WAIT SECONDS=3 TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnResetColor PROMPT {{!EXTRACT}}
Related Forum Posts
See Also
{{!EXTRACT}}, ONDIALOG, ONERRORDIALOG,