Posts Tagged “applescript”

  • ExtraInfo+ for TaskPaper, now with Wiki Links

    I published my version of Pedro Lobo's Extra Info script for TaskPaper a couple of years ago. ExtraInfo+ is a script that reads tags such as @note` and `@map in my TaskPaper tasks, and the tag value creates a link to an external note, mind map, outline, or whatever I need in order to expand on the topic. I trigger it with FastScripts and my brainstorming and extra details for the currently-selected TaskPaper item open instantly.…

  • Quick Tip: Automating your Mac's wifi power

    This is a quick one, and many of you probably know it, but you can quickly toggle wifi on your Mac with the networksetup command. To turn your wifi on:…

  • Using Growl for long-running script status

    My Jekyll build takes a while, and when I'm at my machine I like to know at a glance if a build is running. I've gone to great lengths with notifyutil and GeekTool to put status lights on my desktop. I do the same for multiple long-running tasks. I realized the other day, though, that Growl could do this very easily, and could be automated as part of a script or Rake task.…

  • Scripting TaskPaper, mind maps, outliners and other fun

    I did some hacking on the excellent "Extra Info" script from Pedro Lobo. I wouldn't say I greatly improved it, but I did make a fine mess of the code. My goal was achieved, though: special tags create new files from templates with things like subject, source link, date, etc. all ready to go. Trigger it with FastScripts and you can add extended notes to any task using MindNode, Mindjet MindManager, OmniOutliner, iThoughtsX and nvALT.…

  • SkypeCall extension for PopClip

    I recently added a PopClip extension for dialing Skype to my collection. It scans selected text for a 7 or 10-digit phone number, offering a Skype button in the PopClip popup if it finds one. When activated, it dials the first match in the selected text.…

  • Web excursions: October 6, 2012
  • Quickly restarting apps with LaunchBar (and friends)

    I've been using this little trick frequently for a while now. I doubt "normal" people ever need to frequently restart apps, but when I start working on keybindings and other things that require fresh starts to take effect, it's nice to be able to do so with a couple of keystrokes.…

  • Desktop cleanup scripts for screencasting

    I don't screencast a lot, but I do it enough to have a set pattern for preparing to record. I automated the process a few months ago and figured I'd share it.…

  • Desktop countdown timer with GeekTool and AppleScript

    I just realized today, quite belatedly, that you can control GeekTool on your Mac with AppleScript. I just wanted to play around with it a bit, so I threw together a countdown timer. This could be done much more elegantly, I'm sure I just wanted to see what I could pull off quickly.…

  • Log TaskPaper archives to Day One

    I wrote a while back about some Day One geekery, and shared the git wrapper I set up for bagging some of my larger commit messages to Day One entries automatically. Then Rob went and asked me if I could do something similar with TaskPaper, logging archived tasks to Day One on the fly. Had to try it.…

  • Connecting nvALT and Address Book

    Here's a quick, simple AppleScript to help you hook Notational Velocity/nvALT into Address Book. I sometimes want to attach a note or list of links to an entry in my address book, but I don't like using the notes field. I tend to keep all of my notes in nvALT, and I prefer not to scatter them too far. All I needed was a way to quickly create and link an nvALT note to each address...…

  • Automating random giveaways, v1.0

    To pick the winners for the Yoink and Listary giveaways, I wrote an AppleScript to make the process completely random and as painless as possible for me. I still have plans for making a similar WordPress plugin, but that's still in the planning stages. For now, this is working quite well and I thought I'd share it. I doubt many people have the exact same setup and requirements, but the basic structure might be helpful for other projects.…

  • Duplicating Safari browsing sessions between Macs

    Hey, you're just in time for another "stupid trick of the day" script. I have good reason for this one, and it only took me about 8 minutes to set up. It will take me longer to write about it than it's probably worth, but it might be of use to anyone in a similar situation. Here's the scenario:…

  • LaunchBar actions for url encoding and decoding

    I usually get up an hour or two before I start my work day and "play." Playtime usually results in half-finished scripts and deleted git branches, but sometimes I do something simple and useful (to me). Wednesday was Bash fun, and here's this morning's project: LaunchBar actions to url encode and decode strings. If you run them outside of LaunchBar, they'll encode/decode your clipboard, replacing what's in your clipboard with the result, so they have multiple applications. These have probably…

  • Quick Tip: Multi-browser hotkey with Choosy

    Riffing on my AppleScript to toggle an app between foreground and hidden, and inspired by Daniel Jalkut's script to toggle multiple Twitter apps, I wanted a way to do something similar with web browsers. I already have a great tool for intelligently detecting which browser I want to use: Choosy.…

  • Quick tip: AppleScript application toggle

    I use a lesser-known (and very old) program called Spark for defining most of the keyboard shortcuts on my system. I have a shortcut for every one of my most regularly-used applications, plus shortcuts for various AppleScripts, shell scripts, system functions, etc. I know there are more recent applications which do the same thing, but I've had everything set up in Spark for ages and it still works a treat. Seriously, if you want an application launcher, it's worth checking out (and free).…

  • Answer Skype with a hotkey

    If you use Skype and happen to be as clumsy as I am, you may have run into this at some point: you see a call come in, you fumble for your headset, you go back to your mouse, find the cursor on your big screen and then try to click the "Answer" button on the call window... only to miss the call because you took too long. I solved this for myself a while back, and thought I'd share my solution.…

  • HomeControl: Local Mac control for iPhone

    I tried out a tip recently for controlling a Mac via Mobile Safari on your iPhone, and it got me thinking, which is often dangerous. I put together this little web app today as a proof of concept (that got a little out of hand). It basically provides a full interface for volume control, application starting and stopping and many iTunes functions, including volume and EQ. All features provide interface feedback and update you with current info from your Mac.…

  • Clear sticky Growl notifications with a keyboard shortcut

    I ran into a question yesterday that didn't seem to have an obvious answer: how can I clear a stack of sticky Growl notifications using only the keyboard. It's not been any secret that I'm a fan of keyboard shortcuts, as indicated by the extensive keyboard support I've added to Instapaper Beyond. So I decided to make an interim solution until a specific feature for this is added, either to the Growl preferences or via AppleScript support.…

  • Taskpaper Date Scripts

    4 quick scripts for TaskPaper users tonight, specifically for handling dates quickly. If you've used my other TaskPaper scripts, you know you can use natural language to set start and due dates, and then convert them with the Expand Dates script. These scripts allow you to assign shortcut keys to increment and decrement start and due dates.…

  • EverSave revisited, now with session restore!

    Safari 5 has brought several solutions for managing lists of open tabs, from the simple (like my TabLinks extension) to full session-management capabilities (see the beautiful Sessions extension). However, I've found I still like using my EverSave script in many situations, primarily because it allows me to annotate, tag and sync my important sessions for later retrieval. One thing's been bugging me, though, and that's the inability to do a mass restore on a tab list (i.e. open them all at once…

  • Fun with MarsEdit, part I

    I'll be the first to admit that I get a little obsessed with projects that aren't really going to improve my life all that much. Those projects can be fun to blog about, though, so I present you my brief obsession for this Sunday afternoon.…

  • Delicious bookmarks and OpenMeta tags

    There are quite a few things I love when it comes to my Mac. I love Spotlight. I love OpenMeta tagging. I love Evernote. I love being able to collect information from any source, and find anything I've saved, anywhere, no matter what program I used to create it. I especially love programs that allow me to accomplish that.…

  • A few scripts for TaskPaper users

    I've been using Things for task management lately, mostly because it has a decent iPad app. I really do love my iPad... however, I often use TaskPaper from Hog Bay Software for weekend to-do lists and for tracking bugs and fixes on my various freetime projects. I sometimes edit my TaskPaper files (which are just plain text) in TextMate and use some Ruby scripts adapted from the GTDAlt bundle to do some fun things, but I really like the interface you get when you actually use TaskPaper. So I…

  • Save Safari tabs to Instapaper

    I posted a way to save your Safari tabs to Evernote, which I've found is generally a great way to save bookmarks. It syncs automatically to your other computers and your iPhone, and it's fast and easy. If you really want to highlight a few tabs to make sure you get back to them, you might consider this script, though. Once you've saved your entire Safari browsing session for later, close everything except for those special urls, run the code below as a script, and your open tabs will be saved…

  • Saving Safari browsing sessions to Evernote

    I primarily use Safari for web browsing, mostly because it's smoother and faster than Firefox, and the Web Inspector is just as useful as Firebug. As time passes, I end up with a lot of web pages open, and I like to clear out my browser tabs on a regular basis. Safari doesn't really have a long-term session-saving option, so I save lists of open tabs to various applications. I used to use SafariStand to do this, but it got too buggy and slow for me. I use VoodooPad for it, but I like the…