Helium Foot Software

Making your Mac more agile, more powerful and more fun

September 2010
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
About
Helium Foot Software develops MercuryMover: Don't let the mouse slow you down! Move and resize windows on your Mac with the keyboard.
Recent Entries
GroceryList and Beyond(04/18 10:26)
Go, Go, GroceryList(01/28 21:53)
Indie+Relief(01/19 22:13)
One Fifth of a Five Fingered Discount(11/06 10:18)
On the Job, On the Train(10/30 12:09)
Hey Mac(10/21 10:38)
Dog Fed(10/15 09:53)
20 Questions(10/08 09:59)
A Gallon of Milk and an Onion(10/06 11:34)
The iPhone Doesn't Need Me(09/24 11:46)
Recent Comments
Re: The iPhone Doesn't Need Me(Twitter Power Tool : 07/25 18:19)
Re: Why I am a Success and Why I will never be a Success(Cathy Mason : 04/02 04:11)
Re: Why I am a Success and Why I will never be a Success(free classified advertising : 03/23 01:22)
Re: Why I am a Success and Why I will never be a Success(Website SEO : 02/04 04:47)
Re: defaultapp(rapid4me : 12/25 02:43)
Re: A Gallon of Milk and an Onion(kalperin : 10/08 10:03)
Re: A Gallon of Milk and an Onion(Karen Hughes : 10/06 13:39)
Re: A Gallon of Milk and an Onion(Your wife : 10/06 13:29)
Re: Why I am a Success and Why I will never be a Success(kalperin : 09/28 23:05)
Re: Why I am a Success and Why I will never be a Success(Chris : 09/28 14:13)
Recent Trackbacks
There are no trackbacks.
Categories
Helium Foot (28 items)
Software (5 items)
MercuryMover (37 items)
Blog (3 items)
MacSanta (3 items)
Marketing (12 items)
Philanthropy (2 items)
Podcasts (3 items)
Highbrow (3 items)
iPhone (1 items)
GroceryList (4 items)
Archives
Blogroll

Syndicate this site (XML)

RSS/RDF 0.91

05 October
2008

defaultapp

Where Keith finds the default app

In this tweet yesterday, John Gruber of Daring Fireball fame asked:

Anyone have a shell or AppleScript command that tells you what the current default web browser is?
I had written code to do this for my upcoming app, so i spent a few minutes packaging it up as a command line tool. I present to you defaultapp. Download it here. The zip file contains the now public domain source (not too pretty) and the "defaultapp" executable. To use it, give it a -n, -b, -p or -a and a document extension. The options (in order) yield the app's name, bundle id, path or all three. Thus:
$ ./defaultapp -n html
Safari.app
$ ./defaultapp -b html
com.apple.Safari
$ ./defaultapp -p html
/Applications/Safari.app
$ ./defaultapp -a html
Safari.app
/Applications/Safari.app
com.apple.Safari
The tool uses LaunchServices to determine url of default app for the given document extension and then LaunchServices again to find the application name. The bundle id is determined via the carbon CFBundleCopyInfoDictionaryInDirectory call. You can probably do this with Cocoa, but i found the carbon call to be more reliable. YMMV.

Posted by kalperin at 16:07 | Comments (7)
12 October
2008

Hacking the Press

My good friend Kevin Hoctor of No Thirst Software recently asked me on Twitter how i "wrangled" so much press for the recent MercuryMover v2.0 launch.

The 140 character limit on Twitter didn't leave me enough room even for a token response. Here's what i said:

@kevinhoctor I've been working on my press hacking skills. In <70 chars: Listen for mentions. email everyone. give press free lice ...
I would like to take this opportunity to state once and for all that i do NOT advocate giving lice to members of the press. On this blog, we truncate where i say to truncate, so there's a little more room to describe how i engineered some very decent coverage for the MercuryMover 2.0 launch and how you might get some of that press goodness for your product. The term "press hacking" and in fact the very ethos thereof is derived from an evolving talk that Adam Engst of TidBITS fame has been giving for a number of years. I saw a video of his talk from C4[1] and it really shaped these thoughts of how to work with the press. I can't overstate how grateful i am to Adam for really opening my eyes on this topic.

So how do you hack the press? Here's my four step program:

Continue reading "Hacking the Press"
Posted by kalperin at 22:19 | Comments (0)
23 October
2008

Second Time Around

Where Keith gears up for another launch

After the recent C4 conference i felt really inspired to get to work on a new product. I've put a lot of work into MercuryMover, but i'm not going to be able to retire on it. My plan has always been to develop a broad stable of apps upon which to build the company. I had had this particular idea for a long time, and i knew that i could build something very useful relatively quickly. I present to you: Highbrow. If you can't commit to either Safari or Firefox, then Highbrow is for you. If you dabble in Opera and appreciate Camino, then Highbrow is your friend. If you love Omniweb, but are curious about iCab, you guessed it, you want Highbrow. Highbrow manages your system wide default web browser so that you're never surprised by what app comes up when you click on a link in Mail, iChat or anywhere else. Highbrow displays the icon of the current default browser in the menubar and from it's menu you can select your preferred web browser. You can also select one of the following modes:

  • Always use my preferred web browser
  • Use the most recently used web browser
  • Use the most recently launched web browser
  • Ask me which web browser to use (A terrific suggestion from my good friend Scott Morrison)
After making that selection, Highbrow does the rest. I like to set it to "use the most recently used web browser". This lets me switch back and forth between Safari and Firefox, but only keep one of them open at a time. Whichever one i'm using automagically becomes the system wide default. This way, when my wife sends me a link while i'm working in Firefox, i won't have to wait for Safari to launch when i click on it (this happens with startling frequency).

Something i learned when developing MercuryMover is not to treat your in-progress application like a state secret. I had been using builds of MercuryMover for almost two years before i released it to the public. Having learned from this mistake, i'm releasing a development build of Highbrow today. It's not fully polished, nor are all of the features implemented. The temporary icon is not that pretty and probably infringes on multiple copyrights. Despite all of this, Highbrow is useful today, and i'd like for people to get some benefit out of it and to hear what does and doesn't work.

Here is some of what's missing:
  • "Ask me which browser to use" is unimplemented
  • nicer interface for automatic updates
  • The icon is temporary
  • Highbrow needs to be restarted in order to recognize new browsers on the system
  • There is no first-run window


So...what are you waiting for. Try it out, already.

Posted by kalperin at 18:04 | Comments (4)