Jump to content
Macro Express Forums

Can We Limits Prompt


Recommended Posts

In the prompt you can say something like 'Enter a value between 10 and 101'. Then, in a few macro commands, you can check to see if the value is outside the range you specify. If not, ask for the value again. Something like this:

Repeat Until %T1% = "DONE"
 Variable Set Integer %N1% from Prompt
 If Variable %N1% >= 10
 If Variable %N1% <= 101
   Variable Set String %T1% "DONE"
 End If
Repeat End

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.

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.

  • Create New...