!EXTRACTDIALOG

From iMacros
Jump to: navigation, search

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,