Created
August 1, 2011 18:09
-
-
Save notch8-old/1118665 to your computer and use it in GitHub Desktop.
GoHome
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 "iCal" | |
| activate | |
| repeat with aWindow in (get every window) | |
| if aWindow is visible then | |
| set index of aWindow to 1 | |
| tell application "SizeUp" | |
| send to space 1 | |
| send to monitor 1 | |
| do action Full Screen | |
| end tell | |
| end if | |
| end repeat | |
| end tell | |
| tell application "Mail" | |
| activate | |
| repeat with aWindow in (get every window) | |
| if aWindow is visible then | |
| set index of aWindow to 1 | |
| tell application "SizeUp" | |
| send to space 2 | |
| send to monitor 1 | |
| do action Full Screen | |
| end tell | |
| end if | |
| end repeat | |
| end tell | |
| tell application "Google Chrome" | |
| activate | |
| repeat with aWindow in (get every window) | |
| if aWindow is visible then | |
| set index of aWindow to 1 | |
| tell application "SizeUp" | |
| send to space 3 | |
| send to monitor 1 | |
| do action Full Screen | |
| end tell | |
| end if | |
| end repeat | |
| end tell | |
| tell application "iTerm" | |
| activate | |
| repeat with aWindow in (get every window) | |
| if aWindow is visible then | |
| set index of aWindow to 1 | |
| tell i term application "SizeUp" | |
| send to space 5 | |
| send to monitor 1 | |
| do action Full Screen | |
| end tell | |
| end if | |
| end repeat | |
| end tell | |
| tell application "Sublime Text 2" | |
| activate | |
| tell application "SizeUp" | |
| send to space 6 | |
| send to monitor 1 | |
| end tell | |
| end tell | |
| tell application "Evernote" | |
| activate | |
| tell application "SizeUp" | |
| send to space 7 | |
| send to monitor 1 | |
| end tell | |
| end tell | |
| tell application "Adium" | |
| activate | |
| repeat with aWindow in (get every window) | |
| if aWindow is visible then | |
| set index of aWindow to 1 | |
| tell application "SizeUp" | |
| send to space 4 | |
| send to monitor 1 | |
| end tell | |
| end if | |
| end repeat | |
| end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment