latest waveforms



How To Use TextMate As NetNewsWire’s External Blog Editor

I used to be an Ecto user but I have since seen the light and call TextMate my be-all-end-all blogging tool. The only thing I missed was being able to use Ecto as my external blog editor while reading feeds in NetNewsWire. Not anymore!

Thanks to the Circle Six Blog for the superior coding kung fu.

In TextMate, show the bundle editor and create two new commands:

Name: Determine Script Location
Save: Nothing
Command(s):

#!/usr/bin/env ruby -rjcode -Ku
%x{ osascript "#{ENV['TM_BUNDLE_SUPPORT']}/lib/blogselection.scpt" }

Input: None
Output: Insert as Text
Activation: Key Equivalent: ⌃⌥⌘5
Scope Selector: text.html

Name: Insert Quote from NetNewsWire
Save: Nothing
Command(s):

#!/usr/bin/env ruby -rjcode -Ku
print %{Place the file "blogselection.scpt" in #{ENV['TM_BUNDLE_SUPPORT']}/lib/ }

Input: None
Output: Show as HTML
Activation: Key Equivalent: ⌃⌥⌘5
Scope Selector: text.html

Now create and save the following Applescript. Click here to open the script in Script Editor.

Execute the first command to determine the script location. That’s all for the setup.

Now, whenever you find something in NetNewsWire that you want to quote, tab over to TextMate, open a new blog post (HTML), and run the command (⌃⌥⌘5).



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!

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