Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tell application "System Events"
- set theSBounds to {{572, 64}, {332, 515}}
- set position of window "Google Hangouts - myemailaddress@gmail.com" of application process "Google Chrome" to item 1 of theSBounds
- set size of window "Google Hangouts - myemailaddress@gmail.com" of application process "Google Chrome" to item 2 of theSBounds
- end tell
- do shell script "osascript -e 'tell application "System Events"' -e 'set theSBounds to {{572, 64}, {332, 515}}' -e 'set position of window "Google Hangouts - myemailaddress@gmail.com" of application process "Google Chrome" to item 1 of theSBounds' -e 'set size of window "Google Hangouts - myemailaddress@gmail.com" of application process "Google Chrome" to item 2 of theSBounds' -e 'end tell'" with administrator privileges
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement