I would like to write a script that kills XCode, Chrome, and the iOS Simulator, whenever I fast-user-switch on Lion.
How do I trigger such a script? And should I use killall type commands?
|
I would like to write a script that kills XCode, Chrome, and the iOS Simulator, whenever I fast-user-switch on Lion. How do I trigger such a script? And should I use killall type commands? |
|||
|
|
|
I can't think of any way to have fast user switching trigger running a script. But you could use a script that both quits the apps and switches to another user. If you save it to
|
|||
|
|