Please suggest an easy way to deactivate a fields scripts

Trevor DeVore lists at mangomultimedia.com
Wed Mar 18 00:34:04 EDT 2009


On Mar 17, 2009, at 3:31 PM, william humphrey wrote:

>  I was just wondering if there was a quicker way to do that.

Once 3.5 is available you will be able to easily do this by toggling  
the parent script (behavior) of the field between empty and the a  
button that has the script that does the key stroke watching.

## enable key stroke watching
set the parentScript of field "input" to the long id of button  
"MyKeyStrokeWatcher"

## disable
set the parentScript of field "input" to empty

Maybe not applicable to your current project but something to keep in  
mind for the future.

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the use-livecode mailing list