Page 1 of 1

Middle button to open Start Menu??

Posted: Jun 29th, ’20, 12:07
by mecanmeup
if Menu #1 short cut key is "Alt +1", how to use fastkeys to use mouse middle button to send key stroke "Alt +1" to open start menu?
Thanks.

Re: Middle button to open Start Menu??

Posted: Jul 1st, ’20, 11:39
by Marko
Create a shortcut (Type: Command):

Code: Select all

SendLevel 1
Send, !1
SendLevel 0

Re: Middle button to open Start Menu??

Posted: Jul 7th, ’20, 11:50
by mecanmeup
Hi Marko, thanks.

Further to my question, is the fastkeys able to use "click both left and right mouse buttons" to send "Alt +1"?

Re: Middle button to open Start Menu??

Posted: Jul 7th, ’20, 19:15
by Tom
Sure, double-click on a key field to define any shortcut combination according to Autohotkey syntax:

Code: Select all

~LButton & RButton
Be careful to include ~ character to allow the buttons native functions.

Re: Middle button to open Start Menu??

Posted: Jul 8th, ’20, 07:59
by mecanmeup
Hi Tom, I didn't get you. It appears to me that your reply is how to etup a shortcut key to send "left + right" click.

but what I intended to do is another way around: clicking left + right together and then send a key combination, e.g. "alt +1" .

Thanks in advance.

Re: Middle button to open Start Menu??

Posted: Jul 8th, ’20, 22:21
by Tom
No, double-click on a shortcut field and copy the above code as an advanced shortcut. Then set a command as you like, for example Send, !1

Re: Middle button to open Start Menu??

Posted: Jul 8th, ’20, 23:04
by mecanmeup
Thanks, Tom. I should have read your instruction more carefully. :D
also, just realised that clicking the shortcut field can be used to set whatever the shortcut keys I want to use. A wonderful thought!