Hi,
I am trying to write a relatively simple applescript with a transfer of one variable value to another as follows:
set value of variable "Button_1" to value of variable "Preset_1" as string
The variable value is a word, Guitar, not a number. The compiler keeps coming back and saying that it "can't make variable "Preset_1" into type string". I've tried setting the value to a system variable as follows:
set Button_1a to value of variable "Preset_1"
set value of variable "Button_1" to value of variable Button_1a
same error, still doesn't work. Any ideas?
I am trying to write a relatively simple applescript with a transfer of one variable value to another as follows:
set value of variable "Button_1" to value of variable "Preset_1" as string
The variable value is a word, Guitar, not a number. The compiler keeps coming back and saying that it "can't make variable "Preset_1" into type string". I've tried setting the value to a system variable as follows:
set Button_1a to value of variable "Preset_1"
set value of variable "Button_1" to value of variable Button_1a
same error, still doesn't work. Any ideas?