Here’s a simple AppleScript which can be used with a TextExpander snippet, or as a Service via the macOS Automator app, that when invoked will insert the title and URL of the frontmost Safari tab, formatted as a Markdown link. Continue reading “AppleScript to Insert Markdown Link for Current Safari Tab via TextExpander”
Handy info for running Photoshop actions via Applescript on your Mac. I used this so I can send an image to Photoshop via the Acquire iPhone app (my “scanner”), and then have Drafts save a text file in Dropbox that Hazel picks up and tells Photoshop to run my default scanned sketch Photoshop Action on the artwork image.
An interesting method to use Mac OS X Services to Import Files into Evernote by Nine Boxes. Of particular note here is the AppleScript used in the post, which could easily be hijacked to use in conjunction with Hazel to automate the addiction by dropping files into a watched folder.
Thanks to some helpful folks over at Stack Exchange’s Apple section, I now have a handy Applescript to add the sender of an email to a specific group in the Contacts app. Continue reading “Applescript: Add Sender of Email to a Contacts Group”
TextExpander has always on the top of my must-have Mac software list. The basic functionality is simple: you type certain characters, and TextExpander replaces those characters with something else. As you can see in the screenshot above, a simple use for this is to fix commonly mistyped words. But that’s barely scratching the surface of what TextExpander offers. Continue reading “TextExpander: Typing Shortcut Utility”
Hazel is hands-down one of my top Mac productivity software tools. And it’s one of those tools that tough to describe exactly why you would want it, because what it does is up to the user. In its most simplest form, Hazel is a utility that watches folders you tell it to watch, and does things to files that meet the criteria you set up. A very small set of actions it can perform are things like setting the color label of the file, renaming a file, moving files into subfolders, moving files to other folders (including the Trash), run AppleScripts and Automator actions, import files to iPhoto or iTunes, open files, set Spotlight comments, and lots more.
If you’ve ever used Smart Playlists in iTunes, then you’ll understand how Hazel works. But Hazel goes a step further and lets you perform actions on the files that meet the criteria in the “Smart Playlists”. If you are familiar with Folder Actions in OS X, Hazel is like Folder Actions on steroids. The best way to explain Hazel is to give you a few of my usage examples, but keep in mind that there are not “built-in”, nor are you limited to these actions. They are just some of the many things I use Hazel to automate on my Mac.
The method uses AppleScript and the code is super simple:
tell application "PopClip" to appear
The documentation suggests using a few third-party “launcher” utility apps, but I’ve discovered a way to do so with just OS X, using Automator and OS X Services. Here’s how I did it. Continue reading “Invoke PopClip Via Keyboard Using AppleScript, Automator and OS X Services”
I was recently adding some new Mail Rules to Apple Mail, and noticed all my rules that triggered an AppleScript were no longer associated with the correct scripts. Turns out the new version of Mail in 10.8 has a special folder specifically for scripts used in Apple Mail.