Path to the user's Library folder: bug or a scripter error?
Path to the user's Library folder: bug or a scripter error?
- Subject: Path to the user's Library folder: bug or a scripter error?
- From: Mike Kobb <email@hidden>
- Date: Thu, 10 Jan 2008 11:09:03 -0800
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:"
In other words, although the first script properly returns (my) user's
library folder, trying to get its path for some reason results in the
path to the System library folder.
What am I doing wrong, or is this a bug?
Thanks!
--Mike
_______________________________________________
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