Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Send attachments from Finder via Folder Actions Desktop
This hint allows you to drag files to a Finder folder and have them instantly emailed to a pre-configured address, simply by attaching a Folder Action to the folder. It's a great way to get files off your Desktop and backed up offsite. This very brief screencast shows the end result, not the steps, whereas this screencast shows all the steps.

To use this on your system, start by downloading the script (226KB download). Mount the disk image, then double-click the script to open it in the Script Editor. The sender and recipient are specified near the top of the script. Change the address in quotes after theSender to your email address. Change the address in quotes after recipAddress to the address you want to send attachments to. You can also set a common name and text for the email message body. If you want to change the subject, just change the text in quotes after the word subject.

Save the file. The proper place to save it is /Library -> Scripts -> Folder Action Scripts, but you can save it anywhere.

Now create a folder; you'll probably want it on your Desktop. Control-click the folder and click Configure Folder Actions. Use the plus sign button at bottom left to designate the folder you created. Use the plus sign at bottom right to designate the script you edited. Alternately, just click Attach a Folder Action after control-clicking the folder to attach your script. If you don't have the Attach a Folder Action menu, just Control-click any Finder folder and select Enable Folder Actions.

There is also a script (10KB download) that prompts for a subject before sending the attachment. This would be useful for archiving files in your Gmail account. Drag files to the folder, enter a meaningful subject in the pop-up, and you can always search Gmail to find the file later.

[robg adds: If you have multiple email accounts, you could create multiple versions of the script, and attach each to a different folder.]
    •    
  • Currently 3.14 / 5
  You rated: 5 / 5 (7 votes cast)
 
[17,376 views]  

Send attachments from Finder via Folder Actions | 4 comments | Create New Account
Click here to return to the 'Send attachments from Finder via Folder Actions' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Send attachments from Finder via Folder Actions
Authored by: macawm on Jan 17, '07 07:13:54PM

Why not just package this as an appilcation (droplet) by using an "on open with someFiles" handler? Unless you just want all of these files wildly thrown into an obscure folder.



[ Reply to This | # ]
Send attachments from Finder via Folder Actions
Authored by: robleach on Jan 18, '07 09:25:10AM

How do you make a screencast like that. I tried a quick google search and I came up with various other screencasts, but not much in the way of how to make them like this one.



[ Reply to This | # ]
Send attachments from Finder via Folder Actions
Authored by: macawm on Jan 18, '07 09:32:04AM

If you look at Murphy's site he states that he is not going to divulge his "trade secret" screencast. Sorry.



[ Reply to This | # ]
Send attachments from Finder via Folder Actions
Authored by: gymshoe on Apr 26, '08 04:16:32PM

Does this work in 10.5.2,
because I tried it and nothing happened.
I didn't get any error messages, or indication of any problem. But no emails were sent when I dropped new files into the folder...

(Although I am new to the mac, I think I followed all directions correctly.)

One thing that seems odd, is that even though I "enable" folder actions, sometimes if I go back and check the folder, it appears that the folder actions have been disabled. (I tested the process after verifying that folder actions were enabled.) What I find troublesome, is that there is no way to check folder action associations. You can set them, but can't see them...

Jim



[ Reply to This | # ]