Jump to content
Macro Express Forums

Can We Limits Prompt


H2o-KiD
 Share

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

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

×
×
  • Create New...