Calculation from user input

When I grab a a string from the user via the Prompt User for Input action, how can I use this string as a calculation. For example: The user inputs 7+1 (actually I suggest this to her as default); how can I turn this string later on in the macro into the calculated result 8??

I tried Set Variable To Calculation, but the action just cancels with an error.

Please display your macro.
Thank you.

Assuming that the Prompt for Input stores the result in a KM Variable named, "Calc", you can use the "Filter Variable" Action to process the calculation:

For an example of this in a macro, see:

1 Like