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: "J. Stewart" <email@hidden>
- Date: Thu, 10 Jan 2008 16:30:37 -0500
On 1/10/08 at 3:51 PM, Mike Kobb <email@hidden> spake thusly:
2) You've both noted that this only works on Leopard. Sadly, I
need this script to work on Tiger as well. Is there a similar
way to do this on Tiger? Is it acceptable to just use
"~/Library/PreferencePanes/<my file>"?
Personally I'd use -
set fp to quoted form of POSIX path of ((path to "pref" from
user domain as text) & "myfile")
I admit to being curious as to why you want it as a posix path
instead of an alias. Are you using this in a shell script?
--
The Sufis advise us to speak only after our words have managed
to pass through three gates. At the first gate, we ask
ouselves, 'Are these words true?' If so, we let them pass on;
if not, back they go. At the second gate, we ask, 'Are they
necessary?' At the last gate, we ask, 'Are they kind?'
-Eknath Easwaran
_______________________________________________
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