Apples built in ‘Change picture – random order’ option for your desktop Pictures is great.
But what happens if you have more than one Screen/Monitor. Well each screen needs you to turn this on separately . And the pictures for each screen will be independently random from each other.
We can fix that using Applescript and LaunchAgents we can turn off the above and make each desktop picture change to a random image at a set interval and be the same image on each desktop.
Each desktop changes to the same image. If I switch to a new space on a desktop it’s image will change when the time comes.
Continue reading “Sync random order Pictures on Multi Screen Desktops.”
Some times when you install applications they also add them selves to the login items.
This means they will startup when you login to your account. Which in some cases is not desirable.
Someone asked on Stackoverflow how to stop this.
I posted two approaches.
- Lock the login items preference file. items preference file.
- Get notified when there is a change to your login
The script was limited to one master app. The one that if running or not determines if the slave app launches or quits.
This new script allows you to add as many apps to the master app list and also to the slave list.
A simple use of Applescript to get PID (unix id of processes ) and kill one Application if another is not running.
But heres a better example..
Continue reading “Applescript – Quit or Launch Application if another is or is not running”