10.11.07

Introducing Toolbar Scripts (Again)

Posted in Camino, Software at 5:17 pm by

Back in August, Peter wrote about his work on creating an infrastructure for custom toolbar items. If you can dream it—and write it in AppleScript—you can have it in your Camino toolbar. After a long period of code review, comments, and some last-minute fixes from Peter, I’m happy to announce the toolbar capability has landed in nightly builds of Camino (both branch and trunk) and will be in Camino 1.6.

Here’s how it works:

  1. You write an AppleScript to do something useful, perhaps string together a few commands from Camino’s enhanced AppleScript support, or to connect Camino to another app on your Mac, or whatever you can dream.
  2. Save your new script as a (compiled) script, script bundle, application, or application bundle—even text (.applescript) files will work.
  3. Give your script an icon (I can hear the phones ringing off the hook at the studios of our local icon designers!).
  4. Put your script in the ~/Library/Scripts/Applications/Camino folder (creating any of those folders if necessary).
  5. Launch a Camino nightly (October 10th or newer).
  6. Customize the toolbar and add your script.

And you’re off! Show us what you can dream up!

No introductory post is complete without some sample code, so I’m happy to announce Clone Tab and Combine Windows to get everyone started pimping their toolbars!

Thanks to Peter for all the AppleScript work this summer and for handling all my “bugs,” and to his partner in Summer of Camino 2, Jeff Dlouhy, for the rockin’ icons!

4 Comments »

  1. User Grav­atarافكار و احلام » Camino 2007 in Review said,

    12.31.07 at 11:13 pm

    […] support. While we can’t top Safari or OmniWeb yet, we do have some nifty features like custom toolbar items written in AppleScript (see PimpMyCamino for some to try out!); all of Peter’s work is available […]

  2. User Grav­atarJP said,

    04.24.09 at 3:08 am

    It’s just not working. I can’t get the new items to show up. Tried different thinks; Put the script in various libary folders, etc. Result is still no show in the customize toolbar window.
    Can someone help. Oh I use camino 1.6.7

  3. User Grav­atarSmokey said,

    04.25.09 at 1:12 am

    JP: It sounds like you may not be finding the correct folder.

    Inside your home folder (the one with your username), open the Library folder, and then open the Scripts folder. If there’s not a folder called Applications inside, create a new folder and give it that name. Then, inside this Applications folder, create a new folder called Camino and put your scripts in there.

    If things are still not working, please visit the forum; there are a lot more people there and it will be a lot easier to get help. :-)

  4. User Grav­atarJP said,

    04.25.09 at 4:36 am

    @smokey
    Thnx That worked :-))
    . Was a typo in the folder name ;-((

Atom feed for comments on this post · TrackBack URL

Leave a Comment