Hi,
I'd like to add and remove my own test scripts/apps in the "Login Items" from the "System preferences" / "User. Group" by using the terminal command line (not from the GUI).]
I am running Mac OSX Lion 10.7.1 and 10.7.2
For exp:
- add scripts from /Users/myuser/myscript1.sh to the "Login Items"
- remove script myscript2.sh from the "Login Items"
- and so on...
Does the defaults command or something else can do these actions, if so what is the syntax? I would appreciated any helps.
Thanks,
HB
I'd like to add and remove my own test scripts/apps in the "Login Items" from the "System preferences" / "User. Group" by using the terminal command line (not from the GUI).]
I am running Mac OSX Lion 10.7.1 and 10.7.2
For exp:
- add scripts from /Users/myuser/myscript1.sh to the "Login Items"
- remove script myscript2.sh from the "Login Items"
- and so on...
Does the defaults command or something else can do these actions, if so what is the syntax? I would appreciated any helps.
Thanks,
HB