try
tell application "SecuritySpy"
--active mode camera number 0
capture image camera number 0 as "/Users/username/Documents/Master Bedroom/image.jpg" with overwrite
end tell
tell application "make MMS" --launch automator action
launch
end tell
delay 2
activate application "Mail" --send email
tell application "System Events"a
tell process "Mail"
-- GUI Scripting statements:
click button "Send" of group 1 of group 1 of tool bar 1 of window "MMS"
end tell
end tell
end try
tell application "System Events"a
tell process "Mail"
-- GUI Scripting statements:
click button "Send" of group 1 of group 1 of tool bar 1 of window "MMS"
-- Run Automator Application to send Phlink Call Log to Jim at Work
run application "Send Call Log to Jim at Work"
Users browsing this forum: No registered users and 12 guests