Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. tell application "System Events"
  2. set theSBounds to {{572, 64}, {332, 515}}
  3. set position of window "Google Hangouts - myemailaddress@gmail.com" of application process "Google Chrome" to item 1 of theSBounds
  4. set size of window "Google Hangouts - myemailaddress@gmail.com" of application process "Google Chrome" to item 2 of theSBounds
  5. end tell
  6.  
  7. 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