Opera 12.17: How to edit search field pop up menu

  • I would like to edit the menu when one right clicks in a search field in web pages to include "paste and go" if possible. Any ideas? Thanks.

  • What you mean?
    Standard search field (near the address field) already includes "Paste and go" function.

  • I think the topic starter means that they would like a 'Paste and Go' option in the standard text area context menu. So when they are visiting a web site that has a search box (actually built into the page), they can just right click into that search box and paste the contents of the clipboard and immediately initiate a search of that web site.

    This is my take on what they have written, but I could be wrong.

  • I think the topic starter means that they would like a 'Paste and Go' option in the standard text area context menu.

    [Edit Popup Menu]

    Item, "Paste and Go"=Paste & Go

    Another method:

    Item, "Paste and Go"=Focus next widget & Click button

  • I think the topic starter means that they would like a 'Paste and Go' option in the standard text area context menu. So when they are visiting a web site that has a search box (actually built into the page), they can just right click into that search box and paste the contents of the clipboard and immediately initiate a search of that web site.
    This is my take on what they have written, but I could be wrong.

    Yes, that's exactly right, instead of paste and then have to hit the search button

  • @laingman

    Try this:

    [Edit Popup Menu]

    Item, "Paste and Go"=Paste & Focus next widget & Click button

  • Actual paste and go won't work, the one with Click button might ...

  • Here is 100% working solution:

    1. Edit your menu's configuration file

    2. Add this string to the section [Edit Widget Popup Menu]:

    Item, "Paste and Go"=Select all & Paste & Focus next widget & Click button

    P.S. Works if there is "button" tag used (works in most of cases). Doesn't work with JavaScript-buttons.

  • P.P.S: Thanks for the idea

  • Ok, Thanks for all suggestions. My testing so far, both solutions work on some sites but not on the big ones, amazon, google, youtube etc. Seems to me that instead of the button solution it should be the enter key. I thought it would be easy.

  • @laingman

    My testing so far, both solutions work on some sites but not on the big ones, amazon, google, youtube etc.

    The method works well with a native buttons, but not with a sophisticated buttons on JS etc...

    Seems to me that instead of the button solution it should be the enter key. I thought it would be easy.

    You need to integrate utility NirCMD (freeware console utility, Windows only, it doesn't occupy RAM) to emulate Enter button in Opera.

    Item, "Paste and Go"=Select all & Paste & Delay,500 & Execute program, "c:\windows\nircmd.exe","sendkeypress enter"

    This should work everywhere.

  • @laingman

    My testing so far, both solutions work on some sites but not on the big ones, amazon, google, youtube etc.

    The method works well with a native buttons, but not with a sophisticated buttons on JS etc...

    Seems to me that instead of the button solution it should be the enter key. I thought it would be easy.

    You need to integrate utility NirCMD (freeware console utility, Windows only, it doesn't occupy RAM) to emulate Enter button in Opera.
    Item, "Paste and Go"=Select all & Paste & Delay,500 & Execute program, "c:\windows\nircmd.exe","sendkeypress enter"

    Yep. You are a genious, works perfectly on all sites I have tested it with. I would buy you a beer if I knew how. Question, can this nircmd program be used to make cetain items bold type? For example I had edited my document menu (right click) to include back and forward histories and close. I would like close and print to be bold

    Thanks to all who helped to solve this paste and go problem. That was sooo annoying the old way

    This should work everywhere.

  • @laingman

    🍺

    Question, can this nircmd program be used to make cetain items bold type? For example I had edited my document menu (right click) to include back and forward histories and close. I would like close and print to be bold

    No, unfortunately, not.
    But you can use different/custom icons for submenu and menu items.

  • @laingman

    Question, can this nircmd program be used to make cetain items bold type? For example I had edited my document menu (right click) to include back and forward histories and close. I would like close and print to be bold

    No, unfortunately, not.
    But you can use different/custom icons for submenu and menu items.

    OK. Thanks

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.