Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Perl on OSX > Parsing com.app...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 1007 of 1056
Post > Topic >>

Parsing com.apple.sidebar.plist alias data. Can Mac::Files help?

by gavin@[EMAIL PROTECTED] (Gavin Brock) Oct 24, 2007 at 11:40 PM

Hi,

I've written some code to handle relocating of user home folders, in  
particular, the rewriting of full paths in preference files. For the  
majority of applications, this all works sweetly with Foundation.pm  
and the usual NSDictionary calls.

However I am running into issues with the Finder sidebar. The  
"useritems" in the sidebar plist are based on "aliases" - with no  
POSIX file paths at all (like Dock has).

I gather this is all Carbon magic, and I have been wandering round  
the Macperl docs without much success. I'm guessing that Mac::Files  
might be the right area.

Does anyone know what calls I could use to parse and edit the alias  
data (which I currently have extracted into temp files)?

Regards,

Gavin
 




 3 Posts in Topic:
Parsing com.apple.sidebar.plist alias data. Can Mac::Files help?
gavin@[EMAIL PROTECTED]   2007-10-24 23:40:04 
Re: Parsing com.apple.sidebar.plist alias data. Can Mac::Files h
douglist@[EMAIL PROTECTED  2007-10-24 11:20:56 
Re: Parsing com.apple.sidebar.plist alias data. Can Mac::Files
james123@[EMAIL PROTECTED  2007-10-24 13:43:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 1:03:30 CDT 2008.