View Full Version : Applescript help automatic clicking in email

May 24, 2009, 05:32 AM
Is it possible to tell applescript to automaticly click in an email? I get many emails where I am supposed to click on the inline attachement to go to the webpage. After clicking it, I throw away the emails.

Is it possible to write an apple script that will do that for me?

tell application "Mail"
set theMessages to the selection
repeat with theMessage in theMessages


end tell

delete theMessages

end repeat
end tell

Thanks for your help. Much appreciated!