Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Applescript needed to move Mail attachment to folder

Hi,


I am in need of a script to add to a Mail Rule that will take an attached image (JPEG) and place it in a folder with the name indicated in the body "message" section of the email, and also renaming that file.


Example:



Rule will use "Subject" - "contains" - "Xfer Image"


The email will contain something like this in the body "message" section of the email.


itemName - Rose_Flower_001.

itemNumber - Fl-652



I would like the mailed JPEG image Attachment copied over to a folder called (itemName) which would be place within the following path:


(Folder with the itemName) ( file renamed to itemNumber)


"/Volumes/Ron/Dropbox/Images/Rose_Flower_001/Fl-621.jpg


Then after it's done this I would like to have the that email moved from the inbox to a sub-folder called "Image Folder Created"


Any and all help or suggestions would be greatly appriciated.



Hopefully this can be done....

I really need this for my start-up business and it would save me a lot of time making folders and managing emails with attachments.



Thanks in advance....


Ron

iMac, Mac OS X (10.7.3)

Posted on Apr 22, 2013 5:52 PM

Reply
31 replies

Applescript needed to move Mail attachment to folder

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.