Page 1 of 1

Script to execute in DBeaver only

Posted: 17 May 2018, 10:23
by raulprivate
Hi,

I'd like to hack a couple of keys for a specific program: dbeaver.exe (a database administration tool)
I've seen tones of topics with similar questions but I haven't been able to figure out how to do it. This is the script that I have:

Code: Select all

#IfWinActive ahk_exe dbeaver.exe
ñ::
 {
    Send, .public
    Return
 }
#IfWinActive
I know the problem is coming from the program because I tried the same script without #IfWinActive and works everywhere except dbeaver.

Any ideas?
Thanks!
Raul.

Re: Script to execute in DBeaver only

Posted: 17 May 2018, 11:04
by AHKStudent
try running your script as admin

also try doing something simple like

q::
send, abc
return

see if your program allows it, if not and it works everywhere else, you know what the issue is

Re: Script to execute in DBeaver only

Posted: 17 May 2018, 11:13
by swagfag
i wouldnt rely on having ñ as a hotkey trigger, does this even work at all?, disregarding context-sensitivity

use the key's VK or SC codes instead