Ruby Appscript – Sweet automation

Yesterday a coworker pointed me to ruby’s appscript. I have found it nothing short of amazing.

I love my Mac, and many of us like the idea of automating our software, until we try to use AppleScript to do it. To say that Applescript is professional developer unfriendly is an understatement. I like ruby but to make ruby and applescript talk requires sending strings to osascript in just the right way and getting the output from osascript back. Not a lot of fun at all.

Enter appscript. Appscript is a ruby library that interfaces with applescript seamlessly.

Continue reading “Ruby Appscript – Sweet automation”

Ruby, Folder actions and full automation

I routinely scan my documents as PDFs so I can keep them in a virtual filing cabinet (you know, the whole “paperless office” thing). I use my HP all-in-one software running on a Windows VM inside a Mac (sorry, but the Mac scanning software on HP is complete garbage in my opinion).

What bothered me about this was that all the files scanned always end up named “scan12345.pdf”. Because of the way I file, I like having my things as “year/company/year-monty-date.pdf” instead.

Continue reading “Ruby, Folder actions and full automation”