
How to concatenate variable value?
I suspect this is super easy and I am just missing the obvious. I have a variable called currentConditions that I would like to take its value and prepend "nt_" to it and save that result to a variable called currentConditionsArt. I hacked this Applescript below. It compiles but won't run. Error in Log says, "currentConditionsArt not defined."
- Code: Select all
set a to "nt_"
set b to value of variable "currentConditions"
set value of variable currentConditionsArt to a & b
Thanks in advance for the help!