omniJS – Global namespace – a simple automatic cheat sheet

We can get omniJS to generate a table of all the defined names in the global name-space of a document portfolio.

Applying a generic rendering function to this:

we can get a simple table which shows that the global namespace in a freshly opened document contains over a hundred bound names. Some of them for standard JS objects, and some of them (Filltype onwards) for omniJS objects which provide the scripting interface to OmniGraffle:

Or, specifying the number of columns,

and saving as a .graffle file

omniJSGlobalContext.graffle (168.9 KB)