I have already a statement like :
Code: Select all
SET KEY VK_F9 TO TestProc
Thanks.
Code: Select all
SET KEY VK_F9 TO TestProc
Code: Select all
procedure TestProc
if GetKeyState( VK_SHIFT )
... your code ...
endif
return
Code: Select all
SETKEY( VK_F9 , {|| if(GetKeyState( VK_SHIFT ), IntMail(), if(GetKeyState( VK_CONTROL ), LogBook(), VcRms() ) ) } )