how would I code this, :
standard, hold left ctrl(scancode 29 ) and by pressing `s` ( code 31 ), or any key, for that matter, to get the code to run a command / function.
I have tried the following :
if scancode()=29 and scancode()=31
save array "...",array.....
endif
and this :
if scancode()=29
if scancode()=31
save array "...",array.....
endif
endif
it seems that the scancode that is returned to the code it the fist key I press, is there a command to refresh the scaning of the keyboard, so that once it has recognised the holding of the crtl key, it then waits for the next key press ?
TIA