Advertisement
Guest User

Untitled

a guest
Apr 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #!/usr/bin/osascript
  2.  
  3. on run argv
  4. repeat with j from 1 to (count argv)
  5. set a to item j of argv
  6. tell application a
  7. repeat with x from 1 to (count windows)
  8. set b to bounds of window x
  9. set bounds of window x to {10, 10, item 3 of b, item 4 of b}
  10. end repeat
  11. end tell
  12. end repeat
  13. end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement