Last update: Wed, Apr 18, 2012 at 12:16 PM.
Frontier secrets
  • These are things I have to figure out every time.
  • Maybe if I put them here I will remember to look here? :-)
    • If you want to add commands to your own personal right-click menu, add them to
    • Not sure how a tool or other code can do it. I seem to remember that this is not provided for (yet).
    • I want to be able to set attributes on the newly created headline, based on where in the outline is being inserted.
    • The best way to do this is to create a callback that runs when the user inserts a new headline into an outline. You can put the script in user.callbacks.opinsert. An example of such a script is at opmlEditor.worldOutline.opInsertCallback.
    • When I click on a link that returns OPML text, it tries to open it in the OPML Editor, which is good. But it opens it as plain text, which is not good. Where do I go to fix that?
    • Answer: Jump to Frontier.finder2Click.
    • The commands in the File menu are implemented as scripts that live in opml.root.
    • The script for Open URL is at
    • A lot of the other commands, if not all of them are in
    • I keep having to re-figure this one out, so I wrote a little howto.