Skip to main content

Blog archives for December 2006

AppleScript and flexibility

Posted in

I just got an email from a Pukka user who was wondering if private posting could be enabled by default. While this is not currently available natively, it can still be accomplished now using AppleScript. Based off of an earlier post about using AppleScript to duplicate the bookmarklet's functionality, I modified the script slightly to add these lines at the end:

tell application "Pukka"
    set private posting to true
end tell

Then, when the AppleScript is run to perform the bookmarklet's JavaScript, it also sets private posting to on, but lets you still pull the trigger to submit the link. This way, you can still turn private posting off if you like.

While you can easily run AppleScripts from the AppleScript menu (enabled in Applications -> AppleScript -> AppleScript Utility), I recommend a faster solution such as Quicksilver or FastScripts which can link an AppleScript to a single keystroke. That way, you could have one keystroke to ready a Pukka post as public and another to ready it as private.

Grab the new script here. Thanks to Joseph for the inspiration!

Leopard Tech Talk - NYC

Tech Talk icon

Just a note that I'll be attending Apple's Leopard Tech Talk in NYC on January 24th. If there are any Cocoa developers out there reading now, I hope to see you there! I'll be making a trip up from DC for part of the week. Are there any other good Apple-related things going on around then that I should seek out?

Speaking of NetNewsWire...

Posted in

If you use NetNewsWire, you may be accustomed to the keystroke ⇧⌘P to send a link to Pukka. Alert reader and Pukka user Ben Jackson sent me an AppleScript which can replicate this behavior in Safari using a bit of Quicksilver magic.

I've mentioned Quicksilver before. It's a handy utility that lets you operate many functions on your Mac using the keyboard and shortcuts. Ben's script basically emulates the Pukka bookmarklet functionality (available in Pukka->Install Bookmarklet...). But, unlike using the bookmarklet in Safari, calling the AppleScript from Quicksilver lets you bind a specific key combination.

Ben writes:

I assigned it a trigger in Quicksilver bound to ⇧⌘P to match NetNewsWire's 'post to weblog' shortcut and restricted the scope to Safari.

Thanks for the tip, Ben! Getting beyond Safari's basic bookmark shortcuts is a big help to keeping the workflow moving along quickly.

Update: Ugh, I can't believe I didn't attach the original script. You can get it here. Thanks, Wess!

Holiday discount on NetNewsWire; Pukka integration free as always

Posted in

Brent Simmons of NetNewsWire fame mentions a holiday sale going on right now for his and NewsGator's other products. If you don't have NetNewsWire or MarsEdit, go check them out!

Pukka has had NetNewsWire integration from the start and Brent was kind enough to add support for Pukka way back when.

Apps working together in harmony... it's enough to warm the cockles of your heart.

Thanks for the donations!

Posted in

I just wanted to say thanks to all of the folks who purchased Pukka yesterday to support Child's Play Day. I definitely saw a boost in sales and I've passed on the proceeds to the charity. I can't wait to see the grand total from all of the developers!

Child's Play Day

Posted in

I'm happy to announce that tomorrow, Code Sorcery Workshop will be participating in a charity day for Child's Play. The short version is that all (yes, that's 100%) of the proceeds that I gather from Pukka for tomorrow, December 7, will go towards Child's Play. If you've been thinking about registering, now is a great time to do so!

Gabe

Child's Play is a Seattle-based charity that provides games for kids in children's hospitals over the holidays. Here's a quote from The Seattle Times:

"Child’s Play is putting the media’s negative portrayals of video games to shame, and showing the world that gamers are good people, too."

Tycho

For me, gaming was a big part of my childhood that influences me to this day. Problem solving, teamwork, and just general escapism (in moderation) are great things, and I think that it's wonderful that I can put my programming skills to use towards helping brighten the days of children who are hospital-bound over the holidays.

So again, if you are on the verge of registering Pukka, what are you waiting for? And while you're at it, check out the other great software developers who are participating as well. Thanks to Mike Zornek of Clickable Bliss for coming up with and organizing the idea.