Please suggest an easy way to deactivate a fields scripts

DunbarX at DunbarX at
Wed Mar 18 09:50:03 EDT 2009


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 

More information about the Use-livecode mailing list