TUAW Post > Extract App Resource Icons with AppleScript

scriptWhether I'm preparing for a demo or writing an article, blog post, book, or technical documentation, I often find myself performing the same set of repetitive steps. I need to navigate into an app's packaged resources folder, find one or more icon files, occasionally convert them to PNG and scale them, and add them to my document, Keynote presentation, etc. Fortunately, this doesn't need to be a manual process each time, thanks to the following AppleScript.

[Read more on TUAW...]

TUAW Post > AppleScripting OmniFocus > Send Completed Task Report to Evernote 2

ofocus_scriptIn February, I provided instructions for using AppleScript to send completed task reports from OmniFocus to Evernote. The script was quite well received by readers, and I received numerous requests for enhancements. This post provides an updated version of the script, which includes a number of additions. The script now supports full project paths and additional task details including the context, estimated time, start date, modification date, completion date, and notes. This additional content is optional, and you can adjust the script to not display it if you wish.

[Read more on TUAW...]

TUAW Post > AppleScripting Email > Developing a Quoted Reply Service

outlook_autoA reader recently wrote to me with a problem. Apparently, Microsoft Outlook no longer contains the ability to create quote level chunks of text when replying to messages in plain text format. Why this functionality was removed, I can't say. But, with a little help from AppleScript and Automator, I was able to help the reader to add this functionality back via a Service. Better yet, the Service can be set up to work in any email client, or even systemwide in any app. Here's how you can do it...

[Read more on TUAW...]

Macworld > Ask the Script Doctor: Deduping Contacts and more

scriptdoctorIn previous columns, I answered questions on scripting Mail and working with text. This time, I’m answering some questions I’ve received on a variety of topics, including:

  • Showing the Library folder in OS X
  • Deduping Contacts
  • Getting started with AppleScript

[Read more at Macworld.com, subscribe to the print edition, or get Macworld on your iPad...]

Do you have a scripting problem or a question for the Script Doctor? Send it to scriptdoctor@macworld.com.

TUAW Post > AppleScripting Microsoft Outlook > Announce New Emails By Voice

outlook_scriptIn my last post, I demonstrated how to write an AppleScript that verbally announces when new emails arrive in Mail. Some readers asked whether the same thing could be accomplished with Microsoft Outlook. It certainly can.

[Read more on TUAW...]

TUAW Post > AppleScripting Mail > Announce New Emails By Voice

mail_scriptYou're in the kitchen cooking dinner, or sitting down watching TV, or exercising. Ding! You have a new email. Quickly, run to your Mac to see who it's from. Meh, spam. Ding! Meh, a message from your boss. Ding! Meh. Sure would be nice if Mail could announce who's emailing you. That way, you could just listen for ones you care about. Well, with the help of AppleScript and Mail rules, you can set this up on your own. Think of it as an audible caller ID, but for email.

[Read more on TUAW...]

TUAW Post > Triggering AppleScripts from Calendar Alerts in Mountain Lion

calendar_scriptAppleScript's are great tools for increasing your daily productivity. They're even better when they can be set to run unattended, at night, on weekends, or during downtime.  In Lion, iCal included a handy option for attaching a script to a calendar event.  Just create an event, add a Run Script alarm, point it to the desired script and you're good to go.  Things changed in Mountain Lion, though.  Presumably for security reasons, the Run Script alarm option was removed from the Calendar app.  Despite its removal, however, there are still some ways you can trigger scripts from Calendar events.

[Read more on TUAW...]

Macworld Article > 100 More Things Every Mac User Should Know > Five Useful Automator Workflows

The April 2013 issue of Macworld magazine includes a special feature - 100 More Things Every Mac User Should Know: Essential Knowledge for Anyone Who Wants to be Savvy.  I wrote the Automator section.  It includes the following 5 useful workflows:

  • Wrap selected text in quotes
  • Get a word count of selected text
  • Create a subfolder in the Finder
  • Add dates to files in the Finder
  • Toggle hidden Finder files on/off

Hope you find it useful.  This issue is available in print and in the iBookstore.


TUAW Post > More Tips for Troubleshooting Automator Workflows

troubleshoot_automatorIn my last post, I shared some useful tips for troubleshooting Automator workflow problems. I didn't cover everything, though. There are lots of other ways you can troubleshoot your workflow. Here are some more tips to help.

[Read more on TUAW...]

TUAW Post > Tips for Troubleshooting Automator Workflows

troubleshoot_automatorAutomator's great for streamlining time consuming and repetitive tasks on your Mac. It's easy. Just launch it, find a few actions, and string them together to form a workflow. Then, run your workflow anytime you want to perform that series of tasks again.

What happens if your workflow doesn't run as you expect, though? Finding and solving problems in Automator is often easier said than done. Suddenly, the simple tool that's supposed to make your life easier has become a real pain in the neck. This week's post covers some things you can do to troubleshoot a finicky Automator workflow, track down the problem, and hopefully solve it, so you can get back to work.

[Read more on TUAW...]