Re: Path to the user's Library folder: bug or a scripter error?
Re: Path to the user's Library folder: bug or a scripter error?
- Subject: Re: Path to the user's Library folder: bug or a scripter error?
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 10 Jan 2008 20:22:16 +0100
Le 10 janv. 2008 à 20:09, Mike Kobb a écrit :
Hi,
I'm trying to write a little script to install a preference pane in
the user's PreferencePanes folder (~/Library/PreferencePanes).
If I run this script in ScriptEditor, the result is "folder
"Macintosh HD:Users:mjkobb:Library:" of application "System Events":
tell application "System Events"
library folder of the user domain
end tell
If, however, I say:
tell application "System Events"
library folder of the user domain
end tell
...the result is: "alias "Macintosh HD:Library:"
As far as I know your script can't compile (at least on 10.4.11)
This one does:
path to library folder from the user domain
and there is no need to enclose it in a tell block.
Yvan KOENIG _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden