The Hit List Forever

22/01/2010

Let me get the cheesy redundant joke done right off the bat:

On top of my list of things to get done is to finish Dave Allens Getting Things Done.

How droll. What fun.1

On top of the personal hit list of Andy Kim of The Potion Factory I’m willing to bet a few shillings you’ll find “Finish The Hit List Touch”, the fabled iPhone companion app to The Hit List Mac. I’m not sure that’s sound prioritizing though. I think perhaps he should bump up “Reconsider customer communication strategies” to number 1.

If you’re unacquainted with the app, its history and the state of things today, let me offer a brief summary.

Read the rest of this article »

  1. And in my case actually the plain truth. I’m still halfway through after trying both dead tree and audiobook. For now I’m settling for getting something done.
3 Comments

A few random AppleScript snippets

14/01/2010

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. Then invoke this script via Quicksilver or LaunchBar or whatever is your favorite tool for invocations.

1
2
3
4
set clip_url to (the clipboard as string)
set lc_url to do shell script "echo " & clip_url & " | tr '[:upper:]' '[:lower:]'"
set ninjaURL to "http://ninjawords.com/" & lc_url
do shell script "open " & ninjaURL

Wrap link in ‘a href…’

Note: This one will look slightly different depending on whether you are using Quicksilver, LaunchBar, whatever. The key is that you pass a string value into the script and it returns one back to you. This example is for LaunchBar.
Copy a link to the clipboard, invoke the script, paste your now a-tagged link.

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
on handle_string(vanillaStr)
  set quote to ASCII character 34
 
 
  set openTag to "<a href=" & quote
  set closeTag to quote & ">"
  set finishTag to "</a>"
 
  set TempTID to AppleScript's text item delimiters
  set AppleScript's text item delimiters to space & ":" & space
  if (count of text items of vanillaStr) is greater than 1 then
    set urlStr to text item 1 of vanillaStr
    set linkStr to text item 2 of vanillaStr
    set returnStr to openTag & urlStr & closeTag & linkStr & finishTag
  else if (count of text items of vanillaStr) is 1 then
    set urlStr to text item 1 of vanillaStr
    set linkStr to "linkage"
    set returnStr to openTag & urlStr & closeTag & linkStr & finishTag
  else
    beep
    return
  end if
  set AppleScript's text item delimiters to ""
  tell application "LaunchBar"
    perform action "Copy and Paste" with string returnStr
  end tell
end handle_string

New File

Sometimes you just want a dang text file to magically appear.

1
2
3
4
5
6
7
8
9
10
11
12
try
  tell application "Finder" to set the this_folder ¬
    to (folder of the front window) as alias
on error -- no open folder windows
  set the this_folder to path to desktop folder as alias
end try
tell me to activate
set thefilename to text returned of (display dialog ¬
  "Create file named:" default answer "filename.txt")
set thefullpath to POSIX path of this_folder & thefilename
do shell script "touch \"" & thefullpath & "\""
do shell script "mate \"" & thefullpath & "\""

That’s it for now. I have some gems saved for a later post, but they wouldn’t make sense out of context so you’ll just have to wait.

2 Comments

Things Migrator 2

14/12/2009

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 same that they did before, and brother was I mistaken.

It seems that Apple decided AppleScript as a simple to grasp scripting language really has no place in Xcode anymore, and Cocoafied the bejeezus out of it. On the surface using the new Cocoa / AppleScript bridge feels like playing a nazi in most hollywood war movies. You’re still speaking English (Cocoa), just with a horrible German (AppleScript) accent.

The Migrator is just a little quick and dirty utility app, which AppleScript is perfect for, but rewriting this for 10.6 I felt I might as well have ported it to Cocoa (since I’m in the process of learning Objective C anyway). I didn’t though. I hacked my way through it using the Bridge, and I felt like Xcode was berating me the whole time.

I’m excited about Cocoa and Objective-C, but I loved AppleScript for what it was. I’m still going to be using AppleScript a lot, but unless I “See the light” of the Cocoa Bridge, I don’t think I’ll be making any GUI apps with it anymore. I also find it telling that there seems to be no documentation for the Cocoa / AppleScript Bridge except for the release notes that I can find.

Rant over.

Disclaimer:

  • This works fine for me. I make no guarantees that it’ll work for you. I think it will, and I’ll try to help you out if it doesn’t, but I’m not liable if your Mac explodes.
  • Caution: If you check the “Delete items from Things” option your items will be deleted from Things.
  • In order for this to work the app will empty your Things trash can regardless. If you really need the stuff in the Things trash can, perhaps it shouldn’t be in the trash.
  • I don’t have a Leopard machine handy, so I haven’t tested the Leopard version since I first posted it in May. It worked then, so it should work now.

Github
App – Leopard
Source Code – Leopard
App – Snow Leopard
Source Code – Snow Leopard

3 Comments

The MacHeist Unlock Scheme

4/04/2009

MacHeistIf you’re a Mac user chances are good you already know about MacHeist. In summary MacHeist is a bundle of Mac apps sold at a very ridiculously attractive price. Usually if only one or two apps in the bundle appeal to you you already save money by buying the bundle.

