When you drag one of these buttons to the Opera toolbar or add one using customize toolbars in Opera, Opera adds a line of code to the appropriate section of the toolbar configuration file. When you customize the default toolbar, a new file named standard_toolbar (1).ini is created in your \profile\toolbar\ folder. This file contains only
altered sections of the default standard_toolbar.ini file. If you drag the above Internet Explorer button to your main toolbar, Opera will add a line like the following line to the [Browser Toolbar.content] section.
Button23, "Open in IE"="Execute program, "iexplore.exe", "%u", "Open in IE", "IE""
Button23 is the unique identifier given to the button. In this case, it is the 24th button on the toolbar (Button0 is the first).
“Open in IE” is the title of the button
“Execute Program,” the first item to the right of the = sign is the action performed by the button.
“iexplore.exe” is the first parameter of the button’s action; in this case, the program to execute. For most programs the full path will need to be given, e.g. "C:\Program Files\IrfanView\i_view32.exe"
“%u” is the second parameter of the button’s action; in this case, an environment variable containing the URL of the current page.
“Open in IE”
is the text to show in the tooltip when the mouse is hovered over the button and the text to use on the button if the option to show text is enabled or if no icon is defined.
“IE” is the name of the icon to use as defined in skin.ini for the current skin.
Not all parameters are
required for all buttons. The following button has two simple actions: one on the button, and one on the dropdown.
Button6, "Print + Options"=Print document + Show print options
Opera knows which icon to use for the action “Print document,” and it knows the tooltip text to show. The action after the plus sign is performed if the user clicks and holds the button. In this case, no menu is defined so there is no dropdown menu icon. Click and hold shows the print options.
Button0, "Home/Menu"="Go to homepage, , , "Home/Menu" + Show hidden popup menu, "Browser Menu Bar""
For this button, no icon needs to be defined either, but the fourth parameter “Home/Menu” shows different text to indicate the dual function of this button. Clicking the button will go to the home page,
but click and hold the icon will show the menu that is normally displayed at the top of the browser. If you use this button, you can turn off the browser menu bar (Control F11) to save vertical space.
Button20, "iFrames"="Set preference, "Extensions|Iframes=1", , "iFrames", "Checkbox Skin" | Set preference, "Extensions|Iframes=0", , , "Checkbox Skin.Selected""
This button toggles Inline Frames on/off by using the | pipe symbol. The icon changes from the checked
state to the unchecked state when clicked to show the current state of Enable/Disable inline frames.
Button22, -1291441751="Select author mode > Select user mode, , , -2101137707 + Show popup menu, "Style Menu""
This button toggles Author Mode and User Mode by using the > symbol. The alternate command after
the + sign shows the Style Menu if the user clicks on the drop down arrow. The big numbers are codes taken from the language file. Whatever language you are using, Opera will replace the number with the appropriate text string in your language — whatever the translations of “Author Mode” and “User Mode” are in your language.
Button11, "IrfanView/Utilities"="Execute program, "C:\Program Files\IrfanView\ i_view32.exe", "/clippaste", , "Panda" + Show hidden popup menu, "Browser Utilities Menu""
This button runs an external program, and the hidden dropdown shows a custom menu. The “Browser Utilities Menu” is not found in the default Opera menus. You have to define the section in your customised menu. If the menu is undefined, but IrfanView is installed in the above path, the button will work, but the drop down menu will not.
This is an edit field, which is added in much the same way. It is identified as:
See the Advanced Toolbar INI Guide on the Opera Wiki for more details.