Pixelastic

You can cut our wings but we will always remember what it was like to fly.

Opening a new tab using Ctrl+Click on Opera

One thing that bugs me everytime I use Opera are the weird keyboard shortcuts. You open link in a new tab by using the middle mouse button (classic) or Shift+click (less classic, we are accustomed to use the Ctrl+Click, Shift+Click being used to open in a new window).

Today it was bugging me one too many times, so I decided to use the power of AutoHotKey to help fix this.

Here is the little snippet I added to my default AutoHotKey script :

;        Open page in new tab in Opera using Ctrl + Click
#ifWinActive, ahk_class OpWindow
^LButton::Send +{LButton}
#IfWinActive

It basically catch every Shift+Click in Opera and return a Ctrl+Click instead, allowing me to finally open tabs the way I'm used to.

Comments

Great idea. Thanks, in principle.

Judging by a number of posts, like me, lots and lots of people want this functionality.
I'm pretty sure that most of them, like me, don't know how to find the 'AutoHotKey script'. A quick google does not help. Lots of pages about how to edit them and what you can do with them. None of the basics, like where they live.

It would only take one more like of text on this page and the people who want to use it could then use it.
Andrewon 2/12/10
Andrew
You can download AutoHotKey here : http://www.autohotkey.com/

I use it on my day work to help in repeating and tedious tasks, so I wrote a few shortcuts to my most common keystrokes.

I do not use Opera very often, only to test websites I'm working on, so I guess this script made sense for other webdevelopers like me.

I'll try to be more specific next time.

Thanks for taking the time to comment :)
Timon 8/12/10
Tim
It's broken at the moment but with a little tweaking I got it :)

; Open page in new tab in Opera using Ctrl + Click
#ifWinActive, ahk_class OperaWindowClass
^LButton::Send ^+{LButton}
#IfWinActive
return

Hope I was of help.
Surya on 17/12/10
Surya
Thanks, I'll update my script :)
Timon 17/12/10
Tim
... and 7 spam blocked

Adding a comment

Leave this field empty, it is only here to defeat spam bots
Will not be published