latest waveforms



A Quicksilver Action That Creates A New TextMate Blog Post

Text MateI’ve been AppleScripting my @blogging context workflow. At first, I created a simple script that launches TextMate, NetNewsWire, and Safari along with some URLs to help me get started. It basically launches my workspace for my @blogging context. But I wanted something a little more flexible that would accept some initial user input.

Now what I do is invoke Quicksilver, enter text mode and type my blog title, tab over to the action pane, type “Tex..” (for TextMate), and execute. TextMate creates a new file with the blog HTML template in my ‘Writing’ directory on my desktop and it automatically fills the blog header with the Title and the Excerpt tags. To make full use of the Excerpt tag, you’ll need to hack your blog xmlrpc.php and TextMate blogging bundle. Buy me a cup of coffee and I might teach you how. If you prefer to use Markdown, all you have to do is change the extension in the script from “.blog.html” to “.blog.markdown”.

Here’s the Quicksilver TextMate action script: Click here to open the script in Script Editor.

Here’s my entire @blogging context script: Click here to open the script in Script Editor.

Here’s my bare bones @blogging context for when I don’t know what to write yet. Save this script as an application and put it in your Applications folder, on your dock, or anywhere that Quicksilver can get to it: Click here to open the script in Script Editor.

Update: After a night of dreaming AppleScript, I came up with the be all and end all of my @blogging context. Like my full @blogging context script above, this script creates a blog post in TextMate and opens a couple of apps and a few URLs but with one major difference. Now you can type a pipe “|” after your blog title in Quicksilver and add keywords. These keywords will query Google and Technorati automatically. In Quicksilver, the text you would type would look something like this, “This Is My Post Title|intitle:keyword1 keyword2 -keyword3″. As you can see, you can add modifiers and keywords are space separated. And you don’t have to type the pipe or keywords. You’ll get an action similar to my previous @blogging context script.
Click here to open the script in Script Editor.

Time is nature’s way of making sure that everything doesn’t happen at once.

Space is nature’s way of making sure that everything doesn’t happen to you.

If you want to be notified the next time I post something, sign up for email alerts or subscribe to my RSS feed. Thanks for visiting!



Rating: 1 Star2 Stars3 Stars4 Stars5 Stars
Loading ... Loading ...


Leave a Comment


Living Room Rules: Please respect this space as you would respect the home of a friend who invites you over for coffee.



recent comments

Thanks for the comment, Kenneth. I’ll do my best. Wish I know which astronomy guy you...
From: In An Anxious Funk


Hey, I just happened upon your site and via the astronomy guy and I really appreciate your...
From: In An Anxious Funk


Thanks guys.
From: I Think I Crashed The Economy


Great song! Listening to it for a couple of hours now… Thanks for sharing.
From: I Think I Crashed The Economy


I listening to this while I drink, take pills and thank you for this track....
From: I Think I Crashed The Economy


Just read a great article about Outliers: Geek Pop Star
From: 1,000-Hour/5,000-Hour Model For Songwriting Success


I do what I can.
From: Time Saving Logic Studio Template Tips


Great post. I saw you do this before and didn’t realize...
From: How To Write And Analyze Lyrics Using TextMate


Great tutorial, It’s a sweet way to be automatically organized. I...
From: Time Saving Logic Studio Template Tips


I hit 300 a couple times but I’ve moved on. I usually stick to a workout for about 3...
From: My First Kettlebell



members online

guests online

Join Today!

  • 4 Guests

Subscribe

Get my music, audio/video, and articles delivered to you by RSS, iTunes, or email:


Your privacy is guaranteed.

More subscribe options...

about graham

I'm a songwriter and recording artist who sings, plays keyboards, and explores the vast world of sound hoping to find some magical moments along the way. I'm also a Mac geek.

TwitterCounter for @grahamenglish




tags