!SINGLESTEP

From iMacros
Jump to: navigation, search

Enables single-step debugging: iMacros stops after every command and waits for the user to click the "Continue" button.

Value iMacros Browser IE Plug-in Firefox

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.

Availability

iMacros Browser: Yes (V6.10+)
iMacros for Internet Explorer: Yes (V6.10+)
iMacros for Firefox: Yes (V6.2.0+)

Examples

 URL GOTO=http://www.iopus.com/imacros/demo/v6/frames/         
 SET !SINGLESTEP YES 
 FRAME F=2
 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f2 ATTR=NAME:T1 CONTENT=F2 
 FRAME F=3     
 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f3 ATTR=NAME:T1 CONTENT=F3 
 FRAME F=4    
 SET !SINGLESTEP NO 
 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f3 ATTR=NAME:T1 CONTENT=F4 
 FRAME F=5     
 TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:f5 ATTR=NAME:T1 CONTENT=F5

SINGLESTEP can also be used to "simulate" the PAUSE command (this is not really useful, but a nice demonstration of the SINGLESTEP command):

   SET !SINGLESTEP YES 
   SET !SINGLESTEP NO

See Also

PAUSE, PROMPT