PDA

View Full Version : Script to add app to open at login


areai51
May 3rd, 2009, 03:47 PM
Hi,
I'm writing a postflight script that's supposed to add my app to the loginwindow.plist..

I mean basically after installation my app should open at login.
I just cant seem to find the script to get this ..
can someone help me with a shell script that would add my app to Open at Login?

Thanks in Advance
V

Giaguara
May 4th, 2009, 01:22 AM
System Preferences > Accounts > login > add your application here.

ElDiabloConCaca
May 4th, 2009, 09:32 AM
http://developer.apple.com/documentation/MacOSX/Conceptual/BPSystemStartup/Articles/CustomLogin.html