Activating a button script when not in browse mode

Graham Samuel graham.samuel at wanadoo.fr
Sat Oct 18 12:15:27 EDT 2003


This must be easy since it works in the IDE itself, but I can't see how to 
do the following:

I want to create a button on a card that operates on a selected object on 
another card (this is to set certain custom props of the object as part of 
my development process - I need to do this a lot, so I wanted to automate 
it to some extent). I can easily create and script the button, but of 
course I can only select an object when I'm out of browse mode (when the 
cursor is an arrow), and then the button won't fire. I've tried sending 
'mouseUp' to my button via the message box, but this doesn't seem to work.

Can anyone explain how the trick can be done?

TIA

Graham

---------------------------------------------------
Graham Samuel / The Living Fossil Co. / UK & France  




More information about the use-livecode mailing list