alt right + f4 works but not with left alt , after left alt there is not an 1 if f4 is hold !?
there seems also a bug if alt right is pressed a 17 appear and after released it still have 1, key 17 is ctrl
i suggest using shift or crtl with F4 combination.
Do
print(GetRawKeyState( 18 ))
print(GetRawKeyState( 115 ))
If GetPointerPressed()
exit
EndIf
sync()
Loop
end
show all with =1
SetWindowSize(1280,720,0)
SetVirtualResolution(100,100)
local i as Integer
Do
for i=0 to 255
if GetRawKeyState(i) then print(i)
next
If GetPointerPressed()
exit
EndIf
sync()
Loop
end
if you need the correct order of key pressed, check both crtl =1 and F4 =0 state is first key hold, if first key hold then check both return 1,
if both =0 then reset this first key hold flag.
AGK (Steam) V2017.01.09 : Windows 10 Pro 64 Bit : AMD (16.12.1) Radeon R7 265 : Mac mini OS Sierra (10.12.2)