• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Path to the user's Library folder: bug or a scripter error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Path to the user's Library folder: bug or a scripter error?
      • From: Mike Kobb <email@hidden>
    • Re: Path to the user's Library folder: bug or a scripter error?
      • From: Michelle Steiner <email@hidden>
    • Re: Path to the user's Library folder: bug or a scripter error?
      • From: KOENIG Yvan <email@hidden>
    • Re: Path to the user's Library folder: bug or a scripter error?
      • From: KOENIG Yvan <email@hidden>
  • Prev by Date: Re: "a reference to"
  • Next by Date: Re: Path to the user's Library folder: bug or a scripter error?
  • Previous by thread: Quark 731 Leopard Breaks Stylin
  • Next by thread: Re: Path to the user's Library folder: bug or a scripter error?
  • Index(es):
    • Date
    • Thread