I need some help with Automator.

Discussion in 'macOS' started by EricJD, Feb 13, 2009.

  1. EricJD macrumors regular

    Joined:
    Aug 15, 2007
    #1
    I've never used Automator before and it's pretty confusing. I want to be able to send an email message with a specific keyword in the subject and only a URL in the body.

    Here's where Automator needs to come in:

    1. When an email with the subject keyword is received, have Safari open the URL contained in the body of the message.
    2. Copy all of the text from the opened URL.
    3. Compose a new email message and paste in the text copied from the web page, and email it back to the original sender.
    4. Close Safari.

    Is something like that possible?
     
  2. motulist macrumors 68040

    motulist

    Joined:
    Dec 2, 2003
    #2
    Simple, just set up a rule in mail.app to look for that keyword and then set it to copy the message and then run the automator script. For the automator script just add a launch safari command, then click record and it'll automatically turn all your moves into an automator script. So hit record, do what you want to be done by the script, then hit stop. Now make this the script that the mail.app rule launches and you're done. Here's an important tip, when you record your automator moves, do everything using key commands and no mouse moves. Automator is able to record mouse moves too, but that gets ruined if any of the on screen controls later aren't where they were when you made the script.
     

Share This Page