AutoHotkey Community

It is currently May 27th, 2012, 1:32 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: November 21st, 2009, 5:31 am 
Offline

Joined: October 24th, 2009, 1:56 am
Posts: 7
I'm on an Acer 5536 notebook, using Windows XP. When I put a send {NumLock} command in a script, the numlock state is changed, but it's indicator LED isn't. I tried the LED changing scripts i saw in this forum, but they didn't work.

Any ideas?
Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 21st, 2009, 7:32 am 
Online

Joined: April 8th, 2009, 7:49 pm
Posts: 6071
Location: San Diego, California
Quote:
I tried the LED changing scripts i saw in this forum, but they didn't work.
Next time be specific about which scripts you tried :P

I have an Acer Aspire 5520

I found this thread http://www.autohotkey.com/forum/topic10532.html
And I used this code with the support routines in the first post.
It turned off numlock and capslock, until I pressed the appropriate key twice.

I didn't try to determine which LED matches which number.

Code:
KeyboardLED(1,"off")
KeyboardLED(2,"off")
KeyboardLED(3,"off")
KeyboardLED(4,"off")
KeyboardLED(5,"off")
KeyboardLED(6,"off")
return


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 21st, 2009, 11:16 am 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Code:
SetCapsLockState,On|Off|AlwaysOn|AlwaysOff

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: November 21st, 2009, 3:59 pm 
Offline

Joined: October 24th, 2009, 1:56 am
Posts: 7
Well, that was the script I tried. I tested different LedValues this time, and I found that 4, 5, 6, 7, 12, 13, 14 and 15 change the CapsLock LED. I tested all the way to 30, and no value changed the numlock LED.

Using SetNumLockState instead of Send {NumLock} also didn't work.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Blackholyman, bobbysoon, Google [Bot], iDrug, Ohnitiel, Yahoo [Bot] and 18 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group