• 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: Get path to script in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get path to script in Panther


  • Subject: Re: Get path to script in Panther
  • From: Emmanuel <email@hidden>
  • Date: Fri, 30 Jan 2004 09:53:54 +0100

At 9:10 PM -0800 29/01/04, Paul Berkowitz wrote:
>On 1/29/04 7:20 PM, "Gnarlodious" <email@hidden> wrote:
>
>'path to me' has _always_ returned the path to the application running the
>script. If you put it into an applet (script application) you'll get the
>path to the script just fine. If you run it in a script editor, you'll get
>the path to the script editor (unless you have Script Debugger and choose
>the pref to to have it return the path to the script document or app).

Thanks very much Paul for this information.

In Smile - unlike you suggest - "path to me" returns the path to the document - script, applet or text.

Emmanuel

Hint of the day: in Smile, use "folder of" to retrieve the container of a file.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Get path to script in Panther
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: Get path to script in Panther (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Get path to script in Panther
  • Next by Date: saving OSAX in package contents
  • Previous by thread: Re: Get path to script in Panther
  • Next by thread: Re: Get path to script in Panther
  • Index(es):
    • Date
    • Thread