Understanding ButtonsWhen 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 parameter to the right of the = sign is the action performed by the button. “iexplore.exe” is the second 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 third 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 the dropdown menu icon to the right of the
button. In this case, no menu is defined, just the simple action to show the print options dialogue box.
Button0, "Home/Menu"="Go to homepage, , , "Home/Menu" + Show 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 clicking the dropdown icon will dropdown 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. Button11, "IrfanView/Utilities"="Execute program, "C:\Program Files\IrfanView\ i_view32.exe", "/clippaste", , "Contact22" + Show popup menu, "Browser Utilities Menu"" This button runs an external program, and the 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 Irfan View is installed in the above path, the button will work, but the dropdown menu will not. |