Re: posix path conversion
Re: posix path conversion
- Subject: Re: posix path conversion
- From: Michelle Steiner <email@hidden>
- Date: Fri, 14 Feb 2003 15:09:00 -0700
On Friday, February 14, 2003, at 02:17 PM, Paul Skinner wrote:
Any clues?
This is the closest I can come:
tell application "Finder" to set dname to name of startup disk
set foo to "/Users/michelle/Desktop/Advance and Retreat"
set foo to POSIX path of foo
set bar to dname & (text 2 thru -1 of foo) as alias
-->alias "Dora:Users:michelle:Desktop:Advance and Retreat"
I hope that's enough to get you started there. How did you get the
Finder to give you a URL instead of a file path?
--Michelle
--
"There's some good in the world, Mr. Frodo, and it's worth fighting
for."
_______________________________________________
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.