I just got an assignment where I need to add the running program to the login items for all users on OSX >= 10.5. The program is a command line tool and I am developing it in xcode. I found some ways to add login items, but they either run from a shell or use the cocoa framework.
How can I do this?