Sign up | Lost password? | Help

[ advanced search ]


Go to last post

Saturday, 24. June 2006, 23:18:29

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

Opera 9 Buttons

Since some things have changed for Opera 9.x, We need another new Button thread. This is the old thread

This is the Opera Custom Button Maker. There are loads of custom buttons on the Wiki Site, and this is my button page which has a few more, a customized standard skin with extra icons, and explains a bit about making buttons. Tomu's page has some buttons for Opera 9.

If you have any great ideas for new buttons, post them in this thread using the {Opbut=Action, parameter 1, parameter 2, "Tooltip", "Icon"}Text{/opbut} code.¹

If you need help making buttons, post your requests here.
Please don't PM me — though I enjoy helping people, I prefer to do it only when I want to.

¹ Replace {curly brackets} with [square ones]. Parameters are optional, not all actions need them. Titles and icons are also optional. See the [Images] section of skin.ini for your skin to see the right name to use for the icon you wish to use.

To edit buttons posted here, quote the post, edit the code, and preview your post. Then drag the link to a toolbar or click it to add the button to your "My Buttons" custimize toolbar palette.

Sunday, 25. June 2006, 08:11:53

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

For example, if you wanted to edit the following button ...
button This button shows the action that the button will perform — This is the way that I prefer it.

... you would quote this post, edit the title text and switch the icons around to make a different button like this ...

button This button shows the current state. That is, if the page is currently locked the padlock is closed and the tooltip says "Lock tab." What it should say, of course, is "Locked" and "Unlocked" when the tab is unlocked.

The number "765050320" tells Opera to take the text string from the language file. It is better to use these codes, then the buttons are more useful to Opera users whose first language is not English. I couldn't find a text string in english.lng for "Unlock" so I had to use text.

I was able to fix this by editing my language file, but most users will not want to do this. I edited this line and added a new line:

; Tab context menu option.
765050320="Lock tab"

; Tab context menu option.
765050320="Tab Locked"
-765050320="Tab Unlocked"

The hyphen indicates that the state is in the "False" condition, i.e. that the tab is unlocked.

Sunday, 25. June 2006, 10:04:27 (edited)

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

I put together some buttons from the other thread.

button Click for menu. Hold to go to home page.

button Click to show the print dialogue. Hold to show the print options dialogue.

button Click to reopen the last closed page. Hold to show the closed pages menu. (The default trash can just shows the menu meaning two clicks for the most common action)

button Click to show skins menu. Hold to show colour scheme menu. Not all skins have the separator icon. Check out my Opera Skins.

button Click to disable sound and plugins. Hold to launch the Windows volume control.

button Click to toggle fit to width. Hold to show images menu

button Hide Opera and launch an external program such as Open Office. (Quote post and edit to change the path or the program to launch. Copy the path from a Windows Shortcut)

button Toggle all four mail views.

button Click to tile windows vertically. Hold to maximize all.

Quick Buttons
The code for quick buttons won't work on the forum, but they can be very useful.
button Add a simple button like this first where you want it, then quit Opera and edit the button code in your customized toolbar.ini (e.g. standard_toolbar(1).ini).

QuickButton11, "Zoom"="Zoom to, 150, , , "Zoom" | Zoom to, 120, , , "Zoom""

Hold the button to zoom to 150%
Release the button to zoom to 120% (Change this to your default zoom level)

Opera Preferences Buttons
buttonbuttonbuttonbutton ... button (Undefined)buttonbuttonbuttonbuttonbuttonbuttonbuttonbuttonbuttonbuttonbuttonbuttonbuttonbutton ( + Customize Toolbars)buttonbuttonbutton... button

Any numbers that are undefined will bring up the last dialogue box used.

Monday, 26. June 2006, 01:31:57 (edited)

shoust

Operaised

avatar

Posts: 3008

United Kingdom

button

What it actually does is set google lucky as default search (like fx when you enter a single word in address bar , it does a google lucky search) and turns off hostname expansion, then turns it back on again. (there might be a 30 second or so delay while the changes take place though.)

Tuesday, 27. June 2006, 01:30:31

nawaland

avatar

Posts: 4

please spot how a "Save as web archive" button is created... Because
Opera 9 has a the ability to save documents as web archive.

Thanks in advance

Tuesday, 27. June 2006, 09:27:09

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

button The default save button will do this, but you have to use the dropdown to choose the archive file type. I don't know of any way around this.

Wednesday, 28. June 2006, 00:10:25

nawaland

avatar

Posts: 4

Thanks! I tried it and it works.But wish that I don't have to drop down. I am not lazy but
crusious about it
:smile:

Tuesday, 11. July 2006, 00:15:59

MaDhAvA

avatar

Posts: 6

India

I use the search button extension in Firefox which allows me to perform a search from the seach box in a new tab (left click in the same tab, middle click in a new tab and right click in a new background tab). Any chance of doing this in Opera?

Also a button for toggling the title bar without removing the Windows taskbar.

Thanks.

Tuesday, 11. July 2006, 02:14:59

sgunhouse

Volunteer

avatar

Posts: 52511

Flag City, USA

Windows draws the title bar, Opera has no control of it.

Tuesday, 11. July 2006, 04:54:42 (edited)

MaDhAvA

avatar

Posts: 6

India

I guess what I am looking for then is fullscreen button with main bar, tabs, and page side scroll showing. And still be able to toggle the side panel at edge of the window while in that full screen mode.

I have everything I need on the main bar, so with the side panel and tabs in full screen mode Opera will use minimal real estate.

Presently I am using an extension in firefox that allows fullscreen mode like this with the Windows taskbar still showing - I launch external apps from there.

Tuesday, 11. July 2006, 04:58:22

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

Take a look at my Opera Buttons page. The scroll bars cannot be turned on while entering fullscreen mode. It requires a second button action with click and hold to toggle the scroll bars. The Windows taskbar is always hidden in fullscreen mode, but all of your essential Windows functions and favourite programs can be added as buttons to the Opera toolbars, so that you don't need the Windows taskbar. If you need something else, the Windows key still works in fullscreen mode.

Tuesday, 11. July 2006, 07:26:56 (edited)

MaDhAvA

avatar

Posts: 6

India

Thanks Pesala - the windows key will have to do then.

I did already check out your buttons page - great work! That's where I got most of my buttons from :smile: in fact I am using your space saving toolbar right now :smile:

So there isn't a full screen button that will leave the main bar as well as the tabs still showing? I have a toggle tab bar button - so I can get the tabs back after going full screen - just if it's possible to leave them showing then I wouldn't need this button.

And I guess it's not possible to have the side panel toggle by clicking the mouse at the edge of the screen while in full screen mode then?

Edit:

I tried editing the keyboard shortcut F11 for full screen to:

Enter fullscreen & View main bar & View page bar,6 | Leave fullscreen & View main bar & View page bar,6

but that only leaves the tabs showing when entering full screen - not the main bar.


Tuesday, 11. July 2006, 07:24:02

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

button No problem displaying any of the toolbars or the panels. For some reason the scrollbars cannot be enabled in fullscreen mode with the same action as entering fullscreen mode. The panel toggle cannot be made visible in fullscreen mode. The panels can. I use a mouse gesture (GestureRight, GestureLeft) to show the panels on the right.

Set alignment, "hotlist", 0 | Set alignment, "hotlist", 6

button To enable the panels by default in fullscreen mode and turn them off in normal mode.

Just quote my post and edit the code to make your own button. Preview your post to get the button link to drag.

Tuesday, 11. July 2006, 08:04:30 (edited)

MaDhAvA

avatar

Posts: 6

India

Okay I will use the mouse gestures for the panel. Thanks.

Thanks - the button works great!

Tuesday, 11. July 2006, 09:19:27

filbo

propellerhead @VMware

avatar

Posts: 658

USA

Originally posted by MaDhAvA:

I use the search button extension in Firefox which allows me to perform a search from the seach box in a new tab (left click in the same tab, middle click in a new tab and right click in a new background tab). Any chance of doing this in Opera?

Type your query in Opera's search box, hit Enter for same tab, Shift-Enter for new tab, Ctrl-Shift-Enter for background tab.

>Bela<

Tuesday, 11. July 2006, 09:59:39

MaDhAvA

avatar

Posts: 6

India

Thanks filbo. I didn't know that.

Wednesday, 12. July 2006, 08:49:27

filbo

propellerhead @VMware

avatar

Posts: 658

USA

Those modifiers (Shift for new tab, Ctrl-Shift for background tab) apply to many parts of Opera's user interface. Almost anything where clicking or hitting Enter follows a URL.

>Bela<

Thursday, 13. July 2006, 01:12:28

nawaland

avatar

Posts: 4

any one nows how to make a direct shortcut key for (Save as Web Archive)
thanks

Friday, 14. July 2006, 08:38:43

bencze

avatar

Posts: 1

Hey guys!

This might not be the appropriate thread for this, but I think it's as close as it gets.

I'm used to opening a new tab in opera by punching "Ctrl + N", but in opera 9 a new window opens up. I would not like to allow "multiple instances" of opera to run, I would like only one window and everything in tabs, and so I would like Ctrl + N to open a new tab only.

I have looked around heavily in options, but haven't found an option to do this.

Can anyone help me with this please?


Thank you,

Cheers,

Bencze

Friday, 14. July 2006, 14:13:53

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

Please read the Forum Rules and Guidelines before posting.

2. Search before posting. Chances are it's been asked before, so you can find the answer without having to wait for someone to reply.

6. Don't hijack other people's threads. If you have a different problem than the one discussed in the thread, post a new thread or search for an existing threads dealing with your problems. Don't post messages that are off-topic to a thread in that thread.

This sticky thread is for buttons. It will soon get too long to browse if people post other requests here.

Sunday, 16. July 2006, 05:57:33

fanel

avatar

Posts: 58

Argentina

Download videos for many sites. Like firefox's extension or the opera's widget.

button

Sunday, 16. July 2006, 14:21:13

Zotlan

ExtendOpera admin

avatar

Posts: 2118

Netherlands

Originally posted by fanel:

Download videos for many sites. Like firefox's extension or the opera's widget.

button


Excellent button, more practical then a widget.

Tuesday, 18. July 2006, 15:30:42

I searched but I didn't find a button that stops Opera from remembering the pages you visit and disables the cookies and the cache. I don't want a "Clear history & Cache" button however. Maybe something that sets the remembered adresses, the memory cache and the disk cache to 0, then sets it back to the precedent setting ? Thanks.

Tuesday, 18. July 2006, 20:58:28

Luchio

Burninating!

avatar

Posts: 941

Canada

Please note that the wiki is not on the same domain anymore, here is the CustomButtons page:

http://operawiki.info/CustomButtons

Also check my signature for a other interesting stuff.

Wednesday, 19. July 2006, 10:49:11

I tried this :
Disable cookies,,,"Private mode off",No Security & Show preferences,20 | Enable cookies,,,"Private mode on",Lock Panel & Show Preferences,20

But it doesn't switch to Enable Cookies, even when they are disabled. I think it's because Opera can perform "show preferences,20" so it chooses the first action, so how can I do ?

And also : the icon stays the same. That's not a real problem, but if there's a way to make it change, it would be great. And can I make the button change automatically the remembered adresses, the memory cache and the disk cache to 0, then back to the previous value ?

Wednesday, 19. July 2006, 11:53:05

Hi,

