Created
January 30, 2013 18:51
-
-
Save dakotasmith/4675668 to your computer and use it in GitHub Desktop.
Applescript which activates and deactivates groups of Geeklets within Geektool, depending on resolution width.
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 "Finder" | |
set _b to bounds of window of desktop | |
set _width to item 3 of _b | |
set _height to item 4 of _b | |
end tell | |
tell application "GeekTool Helper" | |
if _width > 1367 then | |
set visible of group "Desk" to true | |
set visible of group "11 inch screen" to false | |
else | |
set visible of group "11 inch screen" to true | |
set visible of group "Desk" to false | |
end if | |
end tell | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment