Disable multiscreen hotkeys

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
E9B6
Posts: 4
Joined: 16 Jun 2018, 08:59

Disable multiscreen hotkeys

16 Jun 2018, 09:04

When I press CTRL+1 or CTRL+2 or ALT+1 etc, I get large numbers coming up in the centre of the monitor identifying which display.
Unfortunately I am often in a program which requires those combinations to deal with display aspects in that program.
It is driving me nuts, as I have to reboot the PC every time.
Is there a way to simply disable the multiscreen hotkeys whilst keeping them active in the programs?
User avatar
divanebaba
Posts: 805
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: Disable multiscreen hotkeys

27 Jun 2018, 16:58

Hello and welcome to the AHK-forum.

I'm using Win7 and do not know your described hotkeys, that displays "large numbers coming up in the centre of the monitor".
So I can just suggest without any warranty. You can try following. Make a hotkey that only works in your desired program.
Following example is working with Windows calculator and second example with Notepad++.

Code: Select all

$!1::
if WinActive("ahk_exe calc.exe")
send !1
return

$^1::
if WinActive("ahk_exe notepad++.exe")
send ^1
return
To find the title or ahk_class of your desired program, use WindowSpy.

This type of coding is old and surely not 250% professional. Maybe this functions will work better.
Einfach nur ein toller Typ. :mrgreen:
E9B6
Posts: 4
Joined: 16 Jun 2018, 08:59

Re: Disable multiscreen hotkeys

27 Jun 2018, 17:02

The program has hot keys, but multi screen overrides them
E9B6
Posts: 4
Joined: 16 Jun 2018, 08:59

Re: Disable multiscreen hotkeys

27 Jun 2018, 17:02

The program has hot keys, but multi screen overrides them
E9B6
Posts: 4
Joined: 16 Jun 2018, 08:59

Re: Disable multiscreen hotkeys

27 Jun 2018, 17:03

The program has hot keys, but multi screen overrides them
User avatar
divanebaba
Posts: 805
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: Disable multiscreen hotkeys

27 Jun 2018, 17:18

WZT (was zum Teufel - german version of WTF) is "multi screen"?
Without more information, I can not help. Like in real world, following law is guilty: "Less in - less out."
Which OS are you using and what is the name of your program?
Einfach nur ein toller Typ. :mrgreen:
User avatar
BriHecato
Posts: 124
Joined: 18 Jul 2017, 07:17

Re: Disable multiscreen hotkeys

27 Jun 2018, 23:30

@divanebaba
This user is just using setup of two or more monitor screens for his work.

@E9B6
Disable screen identifying hotkeys in your graphic settings (graphic card drivers - geforce/ati/intel) start with rightclicking on the desktop and look for it.
It has nothing to do with AHK.
User avatar
divanebaba
Posts: 805
Joined: 20 Dec 2016, 03:53
Location: Diaspora

Re: Disable multiscreen hotkeys

27 Jun 2018, 23:56

BriHecato wrote:@divanebaba
This user is just using setup of two or more monitor screens for his work.
...
Thanks for your description, BriHecato. The meaning of "multi-screen" was for me nothing unknown. Only thing, which I don't know, is, if maybe this hotkeys are possibly part of newer Windows than Win7.
As I know, with every release of a new Windows OS, the amount of hotkeys is increasing. I thought, that maybe his named hotkeys are Windows hotkeys, like for example Ctrl + c or Alt + F4 etc.

Now, after you give direction, I think like you, that his named keyshorts are depending to his video-driver.
Einfach nur ein toller Typ. :mrgreen:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: No registered users and 335 guests