Created
November 21, 2010 19:38
-
-
Save donthorp/709070 to your computer and use it in GitHub Desktop.
For use on my laptop when I'm switching between displays. It currently doesn't move the window to the correct coordinates, but it does put it in the spaces like I want.
This file contains hidden or 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" | |
tell expose preferences | |
tell spaces preferences | |
set apps to application bindings | |
tell application "Finder" | |
set displayBounds to bounds of window of desktop | |
if (item 3 of displayBounds > 1680) then | |
set tweetDeckScreen to 65544 | |
else | |
set tweetDeckScreen to 4 | |
end if | |
end tell | |
set |tweetdeckfast.fff259dc0ce2657847bbb4aff0e62062efc56543.1| of apps to tweetDeckScreen | |
get apps | |
set application bindings to apps | |
end tell | |
end tell | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment