applescript

Welp, I did my first useful thing with applescript today. I’m marking my calendar as a big day. It was "Connect to a remote server and specify a remote folder location", in addition to a script I located today to save email attachments from mail.app. Mail comes in with attachments, I have the script connect to the remote box, and save the files to a specific location. From there, I have other processes that tear the file apart, load it into a database, and do all kinds of other painfully band-aid-like-things that I probably wouldn’t need to do if we had any kind of common architecture, or… open systems. :P

in case you’re curious:


mount volume "afp://my.server.com/Users" as user name "user" with password "pass"


And assume that everything’s case sensitive… :P

Technorati Tags:

Share this:
Share this page via Email Share this page via Stumble Upon Share this page via Digg this Share this page via Facebook Share this page via Twitter
Bookmark and Share