Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/osascript
- on run argv
- repeat with j from 1 to (count argv)
- set a to item j of argv
- tell application a
- repeat with x from 1 to (count windows)
- set b to bounds of window x
- set bounds of window x to {10, 10, item 3 of b, item 4 of b}
- end repeat
- end tell
- end repeat
- end run
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement