TUAW Post > AppleScripting Notification Center > Scheduling Do Not Disturb

nc_scriptMountain Lion's Notification Center is great for keeping you in the loop, but it can be a huge distraction when you need to get stuff done. Sometimes, a little peace and quiet is all you need to stay productive.

As you may know, iOS 6 includes a handy Do Not Disturb feature, which can be turned on to disable notifications. It can even be set to automatically enable/disable itself at scheduled intervals. Mountain Lion also lets you disable Notification Center. Just open Notification Center and drag down to access a Show Alerts and Banners toggle switch. Note that this is a temporary setting, and disabled notifications automatically re-enable at midnight.

Unlike iOS 6, though, Mountain Lion doesn't give you an option for enabling/disabling notifications on a schedule. At least, it doesn't provide a built-in option for this. With a little customized help from AppleScript, Automator, and the Calendar app, it is possible.

In this post, you'll create two Calendar Alarm Automator workflows, which can be configured to run at scheduled times to enable or disable Notification Center alerts and banners.

[Read more on TUAW...]

Peachpit Article > Building a Simple Image Processor with AppleScriptObjC (Cocoa-AppleScript)

My earlier article "Building a Basic AppleScriptObjC (Cocoa-AppleScript) Application with Xcode" explained how AppleScriptObjC and Xcode can be used to build robust interface-based applications for the Mac. While that article demonstrated this principle through the creation of a very simple Hello World application, the techniques provided can serve as the basis for building more advanced applications, for real-world scenarios. In this article, we'll build on those techniques to create a functional application that can perform some basic image manipulations, including flipping, rotating, and scaling a chosen image.

[Read more on the Peachpit.com...]

TUAW Post > AppleScripting Evernote > Embedded Image Scaler

I'm a big fan of Evernote. I use it for archiving ideas, writing articles and blog posts, and lots more. I often insert screenshots and other large images into my notes. Screenshots can be pretty big, and I usually don't want giant images filling up my notes. I keep wishing Evernote offered a way to resize embedded images, so I could insert thumbnails. At the moment, it doesn't. So, I decided to write my own app to resize embedded images. Here's how you can do the same...

[Read more on TUAW...]

TUAW Post > AppleScripting OmniFocus > Send Due Tasks to iTunes

ofocus_scriptOmniFocus is a great tool for keeping us organized. But, let's face it. We're busy people. That's why we need a task management app in the first place. How can you take your productivity to the next level? How about having your daily OmniFocus tasks read to you as you drive to work? With a little help from AppleScript and Automator, you can make that happen.

[Read more on TUAW...]

TUAW Post > AppleScripting OmniFocus > Swap Task Names and Notes

ofocus_scriptI use OmniFocus on a daily basis to keep track of important tasks. On a few occasions, I've entered tasks and assigned notes to them, only to decide later that I'd rather use the note as the task name, and the task name as the note. Rather than manually cycling through my tasks and swapping the notes, I wrote an AppleScript to do it. Now, anytime I want to perform this task, I can simply run the script. Here's how I did it...

[Read more on TUAW...]

TUAW Post > Preparing High-Res Icon Files with Automator

automatorThis week's post is for all those Mac app developers out there. If you're not an app developer yet, it's a New Year, and I'm sure becoming an app developer is at at the top of your resolution list. In any case, if you plan to develop apps, then you need to prepare icons for those apps.

[Read more on TUAW...]

TUAW Post > AppleScript Desktop Icon Race

2012-12-23-Waldie-03Scripty Claus' gift to you this Holiday Season is a fun little AppleScript that lines up your Desktop icons and races them across the screen until one of them reaches the finish line.

Here's how to set it up...

[Read more on TUAW...]

TUAW Post > Where Automator Actions and Workflows Live

Automator's great for streamlining some of the repetitive things you do each day on your Mac. With Automator, you can create your own custom plugins for the Services menu, Folder Action workflows that run when files are placed into a folder, add-ons for the print window's PDF menu, and more. In most cases, when you save a workflow, Automator puts it where it needs to go automatically. But, where do your workflows actually live? If you want to remove or edit one, you'll need to know. In this post, we'll take a look at the various places workflows are found on your Mac.

[Read more on TUAW...]

Send Keynote Presenter Notes to Evernote with AppleScript

We've all been there before. You've prepared a Keynote presentation on the Internet phenomenon of cat videos for your local Mac user group. You've finished editing your slides. You've added presenter notes. Next, you want to extract the notes from your slides and bring them into Evernote so you can look them over and maybe use them as the basis for your forthcoming newsletter article. You open your presentation in Keynote and select File > Export. Then, it happens. You remember that Keynote doesn't have a feature for exporting presenter notes. Sure, you could copy them one by one into Evernote, but that will take a while. Fortunately, you know this can be done quickly and easily with AppleScript. Here's how you'll do it...

[Read more on TUAW...]

TUAW Post > Preparing Blog Images with Automator

Automator's the perfect tool for streamlining some of the repetitive things you do on a daily basis. One thing it's great at is doing basic manipulation to lots of image files. Need to resize a bunch of images or convert them from one format to another? No problem, Automator is ready to help. In this post, you'll build an Automator workflow that prepares images for your blog by renaming them sequentially and then scaling them down in size. Don't have a blog? Well, this workflow could also be used for preparing images for insertion into a Word document, or to send in an email. Feel free to adjust to your specific needs.

[Read more on TUAW...]