allsam Posted October 3, 2010 Report Share Posted October 3, 2010 Hi, Is it possible to skip one Line of the macro when the macro is running ? (If i want to skip one command during run of the macro) Something like If Keypressed = X then GoTo Line X Best regards allsam Quote Link to comment Share on other sites More sharing options...
kevin Posted October 4, 2010 Report Share Posted October 4, 2010 Check out the If Variable command. Quote Link to comment Share on other sites More sharing options...
acantor Posted October 5, 2010 Report Share Posted October 5, 2010 You can press Ctrl + N in the Scripting Editor to disable a line of code that has focus; or you can select several lines if you want to disable more than one line. The same hotkey re-enables the line or selected lines. Quote Link to comment Share on other sites More sharing options...
pferris Posted October 11, 2010 Report Share Posted October 11, 2010 Hi! Some may disagree, but I like to use labels - sometimes when developing a script and I'm not sure I'll always only be skipping "just 1 line"... but it might be 5 lines a week from now! Quote Link to comment Share on other sites More sharing options...
kunkel321 Posted October 13, 2010 Report Share Posted October 13, 2010 Is it possible to ... What does your macro do? You might be able to make it smart enough to "know" when to include the line of code. Quote Link to comment Share on other sites More sharing options...
terrypin Posted October 14, 2010 Report Share Posted October 14, 2010 You're clearly more tolerant than me, Steve. If an OP hasn't acknowledged any replies after 10 days, then I lose interest! -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
chris Posted October 19, 2010 Report Share Posted October 19, 2010 The If-End If blocks would work the absolute best. However, we also have Goto-Label commands for this, as well. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.