Created
April 23, 2015 20:50
-
-
Save masnick/d8d694a20b634329cc33 to your computer and use it in GitHub Desktop.
Rotate your desktop background immediately with this AppleScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
set desktopnames to get display name of every desktop | |
repeat with currentdesktop in desktopnames | |
tell (every desktop whose display name is currentdesktop) | |
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 tell | |
end repeat | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment