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.



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

wow thats strange there has to be some way to figure that out hmm nope cant find it it probally has to do with...
From: Real-Life Optical Illusions


You’re welcome.
From: iQuickTwitter – My Quicksilver + Twitter + iChat + Growl Hack


Thanks. I’ve been messing w/ this all day. Your instructions were...
From: iQuickTwitter – My Quicksilver + Twitter + iChat + Growl Hack


Gorgeous. I recommend the Workshop to anyone who wishes to learn how powerful...
From: Gustav Holst, The Planets Op. 32 I. MARS, the Bringer of War


Incredible!
From: Ralph van Raat Plays Rzewski’s Winnsboro Cotton Mill Blues


Here you go: Word Cloud
From: Shot Of Love


What the hell is a word cloud kemosabi, and I RTFR’s
From: Shot Of Love


Thanks!
From: Shot Of Love


You’re certainly welcome. And it’s been my pleasure!
From: Slow Train Coming


Thanks! Glad you’re getting something out of them. I know I am!
From: The Freewheelin’ Bob Dylan



members online

guests online

Join Today!

  • 7 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




facebook connect

Connect with Facebook



google friend connect



tags