Re: Coerce file reference to text
Re: Coerce file reference to text
- Subject: Re: Coerce file reference to text
- From: Michelle Steiner <email@hidden>
- Date: Wed, 10 May 2006 08:27:14 -0700
On May 10, 2006, at 8:08 AM, Sam wrote:
Is there a better way to get "SeverVol/Job Folder/
Quark_file_I_want"? I keep coming up missing it or errors that the
file reference can't be text.
Won't "posix path of" do what you want?
--
"The optimist proclaims that this is the best of all possible worlds ;
and the pessimist fears this is true." --James Branch Cabell
set foo to (choose file)
POSIX path of foo
--> "/Applications/AppleScript/Script Editor.app/"
For a file not on the startup disk, the result looks like this:
--> "/Volumes/Deety/Applications/AppleScript/Script Editor.app/"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden