Newbie question: how to find my name
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>