Applescript help automatic clicking in email

Discussion in 'Mac Programming' started by IloJeM, May 24, 2009.

  1. macrumors newbie

    Joined:
    May 24, 2009
    #1
    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!
     

Share This Page