Another Script Editing Tip

erik hansen erikhans08 at yahoo.com
Tue Jul 1 16:31:00 EDT 2003


this is the first instance of a handler name
using chars other than numbers, letters, 
and "_" that i have seen. more wonders.

--- Scott Rossi <scott at tactilemedia.com> wrote:
> 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 top
>   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.
> 

=====
erik at erikhansen.org    http://www.erikhansen.org

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



More information about the use-livecode mailing list