Advertisement
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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement