• 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: Where am I?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where am I?


  • Subject: Re: Where am I?
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 17 Sep 2001 10:21:16 -0700

On 9/17/01 9:07 AM, Rebecca Felts <email@hidden> wrote:

>This seems it should be simple, but I haven't figured out how to do it. I
>want a script to be able to figure out where it resides on the system,
>without using osax. The pseudocode would be something like:
>
> get path to me
>
>returning something like "Macintosh HD:myFolder:subFolder"

that's not the psuedocode; it's the actual code you need, and it returns

alias "Macintosh HD:myFolder:subFolder"

The only possible problem is that it returns the path to the application
running the script (which, however, is the script in the case of applets).

--Michelle

----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------


  • Prev by Date: Re: OT - Your Comments on the recent,,,
  • Next by Date: RE: a mac problem
  • Previous by thread: Re: Where am I?
  • Next by thread: Re: Where am I?
  • Index(es):
    • Date
    • Thread