this annoying Babylon (translator program) message will come up every now and then when I click on the sound button on babylon window that says if you want to buy more sounds for your babylon software, so I tried to get rid of it with assigning all keys to close that message if it exist, but when I execute this code (a part a bigger script), afaik it should use
Alt & q for closing the message window
if that window exist, I also defined Alt & q to reload open script inside Scite, but when I execute this code (below) my alt & q doesn't reload script in scite, as it always does, and it literally does nothing, I'm just posting this, in case I'm doing something wrong in this code:
Code: Select all
#IfWinExist, Babylon Message ahk_exe Babylon.exe
Alt & q::
q::
w::
e::
r::
t::
y::
u::
i::
o::
p::
[::
]::
a::
s::
d::
f::
g::
h::
j::
k::
l::
;::
'::
\::
z::
x::
c::
v::
b::
n::
m::
,::
.::
/::
LButton::
RButton::
MButton::
Enter::
Ctrl::
Shift::
alt::
space::
tab::
CapsLock::
esc::
AppsKey::
lwin::
rwin::
SetMouseDelay, -1
SetKeyDelay, -1
WinKill
return
I'm gonna try putting settimer for this purpose if I couldn't figure this out, but my pc is too slow, and I'm afraid it's gonna make it worse
also if anybody have any better idea would be much appreciate