Jump to content
Macro Express Forums

Recommended Posts

Posted

I don't suppose there is any way to have the multiple choice dialog box put a number in a variable instead of a character?

 

This is so I can use the number in the variable as a counter for the repeat function.

 

I guess I can select "Put text into variable" and add a number prefix to the selection, and then delete everything past the first character with a Variable Modify String?

Posted

You can, instead, change the "A" through "Z" to an ASCII value and then subtract 64 from the results to get a number 1 through 26.

Variable Set %N1% to ASCII Value of %T1%
Variable Modify Integer: %N1% = %N1% - 64

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