Jump to content
Macro Express Forums

Wait for Key press


XAntares

Recommended Posts

Hello,

 

I will make a script, with a command wait for keypress (wait 2 minutes and 30 secounds). After time elapse, macroexpress is aborting.

Is it possible, that macro express wait for this time and after no key was pressed, that macro will continue ?

 

Thx in advance and best greetings !

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

 

I will make a script, with a command wait for keypress (wait 2 minutes and 30 secounds). After time elapse, macroexpress is aborting.

Is it possible, that macro express wait for this time and after no key was pressed, that macro will continue ?

 

Thx in advance and best greetings !

 

You can do this in a round about way. The script would look something like:

 

Repeat Until N1=150

Increment N1

Wait 1 Second

Repeat End

Link to comment
Share on other sites

  • 5 weeks later...

You can do this in a round about way. The script would look something like:

 

Repeat Until N1=150

Increment N1

Wait 1 Second

Repeat End

 

Thank you ! I had found a better way until wait for keypress while programm is running:

 

Variable set integer %N1% to 0

Repeat Until %N1% = 1

Delay 5 secounds

Text type <F12>

If windows Title "save as" is on top

Break

End if

Repeat End

 

So macro continues without keypress automaticly. If programm is finish "save as window" will be appear.

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...