--- In [email protected], [EMAIL PROTECTED] wrote:
>
> > I'm on XPSP2 too. .ToggleKeys or .ToggleKeys(0,0,0) turns all LED's
> > off, .ToggleKeys(1,1,1) turns all on. Try add Win.Debug(hDev) before
> > Quit. hDev should be a positive integer to work.
>
> Debug is 692, but neither command has any effect on LED's. MS natual
> pro USB keyboard...no drivers installed except native ones in xp
Then, try to replace:
dll.call("DeviceIoControl|ui ui a* ui ui ui a* ui",;;+
hDev,0xB*256*256|0*64*256|2*4|0,tk,4,0,0,tk,0)
with
local ret
dll.call("DeviceIoControl|ui ui a* ui ui ui ui* ui",;;+
hDev,0xB*256*256|0*64*256|2*4|0,tk,4,0,0,"ret",0)
Sean
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/power-pro/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/