!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.

Notes

  1. Not available in iMacros for Firefox v10

Examples

 URL GOTO=http://demo.imacros.net/Automate/Frames         
 SET !SINGLESTEP YES 
 FRAME F=2
 TAG POS=1 TYPE=INPUT:TEXT ATTR=* CONTENT=F2
 FRAME F=3     
 TAG POS=1 TYPE=INPUT:TEXT ATTR=* CONTENT=F3 
 FRAME F=4    
 SET !SINGLESTEP NO 
 TAG POS=1 TYPE=INPUT:TEXT ATTR=* CONTENT=F4 
 FRAME F=5     
 TAG POS=1 TYPE=INPUT:TEXT ATTR=* 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