Page 1 of 1 1
Topic Options
#119201 - 2004-05-07 06:32 PM Check for CAPSLOCK
azure Offline
Fresh Scripter

Registered: 2001-12-17
Posts: 14
Loc: Tampa, FL
I have a kixscript that opens IE to a webpage, and SENDKEY's a U/N and P/W. The U/N and P/W are case sensitive, and if the CAPSLOCK is turned on before teh script is run, it sends lowercase instead of uppercase (as it should).

How can I make sure CAPSLOCK is off in the script?

Top
#119202 - 2004-05-07 06:52 PM Re: Check for CAPSLOCK
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Why not force lower case using LCASE() ?

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#119203 - 2004-05-07 07:36 PM Re: Check for CAPSLOCK
Allen Administrator Offline
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4562
Loc: USA
I've run across the same problem. Using ucase or lcase did not work. I even tried sending specific chr(#). But if the Capslock is on, it still sends it to the display capitalized.

AutoIT has some functionality built in to turn the caps lock on or off but I gave up before actually trying it. You might give that a try.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 874 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.053 seconds in which 0.026 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org