Sunday, November 16, 2008

Apple and Scripting

Today I decided to poke my nose into a field I don't normally venture into: Coding. Yes, Applescripts are an incredibly basic form of coding. This was a leap for me. There's an impressive amount of power available for any Mac user in the form of scripts. They're built into the OS, and they make mundane tasks a breeze. 

Find yourself emailing files to the same person a lot, and get frustrated with the lost time clicking and writing that email? Why not write a script that shoots the file to a pre-determined address when it's dropped into a folder in Finder?

Find yourself forgetting to bring that spreadheet to class at least once a week? Use Mail and Applescripts to set yourself up a little safety net: Create a rule in Mail to run a script every time you send an email to yourself with the words FileGrab in the title, and the file path in the body. Have the script send you the file that you specified in the body. This works wonderfully well if you took advantage of Apple's back to school promo, and have yourself a shiny little iPod touch.

This isn't a how to, this isn't a technical paper either. Instead, it's a prompt. Start poking Applescripts. Look up tutorials. It's quite impressive what can be done.

1 comment:

Prof. Walter Hutchens said...

Hey, Craig. FYI, came across this which you might find interesting (a kind of flipping around of Dragon Naturally Speaking merged with some scripting?).

Cheers,
Walter Hutchens

http://alexking.org/projects/read-it-to-me