set userPrefs to path to “pref”
– > alias “Powerbook G4:Users:rjj:Library:Preferences:”
I’m pretty sure that it will reflect the current user. If not, this should work (but I think it will result in the same thing).
set currUser to path to “cusr”
set prefs_ to (currUser as text) & “Library:Preferences:” as alias
– > alias “Powerbook G4:Users:rjj:Library:Preferences:”
And to get the posix, add:
set quotedPrefs to quoted form of POSIX path of prefs_
– > ‘/Users/rjj/Library/Preferences/’