QT: How to send a local application path to a script button?

Klaus Major klaus at major-k.de
Sun Sep 23 16:53:28 EDT 2007


Hi William,

Important hint!

> ...
>>   set the script of btn "1" to field "path"
>> end mouseUp

NEVER name your object(s) with a single NUMBER!

That may work in most cases, but SURE will fail in the wrong moment!
The engine may think you mean -> button 1 (the FIRST button)

Add a (short) prefix to avoid trouble: button "b1" or something.


Best

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list