Help needed: quoting variable
Posted: Tue Jan 14, 2014 1:35 pm
Who can help me with this simple problem? When using the code below, you can't trigger the mouseUp. But when quoting line 2,3,4 you can, so I need to know how to quote a variable. Thanks!
Code: Select all
"on mouseUp" & cr & \
"put directoryAZ into cardNumberHolder" & cr & \
"put" && tChildTitles[getID] && "into titleHolder" & cr & \
"put" && tLink[getID] && "into linkURL" & cr & \
"go to card 46" & cr & \
"end mouseUp" into theScript
---------
set the script of button ("link" & x) to theScript
---------