ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: close tab with right click in opera

<< < (3/4) > >>

kalos:
@kalos: Your original request of a single right-click would be very difficult to do reliably.  How about a double-right-click or some other sort of modifier like ctrl-right-click, etc.?
-skwire (October 07, 2011, 11:51 AM)
--- End quote ---

double click or even middle click would be the closest, but why single right click wouldn't be reliable?

skwire:
double click or even middle click would be the closest, but why single right click wouldn't be reliable?-kalos (October 07, 2011, 01:29 PM)
--- End quote ---

Because, when working externally with a web browser, it's difficult (if not impossible) to know what type of control the mouse is over.  Programmatically, it all looks like one large control instead of individual text boxes, edit fields, etc.  Does that make sense?

kalos:
double click or even middle click would be the closest, but why single right click wouldn't be reliable?-kalos (October 07, 2011, 01:29 PM)
--- End quote ---

Because, when working externally with a web browser, it's difficult (if not impossible) to know what type of control the mouse is over.  Programmatically, it all looks like one large control instead of individual text boxes, edit fields, etc.  Does that make sense?
-skwire (October 07, 2011, 01:37 PM)
--- End quote ---

yup, but javascript can interact with webpage elements (maybe other languages too)

skwire:
Here's an AHK snippet that will let you middle-click to close a tab in Opera:


--- Code: Autohotkey ---SetTitleMatchMode, 2 #IfWinActive, Opera ahk_class OperaWindowClass{    MButton:: SendInput, ^w}#IfWinActive

kalos:
Here's an AHK snippet that will let you middle-click to close a tab in Opera:


--- Code: Autohotkey ---SetTitleMatchMode, 2 #IfWinActive, Opera ahk_class OperaWindowClass{    MButton:: SendInput, ^w}#IfWinActive-skwire (October 07, 2011, 01:55 PM)
--- End quote ---

but it should not work when the cursor is inside text box, when text is selected, etc :D
I too think it's difficult, but thanks anyway!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version