Grizraz Posted October 9, 2007 Report Share Posted October 9, 2007 I am pretty new to ME and therefor limited on knowledge of the programming and functions available here. What I am attempting to do is be able to have a macro read a number (1 or 2 digits) and depending on the size (Equal to or greater than 16 for example) perform an action via another Macro. (if less than 16, performing a different action via another Macro). My thoughts on this are to actually copy the number to clipboard and read the number from there... Though I think I'm making this harder than it really is. Any help would be appreciated. Quote Link to comment Share on other sites More sharing options...
blopib Posted October 9, 2007 Report Share Posted October 9, 2007 Hi Grizraz It is not possible to run macros at the same time. My suggestion is to do someting like this Repeat Until %T1% <> %T1% // Depending from which file or program you want to copy from you can get the numbers in different ways Clipboard Copy Variable Set Integer %N1% from Clipboard If Variable %N1% < 16 // Do this End If If Variable %N1% >= 16 // Do that End If Repeat End Repeat Until %T1% <> %T1% <REP3:08:000002:000001:0001:1:01:T1><REM2:Depending from which file or program you want to copy from you can get the numbers in different ways><CLIPC><IVAR2:01:11:><IFVAR2:2:01:3:16><REM2:Do this><ENDIF><IFVAR2:2:01:5:16><REM2:Do that><ENDIF><ENDREP> I hope this will perhaps guide you. 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.