Suppress Opera's main menu opening when using Alt-key shortcuts?

1,208 views
Skip to first unread message

dappled thing

unread,
May 6, 2022, 1:20:42 AM5/6/22
to AutoControl
I've made liberal use of Alt+ shortcuts.  Unfortunately, when I use them, Opera's main menu opens and then has to be closed with an additional tap on the Alt key.  Windows shortcuts such as the ever-valuable Alt+Tab, also, now don't work.  I've scoured AC's settings and  experimented with various workarounds, but no joy so far.  Any ideas?

AutoControl support

unread,
May 7, 2022, 1:22:03 AM5/7/22
to AutoControl
In order to prevent the ALT menu from popping up, you have to simulate a dummy keystroke before releasing ALT so as to fool the browser into thinking that the ALT key was used as a modifier instead of pressed alone.

You can use Ctrl as the dummy keystroke (Shift also works), as shown below:
image.png

You have to do this on every action where ALT is used as a modifier.
Also, on the trigger side, you must only override Q, not Alt. Otherwise other programs won't be able to use ALT as a modifier.

On the coming extension update it'll be possible to solve this in a simpler way.

Getfree

unread,
May 9, 2022, 12:50:21 AM5/9/22
to AutoControl
I found an example at the bottom of this page that does the trick.
It's the example that says "Press and release Control with no keys/buttons in between".
This is exactly what I needed because I can make Alt to be seen by Opera only if it wasn't used in a combination.

1652071464.png
In the trigger I override Alt DOWN but not Alt UP because it seems to make no difference, at least for me.
I found this method much easier because I don't have to modify any of my triggers.

Reply all
Reply to author
Forward
0 new messages