[quote=“slyfox, post:5, topic:6729”]
If create a new Macro and simply set it “Set variable Apple to A|B|C” the macro has no effect on the variable content.
However, if I go to preferences -> variables and set the variable Apple to A|B|C it works.
So, what is the proper way to create a new variable?[/quote]
Telling from your screenshot #1, it should work. Maybe you just forgot to run the action?
Your screenshot #2:
You are saving the result of the prompt (A
, B
or C
) to the same variable that holds the prompt options (A|B|C
). That is, after the prompt the value of the variable “Apple” will be A
, B
or C
and you will no longer be able to use it to populate another prompt in another macro.
Before the prompt: Apple == A|B|C
After the prompt: Apple == A
(if you have chosen A
as answer)
So, to keep your variable “Apple” intact (as the one that holds the three prompt options) you have to save the result of the prompt to a different variable. See the screenshot of my last post.
Unless I have misunderstood what you are trying to achieve.