Re: How to convert Finder reference?
Re: How to convert Finder reference?
- Subject: Re: How to convert Finder reference?
- From: Deivy Petrescu <email@hidden>
- Date: Thu, 11 Dec 2003 22:18:26 -0500
At 5:46 PM -0800 12/11/03, John W. Baxter wrote:
This pattern worked long ago, and seems to continue working in Panther
10.3.1 (watch line wrap...there is one line within the tell block):
tell application "Finder"
get (document file "2003Winter.pdf" of desktop of application "Finder")
as string
end tell
-->"Blake:Users:john:Desktop:2003Winter.pdf"
For extra credit, change "as string" to "as alias" and examine the result.
--John
PS...that's the Washington State Ferries winter schedule.
For added bonus change "alias" to "file specification"
Deivy
--
Regards
Saudagues
Deivy
http://www.dicas.com
_______________________________________________
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.