koden Posted November 3, 2023 Report Share Posted November 3, 2023 Hi forum Is there a command that can go back and start macro again IF something is true in a IF command. Like IF T7 = 2 then open notepad and set the number 2 and start macro over again andif T7 is anything else just resume macro as intended Hope this is to understand. maybe my way to do the check is wrong and I can off course explain it more detailed. Quote Link to comment Share on other sites More sharing options...
rberq Posted November 3, 2023 Report Share Posted November 3, 2023 The newer versions of Macro Express Pro have a LABEL statement and a GOTO command. I think that will let you do what you want. Quote Link to comment Share on other sites More sharing options...
koden Posted November 3, 2023 Author Report Share Posted November 3, 2023 Ahh.. yes maybe it's time to move to newer version 🙂 6 pro or 6 pro portable? Can i run it one 3 virtuel pc's at the same time as I do know with version 3? Quote Link to comment Share on other sites More sharing options...
rberq Posted November 3, 2023 Report Share Posted November 3, 2023 If you are still using an old version of ME, without GOTO, perhaps you could put the whole macro (or the portion where you want to start over) in a Repeat loop. For example, SET T99 = "GO" REPEAT UNTIL T99 = "STOP" .... .... IF T7 = 2 then open notepad and set the number 2 ELSE SET T99 = "STOP" END IF END REPEAT MACRO END Quote Link to comment Share on other sites More sharing options...
koden Posted November 12, 2023 Author Report Share Posted November 12, 2023 Sorry for late answer. have been on vacation. yes I could try that repeat function. Think I maybe used that for some years ago. Thanks... 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.