Re: Preference Files
Re: Preference Files
- Subject: Re: Preference Files
- From: Philip Aker <email@hidden>
- Date: Wed, 16 Sep 2009 14:53:53 -0700
On 2009-09-16, at 09:49:40, Mark J. Reed wrote:
AFAIK, POSIX format is the native pathname format of OS X., and the
only one understood by operating system calls.
Not quite correct. It really depends on the layer you wish to address
paths at. For the unix layer, of course it's POSIX paths. For
CoreFoundation CFURLs (the lowest public Mac OS X framework layer),
the paths may be specified with any of the following enumeration values:
enum {
kCFURLPOSIXPathStyle = 0,
kCFURLHFSPathStyle,
kCFURLWindowsPathStyle
};
Also, although the trend looks like it's steering towards POSIX paths,
I believe it's not safe to assume a preference file path will be
stored as a POSIX path. For instance, on my 10.6.1 setup,
com.apple.loginitems.plist still stores one of them in a key named
"Alias" with what looks like 'furl' type of data.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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