Re: Relative path
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.