Annoyances.org
Home » Windows XP Discussion Forum » Message 1205281893 Search | Help | Home
  
re: Question about 'Force NumLock to Behave'
Tuesday, March 11, 2008 at 5:31 pm
Windows XP Annoyances Discussion Forum
Posted by Mike Jankowski (3 messages posted)


Hello All,

Received the following question from Paul Turnberg;
-------------------------------------------------------
Q: I have a macro in a program - and every time it runs it turns on the NUM LOCK. 
 
The macro does use a sell object and sendkeys

Any idea why this would be happening?

I am a programmer.  You seem to know what you are doing, based on your reply in a 
thread, and I am at my wits end. Sorry to intrude on your time.  I will look into 
your book for sure.

Thanks
---------------------------------------------------------
A:
If this is an Outlook Macro, chances are you're experiencing a characteristic whereby 
you cannot send more than one character per "Sendkey" instruction. You may send seperate 
requests for each character, or use APIs. Refer to the following article for more 
information.

http://support.microsoft.com/kb/179987

Hope this helps.

Take Care,
Mike

P.S. - Will: The original solution does not "Fail miserably" in this "big" 100's 
of AD Accounts Environment! My environment has over 50000 users plus more objects. 
Would you really prefer to logon to each machine as you suggest or use an imaging 
solution? Not practical. The best way is to detect the Machine Type (Laptop or Desktop) 
then set the desired setting in both areas an for all future users with a Build Script. 
This is merely a different deployment method for the original solution which achieves 
the same as a Customized Default User Profile in a much more practical and dynamic 
way.





On Sunday, April 24, 2005 at 12:21 pm, Mike Jankowski wrote:
>Hi Guys,
>
>If I understand your dilemma correctly, you need to set another registry key as desired.
>Here's how it works; (Unless you have 3rd Party Keyboard Software Installed)
>
>After Bootup and Before Login, Windows reads the
>HKEY_USERS\.DEFAULT\Control Panel\Keyboard\InitialKeyboardIndicators because there
>is no user logged on. (0=Off, 2=On)
>
>After Logon, Windows Applies the setting from
>HKEY_CURRENT_USER\Control Panel\Keyboard\InitialKeyboardIndicators (0=Off, 2=On)
>This setting is stored independantly indside each user profile, and the state from
>the Windows Session is saved at logoff. This means if you turn your NumLock on, a
>value of 2 is written at logoff, and NumLock will be toggled on at next login.
>
>Hope this helps.
>
>
>



Written in response to:
re: Question about 'Force NumLock to Behave' (Mike Jankowski: Sunday, April 24, 2005 at 12:21 pm)

Responses to this message:
*re: Question about 'Force NumLock to Behave' (will: Wednesday, March 12, 2008 at 10:09 am)

All messages in this thread [show all]
-Question about 'Force NumLock to Behave' (Ann: Sun, Jun 9, 2002, 11:22 pm)
*re: Question about 'Force NumLock to Behave' (techno: Thu, Jun 13, 2002, 7:50 pm)
-re: Question about 'Force NumLock to Behave' (Jeff: Fri, Jun 21, 2002, 12:37 pm)
*re: Question about 'Force NumLock to Behave' (Lane Craig: Fri, Apr 25, 2003, 6:56 am)
*re: Question about 'Force NumLock to Behave' (Floyd: Sat, Jul 27, 2002, 7:09 pm)
-re: Question about 'Force NumLock to Behave' (Valerie: Tue, Aug 6, 2002, 9:07 am)
*re: Question about 'Force NumLock to Behave' (S. Lambert: Fri, Sep 6, 2002, 6:08 am)
*re: Question about 'Force NumLock to Behave' (Ianpb: Tue, Nov 5, 2002, 6:38 pm)
*re: Question about 'Force NumLock to Behave' (Jock McGuire: Sat, Feb 8, 2003, 5:00 am)
-re: Question about 'Force NumLock to Behave' (Random: Mon, Oct 15, 2007, 6:47 am)
-re: Question about 'Force NumLock to Behave' (will: Wed, Jan 16, 2008, 7:20 am)
*re: Question about 'Force NumLock to Behave' (Random: Sat, Jan 19, 2008, 10:31 am)
-re: Question about 'Force NumLock to Behave' (John Burns: Sun, Jul 4, 2004, 5:30 am)
-re: Question about 'Force NumLock to Behave' (Mike Jankowski: Sun, Apr 24, 2005, 12:21 pm)
*re: Question about 'Force NumLock to Behave' (Cheryl Clark: Mon, Apr 25, 2005, 5:47 pm)
*re: Question about 'Force NumLock to Behave' (System Analyst: Wed, Jul 11, 2007, 8:06 pm)
-re: Question about 'Force NumLock to Behave' (Mike Jankowski: Tue, Mar 11, 2008, 5:31 pm)
-re: Question about 'Force NumLock to Behave' (will: Wed, Mar 12, 2008, 10:09 am)
-re: Question about 'Force NumLock to Behave' (Mike Jankowski: Wed, Mar 12, 2008, 10:29 am)
-re: Question about 'Force NumLock to Behave' (Michael: Sat, Apr 12, 2008, 8:18 pm)
-re: Question about 'Force NumLock to Behave' (Chris O.: Thu, May 22, 2008, 2:28 pm)
*re: Question about 'Force NumLock to Behave' (Chris O.: Thu, May 22, 2008, 2:55 pm)
*re: Question about 'Force NumLock to Behave' (Michael Patten: Sun, May 8, 2005, 6:52 am)
*re: Question about 'Force NumLock to Behave' (Rob: Thu, Jun 28, 2007, 9:24 am)
Return to the Windows XP Discussion Forum

All content at Annoyances.org is Copyright © 1995-2008 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.