Jump to content
Macro Express Forums

Macro Help


Grizraz

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...