Hey guys. I know there is a way to run apps on startup in system pref. but I was wondering how i would go about doing it through the terminal. Please let me know if there is a script for this. thanks!
Your question is not really clear. Do you want to have apps launch when you open Terminal.app? Or are you trying to launch GUI apps from the command line? Or are you trying to have command line programs/scripts fire off when you log in?
Be specific, and talk about what you are trying to accomplish. And don't fall into the trap of just talking about how you think you should get to your goal, talk about the goal itself.
I'm not exactly sure how to do it, but you should look into either cron or launchctl.
cron is more of a scheduler, i.e. for stuff that should run on a regular basis
launchctl is an interface to launchd - it might be able to do what you want
ok, well I made an application through automator and i want to send it to some firends. instead of explaining to each individual person how to make that app launch on startup, i could just put a command into the application itself (through automator) to make the app launch on startup... my question is what would that command be?
ok, well I made an application through automator and i want to send it to some firends. instead of explaining to each individual person how to make that app launch on startup, i could just put a command into the application itself (through automator) to make the app launch on startup... my question is what would that command be?
Apps that do that kind of thing are really, really, really frowned upon. If your friends don't know how to make the app launch at startup, they wouldn't know how to make it stop to launch at startup, so making the app do that would be exceedingly impolite.