Possible Duplicate:
Register as Login Item with Cocoa?
I am trying add my app in the login items (so it runs on startup) on the Mac. I will hook up a checkbox in my preferences to enable or disable this feature. On Windows you could just place a shortcut in the startup folder or use the registry, but how do you do it on the Mac?