• 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: Relative path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Relative path


  • Subject: Re: Relative path
  • From: Andrew Oliver <email@hidden>
  • Date: Tue, 01 Jul 2003 11:12:39 -0700

"I'd rather have a relative path so that this is more portable"

Relative to what?

You can use the 'path to' command to find various common folders.

path to me -- path to the script executable
path to current user folder -- current user's home directory
path to startup disk -- speaks for itself
path to preferences -- user's preferences folder

And so on.

Andrew
:)

On 7/1/03 6:10 AM, "Justin" <email@hidden> wrote:

> Hello. I have a newbie question. I have a series of AppleScripts that tell
> an application to open several documents. Currently I have the absolute
> path to these documents in the script (Macintosh HD:foldername:filename)
> when I'd rather have a relative path so that this is more portable.
>
> Any suggestions?
>
> Thanks!!
> Justin
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >Relative path (From: Justin <email@hidden>)

  • Prev by Date: Re: Open webpage
  • Next by Date: Re: Open webpage
  • Previous by thread: Re: Relative path
  • Next by thread: RE: Relative path
  • Index(es):
    • Date
    • Thread