Difference between revisions of "!EXTRACTDIALOG"

From iMacros
Jump to: navigation, search
 
(Examples)
Line 5: Line 5:
 
  YES|NO  
 
  YES|NO  
  
=== Examples ===  
+
=== Examples ===
 +
 
 +
 
 +
  VERSION BUILD=6030310 RECORDER=FX
 +
  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}}
  
 
=== See Also ===
 
=== See Also ===

Revision as of 11:58, 20 March 2008

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.

Valid Value

YES|NO 

Examples

 VERSION BUILD=6030310 RECORDER=FX
 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 Template:!EXTRACT

See Also