Re: Finder producing path error
Re: Finder producing path error
- Subject: Re: Finder producing path error
- From: Hudson Barton <email@hidden>
- Date: Mon, 25 Apr 2005 16:30:09 -0400
What version of AS are you using? That doesn't compile for me; I
get "can't make desktop into an item."
But this works:
tell application "Finder" to get desktop as string
And it returns the full path from the disk:
"Macintosh HD:Users:mreed:Desktop:"
I'm using AS 1.9.3 on Mac OS X 10.3.9
Sorry. I should have said
tell application "Finder" to get desktop as string
result==>> "k8:Desktop:"
tell application "Finder" to get folder "k8:Desktop:"
result==>> "Finder got an error: Can't get folder \"k8:Desktop:\"."
And if I give it the actual location, it produces an error saying
"Can't get folder \"Desktop\" of folder \"k8\" of folder \"Users\" of
startup disk."
We're all using the same verions of OS X and Applescript.
--
The Garnet Stone Company Ph:610-348-4371 Fax:206-339-2515
Hudson Barton email@hidden http://www.garnetstone.com
_______________________________________________
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