ikodan Posted July 9, 2016 Report Share Posted July 9, 2016 Hello, In the multiple choice menu, I have this : A = 1 B = 2 [...]T = 20 saved to variable %nb_ingr% If I save the text, I have "1, 2, 3... 20" but in text format variable (so I can't use it for a "repeat") If I save the "item value", it saves "A, B, C... T" . Anyone have a way, except doing 20 times this : if %nb_ingr% = A :: %nb_ingr_nb% = 1 ? Thank you. Quote Link to comment Share on other sites More sharing options...
rberq Posted July 9, 2016 Report Share Posted July 9, 2016 Save the text, then try Variable Modify String with option Convert to Integer. Variable Modify String: Convert %T1% to integer %N1% Quote Link to comment Share on other sites More sharing options...
Cory Posted July 9, 2016 Report Share Posted July 9, 2016 I would do it rberg's way. Quote Link to comment Share on other sites More sharing options...
ikodan Posted July 10, 2016 Author Report Share Posted July 10, 2016 Thank you it's working, but now I have an other problem : Why I can't put a variable on a variable name, like this : %variable%loop%[%n%]% ? It makes my code very more complicated.... Quote Link to comment Share on other sites More sharing options...
Cory Posted July 10, 2016 Report Share Posted July 10, 2016 A variable's name can't be a variable in part or whole. In my opinion you need to restructure your logic. However in rare cases one might have to resort to the Run Macro in Variable command. It's the only way I know that might work to do what you're planning. Quote Link to comment Share on other sites More sharing options...
ukabuka Posted July 20, 2016 Report Share Posted July 20, 2016 hello everyone I am a newbie using macro express pro does anyone know how to set clipboard copied text into type text using any mean in MACRO EXPRESS PRO? there is a field which i need to copy e.g. 11:22:33 to it but I can not paste the same copied content, rather I can type. if I could type the clipboard text using macros, it would solve my problem.... does anyone know? did I post to a correct thread or theres an answer to it anywhere in this website.? Quote Link to comment Share on other sites More sharing options...
ukabuka Posted July 20, 2016 Report Share Posted July 20, 2016 another question may I know how to make a <down arrow> if the clipboard content was =1 and make two <down arrow> when the clip board content is 2? Quote Link to comment Share on other sites More sharing options...
ukabuka Posted July 20, 2016 Report Share Posted July 20, 2016 another question may I know how to make a <down arrow> if the clipboard content was =1 and make two <down arrow> when the clip board content is 2? i tried if clipboard it worked Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.