Monday, November 08, 2010 at 12:02 AM.
system.verbs.builtins.Frontier.finder2Click
on finder2Click (path) { local (filetype); filetype = file.type (path); <<msg (filetype) local (adrScript = @Frontier.clickers.["type" + filetype]); if not defined (adrScript^) { adrScript = @Frontier.clickers.["type????"]}; if not defined (system.deskscripts) { <<make sure the table is there new (tableType, @system.deskscripts)}; local (returnedVal); returnedVal = adrScript^ (path); if Frontier.findertofront { Finder.bringToFront ()}; Frontier.findertofront = false; return (returnedVal)}; bundle { //test code finder2Click ("C:\\Documents and Settings\\Dave Winer\\My Documents\\OPML\\www\\nebraska.opml")}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.