Difference between revisions of "!SINGLESTEP"

From iMacros
Jump to: navigation, search
(Examples)
(Notes)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
Enables single-step debugging: iMacros stops after every command and waits for the user to click the "Continue" button.
 
Enables single-step debugging: iMacros stops after every command and waits for the user to click the "Continue" button.
  
=== Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]]===  
+
=== Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] <!--[[Image:Ff-icon.png|Firefox]]-->===  
  
 
YES|NO
 
YES|NO
Line 14: Line 14:
 
=== Notes ===
 
=== Notes ===
  
# Not available in iMacros for Firefox v10
+
# [[Image:Ff-icon.png|Firefox]] This command is also available in legacy iMacros for Firefox (9.0.3 and older)
  
 
=== Examples ===  
 
=== Examples ===  

Latest revision as of 12:03, 12 July 2019

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

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. Firefox This command is also available in legacy iMacros for Firefox (9.0.3 and older)

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