[This site will look better in browsers that support web standards, but should be legible in all.]

Saturday, 01/25/03

I'm trying to figure out if Chimera is sufficiently scriptable to retrieve the source of an open page. Through a happy coincidence, Mr. Gruber and Mr. Zeldman have been chewing over this very subject lately, in search of ways to get HTML sources to open up in real editing applications. In particular, Zeldman claims that a December build of Chimera is scriptable.

As far as I can tell, this is not the case -- neither the specific build to which he links or the most recent nightly build display scripting dictionaries. Zeldman further points to webgraph.com for a package of scripts which include Chimera support, but that domain doesn't have any DNS service at the moment.

I don't favor Mr. Gruber's curl workaround. It amounts to refreshing the current window and getting that page's source, which might well be different.

Update: webgraph.com is back up, and the Chimera "view source" script does use curl to retrieve the frontmost page's HTML. To get the URL to feed to curl, the script sends a raw apple event to Chimera, so the lack of a dictionary wasn't indicative of a lack of scriptability -- merely a lack of scriptability that users can be expected to discover. 02:35PM «


Bits pushed by Movable Type