Saturday, January 08, 2005

Wanted: An AppleScript for Safari that will open a viewed page in Firefox (OS X)

Apple - Discussions - Looking for: Open in Firefox AppleScript

From a post to the Apple Discussions Forum:
I use Firefox on Windows, but Safari on my Mac. (When Camino gets to the same Gecko engine as FF, and thus gets the web site support FF 1.0 now has, I'll probably switch to Camino on my Mac. I like Omniweb, but it has the same constituency problems as Safari.)

Although Safari works well most of the time, there are some sites, where I'd really like to use FF. Blogger, for example, provides its superb wysiwyg Compose editor only to the most recent FF/Moz release. Safari users are stuck with a barebones editor, Camino gets the previous Mozilla editor (for its version of Gecko).

Firefox on the PC has an "Open in IE" extension that lets me view some poorly implemented banking sites in IE. We need a similar "Open in FF" function for Safari. That way I could mostly work in Safari (for now), but switch to FF when I need it. (Ugly fonts and all.)

Has anyone done an "Open in Firefox" AppleScript for Safari?
Update: "Camelot" quickly replied with the script:
tell application "Safari"
set theURL to URL of document 1 -- get the current URL
end tell

tell application "Firefox" to Get URL theURL
For those who know even less AppleScript than I, this is what I did.

Wow. This works just as you described. It will help with Blogger and those other pages that don't quite work in Safari.

For those who know even less AppleScript than I, this is what I did.
1. Located the AppleScript folder in my Applications Folder.
2. Launched script editor and pasted in above (second example)
3. Saved script in my personal Library/Script/Safari folder.
4. Saved script again as an application. Unchecked StartUp Screen, checked Run Only. (This step is useful for LaunchBar integration, otherwise ignore it.)
Since I have the script icon on my toolbar (forget how I did that) I can click there and launch the script.

I also extended the script so FF would come to the front (not sure if this the right way to do so):
tell application "Safari"
set theURL to URL of document 1 -- get the current URL
end tell

tell application "Firefox" to Get URL theURL

tell application "Firefox"
activate
end tell

Lastly, by saving a copy of the script as an application, I had something that when I click on it just opens in FF. Then I configured Launchbar to index my scripts folder. Now when I activate launchbar and type 'OIF' FF launches.

I can start a post in Safari, and finish it in FF.

I can start a blog post in Safari, do Launchbar OIF, then complete editing it in FF. Works great.

The OS X browser wars: Camino

The Camino™ Project

I use Firefox on Windows. Great browser, though until web sites get caught up it's very helpful to have the "open in IE" extension.

On OS X I mostly use Safari. I like the fonts and readability, I like the compact use of space, I like the OS X services integration. I also use Firefox, but the font/layout is not appealing. I like Omniweb's ability to visualize the windows/tab tree and manipulate it, but horizontal tabs don't work on an iBook display.

The biggest drawback of Safari is market share. It gets support out of proportion to its market share because of the "Mac Factor" (OS X use is much higher in geeks than in the general population), but it's definitely behind Firefox. Blogger has a terrific wysiwyg-like HTML editor (Compose), but it's only available in Firefox (yeah, IE too, probably Mozilla but I don't use Moz).

Camino 0.82 is a cross between Firefox and Safari. It's the browser that Apple should have gone with. It's really very elegant. I tried it out on Blogger, but I got the old HTML editor -- not the new Compose editor. Better than what I get with Safari, but it's not 'Compose'. I think Camino uses an older version of the Gecko, so there's hope that when it gets to release 1.0 there will be a Mac browser with the web constituency of Firefox.

Friday, January 07, 2005

My newest high tech addiction: wire bound notebooks

Froogle Search: National Brand college ruled notebook

As I descend ever further into the depths of senile decay, I am ever more susceptible to the blandishments of paper. At one point in my life I resisted this temptation, for work on paper is often lost. I have at last come to feel, alas, that much of my work is better lost.

The paper can be used on takeoff and landing. It can be used when I don't have an outlet. The display space is enormous -- I can scatter papers over a wall. A 10 foot display is too costly for me (though I'd like to try a VR display if they ever make it to the mass market). Paper is rigidly linear, I know things won't move around on me. It requires little or no cycles for me to do data entry; it has no distractions. It doesn't ping me. It doesn't lure me into email or the net.

Ahh. Great innovation that paper. But wait ... legal pads are bulky, pages get scattered and lost. The pad doesn't fold well. What is to be done?

Wire bound notebooks by National Brand! Micro-perf pages can be separated easily and are pre-punched. It is a good thickness at 60-80 sheets and it stores well side by side in magazine racks (the wire spines intermesh). The spines and covers are robust. It is tough, durable, reliable, lightweight and portable. I can return months later and parse out my scrawls.

I think I'm in love.

Update 11/18/07: I'm not alone.
Resolved: that the Mead (or Cambridge) one-subject notebook, 8-1/2” x 11”, action planner format, side bound, double wire spiral bound, side perforated, 80 pages, 20 lb. bond, white paper, rule lines printed in gray and maroon; catalogue number 06064 or MEA06064; or the Cambridge Executive Action Planner Limited Notebook, otherwise identical, Cambridge catalogue number 20568208—

Thursday, January 06, 2005

PhotoPresenter: iPhoot viewer

Update: I downloaded and installed this app. Don't bother. The web site said it was compatible with iPhoto 4, but the executable warned otherwise when I started it up. It ignored my cancel request and brought me to a menu I could not quit form. I had to kill it via the OS X application list.

PhotoPresenter

If you have to manage multiple iPhoto Libraries, this viewer lets you see what's in each one without loading iPhoto.

GraphClick - Free OS X Graph Digitizer

GraphClick - Free Graph Digitizer
You have the picture of a graph but not the corresponding data? GraphClick is then simply the best way to solve the problem! You just have to click on the graph, and the obtained coordinates of the points can be directly exported into any other application.

Wednesday, January 05, 2005

Canon Downgrades Elura Camcorder Line

Canon Updates Elura Camcorder Line - News, Guides and Tips - Consumer Camcorders - Camcorderinfo.com:
In an effort to reduce the size however, Canon has in some ways downgraded the Eluras. The S-Video ports available on last year's Eluras have been removed from this year's models. Also, the hot accessory shoes found on last year's Elura 65 and Elura 70 have been replaced by cold shoes on this year's models. In a ways, the alterations made to last year's Eluras are similar to those made on the ZR series this year. Canon has removed some features in the interest of making these new models not only more affordable but also slightly smaller.
Losing the S-video is a big deal for someone who wants to do digital passthrough. Amazon is discounting the older models. Looks like a good time to buy an Elura 70!

Home Hacking Projects for Geeks - maybe it'll help me monitor for furnance outages ...

Boing Boing: Home Hacking Projects for Geeks: "O'Reilly Media has just published Home Hacking Projects for Geeks, featuring 13 fun home automation projects for your house..."