How to Create Buttons for Opera
Tuesday, 12. February 2008, 07:33:34
Alright, today we will talk about creating buttons for Opera! If you don't know how to do this, then you're missing a lot of awesome customization power of Opera... So, I will share what I know about creating buttons & gather some useful info together to help you guys getting started. I'm not a pro on this area, but I will try my best. 
A. Useful info you should know about, read 'em:
http://operawiki.info/AdvancedToolbarINIGuide
http://operawiki.info/AllActions
http://operawiki.info/AllActionsList
http://operawiki.info/AllActionsListPlus
http://www.aimwell.org/Help/Buttons/buttons.html
http://my.opera.com/tomu/blog/
B. More syntax related info:
http://operawiki.info/CustomCommands
http://operawiki.info/IniFileVariables
http://operawiki.info/EditingINIFiles
http://operawiki.info/AllMenuButtons (out-dated, but still useful... )
http://home.wanadoo.nl/sipke.reina/opera/images.html (image/icon for buttons)
C. There are also some Button Creation Tools which is very helpful:
http://operawiki.info/CustomButtons#creating (most popular)
http://widgets.opera.com/widget/4258/ (This is a widget)
D. For those lazy people, here is a list of buttons I found:
http://operawiki.info/PowerButtons
http://operawiki.info/CustomButtons
http://homepage.hispeed.ch/ttt-opera/button/h-bu-browser-adv.html
http://opera.oslocity.org/shoust/?p=buttons
http://people.opera.com/rijk/opera/dndbuttons.html
http://my.opera.com/community/forums/topic.dml?id=145608 (Opera community thread)
http://opera.higeorange.com/customize/button.html (Japanese ONLY, use this button to Translate)
E. OK, here is some stuff I discovered when making buttons:
1. Hyperlink Buttons
If you want to share or show off your buttons to the world, then you need to know how to create Hyperlink buttons! Then, everyone can install your buttons with just a single-click or drag 'em into the toolbar. Other than what is told from here, you can also use Opera's forum's Insert hyperlink function to create a Hyperlink Button quickly!
First, Copied the button's syntax from your toolbar.ini or button creation tools, then go into the "Preview" section of the Opera community forum.
Next, typed the button's name in the text-area, highlight it & press the Insert Hyperlink button to paste the button's syntax you copied earlier. Press Enter & it's done!
NOTE: You need to add opera:/button/ in front of the button syntax
2. How to insert > into a Hyperlink button
Once you converted the > into a Hyperlink button, it will disappear... So, how do you create a Hyperlink button without losing the > symbol? Simple, just replace all > with %3E. That's right, Opera will recognized %3E as > from any Hyperlink button.
3. Show Popup Menu, "-"
Show Popup Menu, "(menu name)" will display certain menu from the menu.ini document. But there is another way to use this action: to add a down-arrow beside the button & modified the activation behavior of extra function inside a button! Now, let's look at my Power Reload buttons for reference:
Version A: Power Reload
Syntax: opera:/button/Stop, , , -1393253531 | Reload, , , -1705826954 + Reload all pages
(Required to click & hold to activate the extra function)
Version B: Power Reload
Syntax: opera:/button/Stop, , , -1393253531 | Reload, , , -1705826954 + Reload all pages & Show popup menu, "-"
(No need to hold, simply click on the down-arrow for extra function)
As you can see, simply add & Show popup menu, "-" to the extra function will add a down-arrow & changed the activation behavior of the extra function!
4. Show hidden popup menu, "(menu name)"
Don't be confused this action with the previous one, they are similar but not exactly the same! Show hidden popup menu, "(menu name)" will allow you to activate a popup menu without displaying the down-arrow for extra function (Example: Look at version A of my modified Back/Forward button). Now, here is another hidden power of this syntax: improve availability of extra function. What's so important about availability? Well, here is an illustration of how to abuse this hidden power:
Take a look at the trashcan on the top-right corner of your screen, the one that allow you to retrieve closed pages. If you restart Opera (or Emptied trash), it will be grayed out & not available... & thus, if you add an extra function to that button - you can't accessed the extra function even though it should be available when the primary function of that button is inaccessible! So, how to fix this problem? Solution: Replaced Show popup menu for the primary function with Show popup hidden menu. Here is an example:
Default + Extra function (Hide Opera): Closed
Syntax: opera:/button/Show popup menu, "Closed Pages Menu", , , "Trash" + Hide Opera
(Problem: Can't hide Opera with this button when trashcan is empty)
Modified + Extra function (Hide Opera): Closed
Syntax: opera:/button/Show hidden popup menu, "Closed Pages Menu", , , "Trash" + Hide Opera
(Solution: When primary function is inaccessible, the extra function is still available)
5. Use Keyboard setup to create syntax
You don't have to memorized every single action/syntax in order to create buttons. There is a library within the Opera browser to help you find & create 'em! Simply go to Preferences(Ctrl+F12) > Advanced > Shortcuts > Keyboard/Mouse setup to start creating all kind of crazy combo actions! However, it didn't included every action/syntax available, thus you will still need to refer to the Action list from section A & B posted in this blog for guidance...
Well, that's all I can remember...
Oh, remember to share your buttons in the Opera community forum, your creativity is the limit!
(Nah, not really...
