I was just writing an AppleScript to look up words on the excellent NinjaWords and decided to post it in case someone else needs something similar. Since one snippet of AppleScript is not a very meaty post, I’ll throw in a couple extra.
Look up word on NinjaWords
Select a word and copy it to the clipboard. [...]
When Iceland went bust and started selling .is domains I grabbed martin.is. Of course I did. That’s the kind of guy I am. Even as I swiped that credit card (and by “swipe” I mean “typed in all my info into the appropriate boxes.”) I knew I had no idea what I was going to [...]
December 14, 2009 – 14:23
I noticed that my little app for migrating your data from Things to The Hit List still gets some hits. I haven’t really looked at it for ages, but I wasn’t terribly surprised to see that it’s broken under Snow Leopard.
I decided to fix it, expecting AppleScript projects in Xcode to work pretty much the [...]
Edit: I updated the app to work on Snow Leopard. Go here to get the app or source code.
So this all started out with me pining for the release of the fabled iPhone version of The Hit List. I started out just wanting to create a script that would let me use Things Touch to [...]
How’s that for a TitleCased title?
So I’ve been checking out Path Finder again. The thing with Path Finder is that it’s very nearly awesome, but there are a few things that bug the hell out of me. I may or may not come back to the most irritating shortcomings in a later post, but I’m [...]
By Martin
|
Also posted in Code, Downloads and Copy-Pasteables
|
Tagged Apple, AppleScript, Apps, Code for you, Debugging, Fixing shit that's broken, Geekery, HotKeys, Mac, One click solution, OSX, Potentially dangerous and harmful stuff
|
Scenario: You’re working with the Flex SDK and you’re tracing messages to the Terminal via flashlog.txt. The damn logfile has heaps of clutter in it from the last project you were working on, and you want to clean it up.
Solution: Save this snippet and assign it a Quicksilver hotkey:
try
do shell script [...]
Scenario: You are browsing in Safari (because it’s speedier than Firefox) and feel the urge to inspect the site in Firebug or the Web Dev Toolbar.
Solution: Save this script and activate it from QuickSilver.
12345678910tell application "Safari"
activate
set theUrl to the URL in document 1
end tell
tell application "Firefox"
activate
OpenURL theUrl
end tell
Result: You are happy. [...]
I use a 15″ MacBook Pro that I carry between work and home. At work I have a 30″ Cinema Display which means I can actually have half of the Flash IDE showing at once. Mostly it’s plug and play but every once in a while some app just doesn’t realize that I’ve unplugged the [...]
Just encountered bliss deep down in the Quicksilver Google Groups forum. I was trying to save myself a keystroke as usual. More specifically; I often open folders and files in TextMate, and the steps for doing so with Quicksilver are
1: Type the first few letters of the folder/file.
2: Tab over to the next pane and [...]
Summary: In which Martin has concocted a hack to make importing packages in TextMate a wee bit easier.
TextMate TextMate TextMate. I might as well make this a pure TextMate blog soon, but I can’t help it. My love for this app is overwhelming.
I spend a lot of my time writing ActionScript, and one thing I’ve [...]