!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=11.5.497.9113
TAB T=1
TAB CLOSEALLOTHERS
URL GOTO=http://demo.imacros.net/Automate/Dialogs 
ONDIALOG POS=1 BUTTON=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnDialog 
ONDIALOG POS=1 BUTTON=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnConfirm
ONDIALOG POS=1 BUTTON=OK CONTENT=orange   
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnPrompt 
ONDIALOG POS=1 BUTTON=YES
ONDIALOG POS=2 BUTTON=YES CONTENT=blue
ONDIALOG POS=3 BUTTON=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnThreeStep 
WAIT SECONDS=3     
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnResetColor

Related Forum Posts

See Also

{{!EXTRACT}}, ONDIALOG, ONERRORDIALOG,