quote:
Originally posted by ivan300
This is what i have so far, It will only trun off the led but it wont turn it on
If some one can debug it and release it please be my guest
check your declaration of KEYEVENTF_KEYUP:
code:
var KEYEVENTF_KEYUP = '&H2'
A string is something with quotes put around, but
&H2 is not a string it is a hexadecimal number.
To define KEYEVENTF_KEYUP properly as a number:
code:
var KEYEVENTF_KEYUP = 0x02