Automator workflow

Posted on 2009-02-10
Last Modified: 2012-05-06
how can I use Hazel (a program that moves files to other folders on your mac depending on rules you set up) to FTP or Mail Pictures to my family? I know how to move files on my computer but not open programs and email or ftp them.
Question by:carloslaso
    LVL 39

    Accepted Solution

    If you have Transmit & Automator .. then you can do this .. but tread with care

    You'll need 3 folders.

    Source .. this is the folder Hazel will monitor and apply rules to ..
    Emails .. this folders contents will be attached to an email
    FTP .. this folders contents will be FTP'd to the web

    You can create an Automator Task for each action
    1. FTP selected files to a desired Location (using the Transmit Automator plug-ins)
    2. Attach selected files to an Email

    Creating the Automator scripts takes a little experimentation .. for example the Email one needs 4 steps
    Get Specified Finder items (where you set the Emails folder)
    Get Folder Contents
    New Mail Message
    Add Attachments to Front Message

    This will create a new email with the contents of the Email folder attached.

    Now you can save the Workflow (as a Plugin and associate it as a Folder Action on the Email Folder you created earlier.

    Whenever hazel moves files to this folder, the Workflow will detect the changes and run the action and create a new email with attachments.

    NOTE: You may want to add a extra step or two to the workflow to then DELETE the contents of the Email folder as it will grow over time.


    Author Closing Comment

    thanks for the great response

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Suggested Solutions

    Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
    As a Mac user and former AppleCare AHA & Senior Advisor, I'm constantly bombarded with questions about Macs and if they need Antivirus. This short article is my response to those questions.
    Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
    Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now