Re: Finder producing path error
Re: Finder producing path error
- Subject: Re: Finder producing path error
- From: David Marshall <email@hidden>
- Date: Mon, 25 Apr 2005 21:49:04 -0400
On Mon, 25 Apr 2005 16:02:10 -0400, Hudson Barton wrote:
Good question, but I still need the Finder because I have to use it to
make a new file on the desktop.
Just to reiterate the problem:
tell application "Finder" to get path to 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:\"."
This works for me (AS 1.9.3, OS X 10.3.8):
set thePath to path to desktop folder
tell application "Finder" to get folder thePath
--folder "Desktop" of folder "dkmarsh" of folder "Users" of startup
disk of application "Finder"
- - - - -
Dave
_______________________________________________
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