Another Script Editing Tip

Ken Ray kray at sonsothunder.com
Wed Jul 2 21:38:00 EDT 2003


Scott,

Does the "handler name ends with a ?" work on both platforms?

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/


> From:     Scott Rossi <scott at tactilemedia.com>
> Reply-To: metacard at lists.runrev.com
> Date: Tue, 01 Jul 2003 13:52:51 -0700
> To:     <metacard at lists.runrev.com>
> Subject: Another Script Editing Tip
> 
> When looking for ways to make script editing more convenient, I found the
> following to be a simple and easy method which (best of all) allows me to
> keep the browse tool active -- no need to switch to the pointer tool.
> 
> Place the following in the stack script:
> 
> on editScript?
> if the optionKey is "down" then
>   edit script of the target
>   exit to metacard
> end if
> end editScript?
> 
> Then in any object whose script you want to edit often, place the line
> "editScript?" at the top of its mouseUp handler:
> 
> on mouseUp
> editScript?
> ...
> ...
> end mouseUp
> 
> Now you can quickly edit the script of any object whenever you alt+click
> (option+click) the object with the browse tool.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -----
> E: scott at tactilemedia.com
> W: http://www.tactilemedia.com
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard




More information about the metacard mailing list