• 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: How to get name of classic app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get name of classic app


  • Subject: Re: How to get name of classic app
  • From: Rob Jorgensen <email@hidden>
  • Date: Sat, 15 Sep 2001 15:54:06 -0400

On 09/15/2001, Irwin Poche commented:

How can a script saved as a classic applet get it's name ?

I have tried every combination of me, my, and name I can think of. For
instance...

me
name of me
name of me as text
my name
tell me to get my name
etc...

This works for me:

tell application "Finder" to set myName to (name of (path to me as alias))
display dialog myName


Later,

Rob Jorgensen
Ohio, USA


  • Follow-Ups:
    • Re: How to get name of classic app
      • From: Irwin Poche <email@hidden>
    • Re: How to get name of classic app
      • From: Paul Berkowitz <email@hidden>
References: 
 >How to get name of classic app (From: Irwin Poche <email@hidden>)

  • Prev by Date: How to get name of classic app
  • Next by Date: Re: Troubling MacOS 9.1 / AS / SHERLOCK 2 dilemma: *CAN* I go forward or must I go back?
  • Previous by thread: How to get name of classic app
  • Next by thread: Re: How to get name of classic app
  • Index(es):
    • Date
    • Thread