code_junkie

Is there anything like Winsplit Revolution for Mac OS X?

Nov 12th, 2011
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. tell application "System Events"
  2. set _everyProcess to every process
  3. repeat with n from 1 to count of _everyProcess
  4. set _frontMost to frontmost of item n of _everyProcess
  5. if _frontMost is true then set _frontMostApp to process n
  6. end repeat
  7.  
  8. set _windowOne to window 1 of _frontMostApp
  9. set position of _windowOne to {5, 0}
  10. set size of _windowOne to {1150, 735}
  11. end tell
Add Comment
Please, Sign In to add comment