This is all well and good, but the really interesting thing about MacHeist is that it’s a stroke of marketing genius. Since the first iteration through to the third and current one the MacHeist guys have used an amazing array of guerrilla marketing and the traditional “It slices! It dices! It solves world hunger!” tactics to create a buzz around the product, including but not limited to:

  • Detective style “missions” to unlock free stuff, usually by snooping around Mac-centric sites for clues but extending to even Rot15 encrypted ads in Mac-blogs’ RSS feeds.
  • Fake hacker-defacing of several well-known sites in the Mac community. (With the paticipation and consent of the owners of those sites). This one really caused a lot of controversy.
  • Enlisting people to do Twitter promotion (spam) for freebies, referral programs etc…
  • And; charity donations which is of course very cool.

There’s been loads of controversy over MacHeist, concerning both their marketing tactics (see the defacing thing above) and their buisness model. Exemplified here by highly regarded Mac pundit John Gruber.

All this has been said and debated, so I won’t go into those criticisms. And before I bring up my own peeve with MacHeist let me first state that I do find the bundle to be a very lucrative deal for the end-user (me) and I have in fact shilled out the 39 bucks for it.

Alright; MacHeist, as I mentioned, donates 25% of their earnings to a charity you may pick yourself from a selection, and theres no getting around that this is a great thing. One of the ways they promote this is to “lock” some of the apps until a certain amount has been “raised for charity”. When the first goal is reached the first app is unlocked (for all customers) and the next goal is stated, and so on.
Macheist Donations
The main reason I bought the bundle was to get The Hit List and Espresso. $39 for those two alone is a very sweet deal. What I didn’t notice before I actually swiped my credit card was that these two apps won’t be available before a certain, unknown amount of money has been, as they say, “raised for charity”.

The fact that I didn’t read the agreement properly is my fault.
The way they go about this however makes me feel a bit queasy. You see, what I mistakenly read, and grudgingly accepted, was that the locked apps would be made available when 400.000 had been “raised”, but it turns out that some other app I don’t care about will be unlocked at 400.000, and the two apps I do care about will be unlocked when an amount of money they won’t tell you what is has been raised. So even when I was willing to gamble, now I’m suddenly playing blindfolded.

Now, I’m not actually worried that I’ve wasted my money, and I’ll tell you why in a second, but I think this adds itself to a number of questionable marketing practices. Here are my grudges:

  • The goal is stated to be to “raise money for charity”. What we’re doing however is purchasing your product which earns you money of which you will donate a portion to charity.
    Only stating that “we won’t give you these apps before we’ve made enough money” doesn’t sound as nice as “C’mon folks! Let’s help them starving kids. If we can get enough for a new orphanage we’ll give you these apps as a bonus!”. It’s disingenuous and icky. I really think that you’re donating to charity is great, and something you can pride yourselves on, but this is pushing it.
  • I don’t mind your refferral scheme. I do mind your Twitter spam scheme, but I’ll let that one lie for now. But the fact that what you’re doing with this unlocking schtick is to hold the apps ransom so that your customers will go pester their friends or spam forums to get people to purchase the bundle is obvious and ugly.
    I didn’t like it back in the nineties when the less intellectually endowed among my friends joined the pyramid schemes and tried to recruit me every other day, and I don’t appreciate it now.
  • And even if I didn’t feel that this “it’s for charity” angle is nauseating, I strongly dislike the idea of not telling me what the goal is for the final apps in the bundle.
    To paraphrase Terry Pratchett; “It’s like playing a game of cards in a dark room when no one will tell you the rules, and everyone is smiling all the time!”.

Now, that was a good long rant. Now let me tell you why I’m not actually feeling very concerned that I might have wasted my money.

  • If MacHeist doesn’t unlock the final two apps they’ll have a PR shitstorm to deal with. MacHeist thrives on the rep of being a wildly successful, highly engaging experience, rather than just a software bundle.
    I don’t know any other software bundles that has a forum of dedicated members (complete with fanboys and trolls) and can get their customers to jump through hoops for bits and bobs.

    If they hold out on the last two apps they’ll appear to A: Having failed business-wise. And B: Being mean to their customers.

  • Secondly; I’m fairly certain that The PotionFactory and MacRabbit (makers of The Hit List and Espresso respectively) won’t be too happy to have participated in this whole mess and then not get paid, so of course they will get paid; and if they get paid I’m pretty sure MacHeist doesn’t really feel like wasting some tens of thousands of software licenses at the expense of angry customers.

    And even if they would do something inane like that, I’m pretty sure that the afore-mentioned developers actually want to see their apps distributed, because happy users recommend products and sell more licenses.

  • Thirdly; There really is no other reason for the hare-brained move of keeping the goals secret than to make sure you can adjust them according to what you feel certain the outcome can be.

In conclusion; MacHeist has some wacky marketing solutions. Sometimes actually quite cool, sometimes pretty yucky and on occasion only describable as doubleyou-tea-eff. Still. There’s no denying that the bundle is a fantastic bargain.

No Comments

Some Path Finder AppleScripts

6/03/2009

Path FinderHow’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 going to address one of the main issues straight away; Path Finder has crappy support for AppleScript.
I love that little quirky language that actually gives me loads of control over the OS, but for some reason you can’t just rewrite your old AppleScripts to do a check for the current “Finder app” and react upon it with the same code. I have no idea why porting the Finder Dictionary to the Path Finder Dictionary is so hard (if I did I’d be writing some way cooler code than I currently am) but it bugs the hell out of me when some of my most frequently used scripts won’t work anymore. It’s like sitting down on a Mac that hasn’t got Quicksilver installed. You feel like you’re typing with boxing gloves.

Therefore I’ve set out to port my most crucial scripts so they’ll work whether I’m in Finder or Path Finder.

Read the rest of this article »

2 Comments