I check non-troppo's wiki, but it is not really what I want. I want a button in order to get both source and css of the current page in new pages. I tried with the button maker but it doesn't work :frown:

Wednesday, 19. July 2006, 17:17:42

thanks mark_poleon but this button duplicates the page and gives the source but not the stylesheet

Wednesday, 19. July 2006, 17:54:50

mark_poleon

Darkstar

avatar

Posts: 5108

China

this button on some sites not work
maybe is a bug
fix
button Open in Current page

Wednesday, 19. July 2006, 18:55:34

thanks :smile:, final wish: can this open both page in new pages without re-using current page?

Wednesday, 19. July 2006, 19:01:43

I apologize if this request is a repeat-- there are so many functions available, it's hard to tell, sometimes :smile:

I have a great button from the last thread that pops up the volume slider:
VolSlider.jpg

The button is
button

or, leaving out the Opbuts:
=Execute program,"sndvol32.exe","/tray","Volume","Attachment Music"]Volume

I wondered if this button can be modified, maybe with a dropdown, such that clicking would either automatically mute the sound, or alternately, the Volume Slider shown above would pop up with the Mute check-box checked.

Thanks
:D cow

Wednesday, 19. July 2006, 20:02:24

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

I couldn't find any other options apart from these:

button Default

button Recording volume

button Small display

button System Tray

Thursday, 20. July 2006, 00:08:37

mark_poleon

Darkstar

avatar

Posts: 5108

China

Originally posted by Kai_Fr:

final wish: can this open both page in new pages without re-using current page?


It is possible...

Originally posted by mark_poleon:

@Kai_Fr
try this button


Originally posted by Kai_Fr:

this button duplicates the page and gives the source but not the stylesheet



Thursday, 20. July 2006, 02:58:58

sgunhouse

Volunteer

avatar

Posts: 52511

Flag City, USA

@Fëanólë - I don't think you can do that. If you removed the Show preferences parts, then you might be able to, but not with the combinations that you have currently.

Thursday, 20. July 2006, 13:47:30

Oh well. But do you know if it is possible to set the remembered adress and the cache values to 0 then, without showing the preferences ?

Friday, 21. July 2006, 02:33:32

sgunhouse

Volunteer

avatar

Posts: 52511

Flag City, USA

Set preference, but you'll probably have the same problem with it. Getting toggles with several items being toggled to work is very hard.

Friday, 21. July 2006, 12:43:00

I'll try.

*edit* What parameter ? Set preferences, 20 ?

Saturday, 22. July 2006, 02:30:46

sgunhouse

Volunteer

avatar

Posts: 52511

Flag City, USA

Set preferences is a way to actually modify settings in your opera6.ini file directly, so the format is actually related to that file. So for example ...

Set preferences, "User Prefs|Max Direct History Lines=0"

... would set Max Direct History Lines (in the [User Prefs] section) to 0.

Saturday, 22. July 2006, 15:15:05

Ok, thanks for the help !

Tuesday, 25. July 2006, 17:10:36

Hi, everyone,

A few years ago someone made a button for me which not only created a tinyURL for a page but also put the code into my clipboard so that I could post it in, say, an email.

Through various computer changes, new installations, etc. I've lost this button but I also see no mention of it in the forums when I search.

If someone either has an idea where the thread might be or could tell me how to create my own (or create it!) , I'd be much appreciative.

I've created buttons before but in this case, the button action has to pass the tinyURL parameter to the Clipboard and I don't know how to do that.

TIA,

Lucian

Tuesday, 25. July 2006, 17:49:39

Saddle Magic

Psycho Chicken What_The_Cluck!

avatar

Posts: 19042

Niagara Falls, NY(USA)

You can try searching this thread, Opera 8.51 Buttons, the predecessor of the thread we are posting in.

In any case you are in the most likely sub-forum to look for custom buttons. Since the subject you are seeking is older than 2 months, I suggest using the Advanced search. One limit to the forum search, keep your search terms to more than 3 characters.

