I have tied this to an action in LaunchBar. Finally, I set it back to the original change interval. I then set the change interval to -1, which will force an immediate change of the desktop image. That is set to a variable of initInterval. What this does is gets the current setting of your change interval in seconds, so my 15 minutes will return 900. tell application "System Events" tell current desktop set initInterval to get change interval - get the currrent display interval set change interval to -1 - force a change to happen right now set change interval to initInterval - change it back to the original display interval end tellend tell My current settings are 15 minutes, but I find the randomizer to lean on the edges, never giving me pictures from the middle. I made a simple script that has been tested on Snow Leopard. I am not sure why this has to be so verbose and complicated. For this script to work, you must have both Change Picture and Random Order enabled on the Desktop tab of the Desktop & Screen Saver System Preferences panel. Thus, for my 30-minute setting, I used 18 seconds.
The following AppleScript will cause the desktop image to change, in whatever order you have set, each time it is run: property theSwitch : 0if theSwitch = 0 then tell application "System Events" tell current desktop set change interval to 1801.0 end tell end tell set theSwitch to 1else tell application "System Events" tell current desktop set change interval to 1800.0 end tell end tell set theSwitch to 0end ifTo maintain your current change interval, modify the change interval lines to reflect your interval, measured in seconds.
Sometimes the desktop will display an image that displayed earlier in the day, and I wanted a way to 'advance' the image easily. I have my desktop images set to change every 30 minutes in random order.