• 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: Re: get handler name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: get handler name


  • Subject: Re: Re: get handler name
  • From: Richard 23 <email@hidden>
  • Date: Sun, 25 Mar 2001 00:54:25 -0800

>Hmmmm, what is wrong with your AppleScript? It works fine on my home(2) and
>work machines(3). OS 9.0.4 and AS 1.4.3 limited osax. And it works in the
>Generic Script Editor too. Maybe it just doen't like to work on Fridays : -)

Jon's Commands I presume? It provides the very useful scpt to anything
coercion that allows you to get script and handler source (same thing,
really...script context) as text. I wrote a number cool doodads with
it. I've got a number of different script summarizers. They parse
the script's source returning handler declarations, globals, properties
and then recursively walk any contained script objects for the same
report. Dunno why they don't include that capability in plain
AppleScript.

The AppleEvent Manager and Script Editor do this all the time to save,
load, run and compile scripts. A simple call to OSAGetSource with the
desired type set to "STXT" and you're done.

But not from within AppleScript. Well not without Jon (or FaceSpan).


  • Prev by Date: Re: Creating folders (directories) without the Finder
  • Next by Date: Re: CGIs with OSX
  • Previous by thread: Re: get handler name
  • Next by thread: Re: get handler name
  • Index(es):
    • Date
    • Thread