Tuesday, 25. July 2006, 20:26:54

Pesala

Reclining Buddha

avatar

Posts: 12610

UK

I found that one useful too and also lost it.

I found this menu item, which you would put on the document popup menu:

Item, "Make a TinyURL"= Go to page, "http://tinyurl.com/create.php?url=%u"

button This button will make a Tiny URL for the current page.

Friday, 28. July 2006, 01:02:55

Hi, Saddle Magic, Pesala and Niddhogg,

Thanks for the responses and the links, but what I need it something which will put that tinyURL into the clipboard so that I can paste into an email.

I searched the 8.51 Buttons thread but found it nowhere.

Niddhogg...are you saying I can use the iniFileVariables information with, for instance, the 'tiny' button Pesala posted? I can do this with Firefox and I always think if it's available in FF, it ought to be available in Opera.

L.

Friday, 28. July 2006, 01:28:04

Saddle Magic

Psycho Chicken What_The_Cluck!

avatar

Posts: 19042

Niagara Falls, NY(USA)

Did you try searching the forum? I found this thread, http://my.opera.com/community/forums/topic.dml?id=89196

Friday, 28. July 2006, 01:48:10

sgunhouse

Volunteer

avatar

Posts: 52511

Flag City, USA

Javascript can't modify the clipboard. You'd have to select the link in the page and copy it. Not impossible, I recall someone was doing that in the newsfeeds, but will take work to get right. You'd need to know the layout of the results page and how to select the link you want automatically.

Friday, 28. July 2006, 17:51:24

Niddhogg

avatar

Posts: 4477

Originally posted by lucdix:

Niddhogg...are you saying I can use the iniFileVariables information with, for instance, the 'tiny' button Pesala posted?

Yes, for instance :
Item, "TinyURL"= Copy link, %l & Go to page, "http://tinyurl.com/create.php?url=%c"
Does for a right clicked link what Pesala's button / menu item does for the current url.

Of course you would still have to copy the tinyURL, you might use javascript in the button but the problem is that consecutive commands are not necessarily executed in the order you set them to. That applies to the solution above as well, but a link copy is likely faster than opening a new address.

Saturday, 29. July 2006, 23:28:27

Hi,

I have some buttons below which I want to change how they are displayed. At the moment all of the
below buttons only show the icons and no text labels and also when you hold the mouse
over them only the keyboard shortcut for them is displayed in the tooltip.

What I am trying to do is have the icon as before with no text label but when you hold
the mouse over them it shows the name of the button + the keyboard shortcut in tooltip.

Button1=Go to homepage, , , , "Go to homepage" + Show popup menu, "-" & Set homepage

Button5="Print document, , , , "Printer" + Show print preview as screen | Show print preview one frame per sheet | Show print preview active frame | Leave print preview & Show popup menu, "-""

Button12="Execute program, "C:/Program Files/Outlook Express/MSIMN.EXE", , , "Outlook Express""

Here is a picture of what I am trying to create , I would appreciate anyone's help.

http://my.opera.com/blinkybill/homes/files/tooltip%20on%20button.png

cheers
Blinky






Sunday, 30. July 2006, 00:34:24

sgunhouse

Volunteer

avatar

Posts: 52511

Flag City, USA

So far as I know ... okay, you could probably do that by manually editting your toolbar setup. See the Advanced Toolbar INI Guide on the wiki, specifically references to Parameter pd, button style.

Sunday, 30. July 2006, 16:22:24

Hi, Saddle,

Perfect! That was the thread I was looking for and that button does exactly what I want it to.

Thanks!!!!!

I have no idea why I couldn't find that thread, tried it several times.

My apologies for my tardy responses in here, by the way. I keep asking Opera to notify me when there's an entry in these threads and it never does.

Lucian

Forums » Opera Community » General Opera topics » Customizing Opera