• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Script Debugger: select contents of a handler by name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Debugger: select contents of a handler by name


  • Subject: Re: Script Debugger: select contents of a handler by name
  • From: Mark Alldritt <email@hidden>
  • Date: Tue, 01 Jan 2002 20:22:55 -0800

> Yes. You mustn't confuse properties of scripts (e.g. 'script handler') with
> properties of documents.
>
> 1) The 'contents of script handler' is
> <<script handler>>, not the actual text in the window.

The upcoming Script Debugger 3.0.2 update extends the script handler and
script properties classes so that you can do the following to get the source
of a handler or a property (presuming the source is available - i.e its
value/definition was compiled from source):

contents of script handler "handlername" as string
contents of script property "propertyname" as string

I think Shane's approach to selecting handlers is the best way to go with SD
is it stands today. For SD4, I hope to make the script handler and script
property classes provide additional information to help with navigation
through a script's source code.

Cheers
-Mark

---------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 333 Moss Street
FAX: 250-383-3204 Victoria, B.C.
WEB: http://www.latenightsw.com/ CANADA V8V-4M9


  • Prev by Date: Re: AppleScript Studio -> idle handler
  • Next by Date: Re: AppleScript Studio -> idle handler
  • Previous by thread: Re: Connect PPP Script
  • Next by thread: Re: getting hardware ID
  • Index(es):
    • Date
    • Thread