Is there a way to use custom text for the text next to a prompt box where you type information in or choose from a drop down. I want what is returned to go to a variable but I would prefer to not show the name of the Variable that it is referencing in the User Input Prompt since the Variable name is formatted in a way that is helpful for me to organize but not very end user friendly, plus it gets truncated in the dialog box.
Howdy, one simple way (that may or may not work for you), is to simply type whatever you want the prompt to say on the left-hand side (which will make a new variable), and then set your original variable to that variable in the prompt.
For instance, in the prompt I used Whatever you want here, and immediately after I set the Your original variable to that initial variable.
Not fancy, but it might work for your needs. Likely others who are more experienced will chime in with better suggestions!
Actually now that I read that, it looks like it's referencing how to show a default value in the actual drop down menu (which I use in a few of my macros)...but I believe OP was asking how to show a value other than the variable name to the left side of the drop down menu...perhaps I'm misunderstanding..?
@tiffle you are exactly right I was trying to wrap my head around this and that was exactly what I was getting as the result. I didn't want to change the Variable to Pom See App Intent__Attempt but the display name is solved. I will read more down the page and all of this on the Wiki to get some more info on this display.
Hopefully I can show "Attempt" in the display dialog and have that stored in "Pom Ses App Intent". I just wanted to post soon to clarify, thanks all!
It seems very strange that it works differently for the selectable items.
For example “B__Good|F__Fail|C__OK|B__Good|A__Excellent” would be shown as:
Fail OK Good (selected by default) Excellent but would set the variable to A, B, C,or F as appropriate.
So, you can hide the prefix if the variable name starts with a prefix followed by two underscores. Then the label will show only the latter part of the variable name.
For example, if you enter “MyMacro__Text Message” in the variable name field of the Prompt for User Input action:
** It will display a label of “Text Message”:*
** But the actual variable name that is set will be just as you entered it: “MyMacro__Text Message”*
I actually just thought that and you beat me to it. It just seems strange to me that if you are just trying to display something different the logical thing would be that "Pom Ses App Intent__Intent" would save to the variable "Pom Ses App Intent" From what I can tell this can't be done so I will just settle on storing the variable name as "Pom Ses App Intent__Intent" or better yet "Pom Ses App__Intent"
Sure, the reasoning is pretty simple - the default normal behaviour has you configuring the variable name. The __ simply changes how that variable name is displayed to the user in the prompt. Hence the whole thing is the variable name, and the part after the __ is displayed to the user.
Primarily this was provided to allow for prefixes in variables, since a common convention was to use a prefix for a particular variable to keep your variables from different macros separate.
Now there are Local and Instance variables, so a prefix is not necessary if you are using Local or Instance variables, and in version 10, the “Local” or “Instance” is removed from the display so you can use, for example “Instance Intent” and it will display “Intent”, but the variable will still be “Instance Intent” and will be local to this execution instance.