SHARE
TWEET
FaceTime Monitor
a guest
Oct 22nd, 2010
284
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- repeat
- repeat while application "FaceTime" is running
- tell application "System Events"
- try
- tell process "FaceTime"
- set s to size of window 1
- set x to first item of s
- set y to second item of s
- if x is equal to 638 and y is equal to 585 then
- tell application "FaceTime" to quit
- end if
- click button "Accept" of window 1
- end tell
- end try
- end tell
- end repeat
- delay 60
- end repeat
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.
