Jump to content
Macro Express Forums

Recommended Posts

Hi, is it possible that after I have written 6 numbers in the box shown in the picture that macro express pro can run a macro automaticly?

As in the macro that's going to run will only run after 6 numbers have been typed in this box.

 

If you know which commands that can be used to make this I will be eternally grateful:) 

6number.PNG

Link to post
Share on other sites

In theory the answer is yes. But it may not be practical.

 

The first digit would need to always be the same. Let's say it's zero. Then configure Macro Express so that "0" is a prefix key for ShortKey activation.

 

Then create 100,000 macros with these nicknames:

 

00000

00001

00002

...

99998

99999

 

You can automate the process of creating these macros using a Macro Express script. It might take a couple of hours to run, but you'd only need to do so once.

 

This would be a fun and interesting exercise, but in my view, Macro Express is not the ideal tool for this task!

Link to post
Share on other sites

Trigger the counting macro when the entry screen appears. 

Then:

//  
Variable Set Integer %N1% to 0
Repeat Until %N1% >= 6
  Wait for Key Press: Any Key
  Variable Modify Integer: Inc (%N1%)
Repeat End
Text Box Display: xxxxxxxxxx (done, so start whatever other macro you want to run)
// 

  • Thanks 1
Link to post
Share on other sites
  • 1 month later...

Could you type a space first then the numbers? Then a ShortKey macro I think would work. Have the macro delete the space after. My suggestion seems a little sloppy thought. 

Link to post
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...