Please suggest an easy way to deactivate a fields scripts

DunbarX at aol.com DunbarX at aol.com
Wed Mar 18 09:50:03 EDT 2009


William:

Could you put a mouseEnter handler as the very first handler of the script, 
and then, say, if the optionKey is down, comment out all the other lines?   You 
would have to save the script in the process. So if this new handler had ten 
lines, you would comment lines 11 to the number of lines of the script. If the 
mouse was not down (the ordinary case), you would delete all leading dashes 
in each line and save. 

If you already have lines with comments, this won't work, since you are 
always deleting leading dashes in the ordinary case. You might try to live without 
your commented lines. 

Have to be careful with this, though; it is heart surgery.

Craig Newman



**************
Great Deals on Dell 15" Laptops - Starting at $479 
(http://pr.atwola.com/promoclk/100126575x1220433363x1201394532/aol?redir=http:%2F%2Fad.doub
leclick.net%2Fclk%3B212935224%3B34245239%3Bb)



More information about the Use-livecode mailing list