autoScript
Kay C Lan
lan.kc.macmail at gmail.com
Thu Nov 17 05:21:34 EST 2016
Manually enter a scrip into btn "BB"
Then modify your first mentioned script to:
on mouseUp
put the script of btn "BB" into oldScript
put "make me coffee" into newScript
set the script of btn "BB" to newScript
put the script of btn "BB" into checkScript
breakpoint
end mouseUp
With debug mode ON, running the script should stop at the breakpoint
and you should be able to check the values of:
oldScript
newScript
checkScript
More information about the use-livecode
mailing list