Saturday, January 30, 2010 6:22:53 PM
Opera 10.5-compatible update 2010-2-21
You can think of this as the My Buttons customization page on steroids, or a buttonmaker-with-icon-chart which takes the next step by adding storage - it's both. Unlike the My Buttons page, it lets you view and edit button actions, add comments, organize buttons into groups with headings, and include macros which are not buttons. It also generates (in addition to button-installer tags) installer tag code (BBCode & HTML formats) you can paste into forum posts or web pages, and toggles between compact and expanded views by item or globally.
Two versions: full view version (now 10.5-compatible) (which I prefer) uses fit-to-content editable areas (via the contentEditable attribute) to allow actions and remarks to be seen in their entirety even if long (but is a little flaky for editing); textarea version uses more familiar fixed-length textareas to present the editable elements - less quirky, but hides the ends of long items.
The best way to become familiar with features is probably to click buttons and see what happens (and the chart itself comes loaded with some intro information, presented as a discardable button). To be uninhibited in this, it helps to understand a basic point: the system uses editable HTML, and relies on saving the edits to disk, via a toolbar button - and until you do, all changes you make are reversible by reloading the page.
A few points:
- at some point you should click the Info button and read through the popup it generates.
- clicking Tags causes the editable fields involved in tags (label and action) to disappear so that there are no versioning conflicts; tags are generated on demand, and include any changes you have made.
- the +/-Break button for heading items toggles a linebreak in the collection. Switch the break off to get more items onscreen; switch it on to make grouping more obvious.
- heading items are labeled in blue, but it's a good idea to also use capital letters on them, and not on macro button labels, to make them more conspicuous.
- clicking the Paste button causes the background of the collection to change colour as an indicator of an unusual mode; clipboard contents will be added ahead of next item clicked.
To add to your collection a button which you encounter as a button installer tag, the recommended procedure is:
- click the installer to get the "install this?" alert (which presents the macro in a clean, unescaped form)
- copy the action from the alert box, and dismiss the alert
- go to the macro manager, Add Button, paste in the action.
- 2010-2-14: added missing double quote at end of SaveLocGen function. (Fixed versions: Macro Manager g and macro manager textarea5.)
- 2010-2-21: patched contenteditable version to cope with two Opera 10.5 bugs. Bug #1: I use >< on button face as collapse symbol; that's two HTML entities, in the code:
><(so they are not mistaken for tag delimiters). 10.5 however swaps in the symbols - so a "replace" command which specifies the entities fails (solution: specify the replacement by node identification, not content). Bug #2: 10.5 misreads tags with contenteditable attribute - the main effect being insertion of BR tags in label of first item during Collapse operations. So I've added cleanup commands which delete BR tags to all four functions which collapse items. One quirk still in effect: when items are first added, they display with a linebreak. Adding another item causes the first one to lose its linebreak - and it stays fixed if the later one is deleted - so "add two, cut one" is a workaround.