• 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
Newbie question: how to find my name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie question: how to find my name


  • Subject: Newbie question: how to find my name
  • From: James Bucanek <email@hidden>
  • Date: Wed, 6 Jun 2001 08:30:51 -0700

Greetings,

I'm ashamed to say that I just joined this list to ask one question:

How do I find the name/file of the AppleScript I'm running.

I know that me/my refers to the executing script object, but I've honestly not found any documentation on the properties of a script object. I have the AppleScript Language Guide, Finder Guide, extensions Guide.

I'll also concede that I may be going about this all wrong.

Here's my problem that I thought AppleScript could solve:

I've got a debugging environment where any one of a dozen applications get launched by another (control) application. What I wanted to do was insert an executable AppleScript where the target application is expected to be. When the AppleScript get launched, it would find the real application and launch the debugger.

My plan was simple. I'd create a single AppleScript application that would get renamed to the name of whatever application it's standing in for. When it runs, it would find out it's name, which would tell it which application and symbol file it needs to find.

Any and all suggestions are welcome.
__________________________________
James Bucanek
<mailto:email@hidden>


  • Prev by Date: 9.0 -> 9.1 upgrade problem
  • Next by Date: QXP and changing text attributes
  • Previous by thread: Re: 9.0 -> 9.1 upgrade problem
  • Next by thread: Re: Newbie question: how to find my name
  • Index(es):
    • Date
    • Thread