Hi,
is there a way to configure an automator workflow in OSX in order to right click on a file in Finder and then sent that file to a new email in IBM Notes?
If there is a command line that I could run in order to create a new email and add attachments, that will really help. That way I can use the “Open selected
with …” and then sent the files to Notes.
Subject: Of course there is - launch Notes and pass a mailto command line
For reference, below is a sample C shell script that you can use in Automator.
set m = “mailto:? mailto:?”
foreach f ($*)
set f = perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$f"
set m = “$m&attach=$f”
end
open /Applications/IBM\ Notes.app “$m”
To use it:
Launch Automator and create a new service, call it “Send to IBM Notes”;
Change the service to receive files or folders from any application;
Select Utilities and add “Run Shell Script”;
Change script to csh and paste above sample script;
Save the service. Now you should be able to send files to Notes from either context menu or services menu.