I have scripts that read an ini file and sendkeys for user id and password to open programs. The data in the ini file is uppercase, but when I use sendkeys it only works if the user does not have caps lock on. i.e. it reads BFANGUY from the ini file, but if i have my caps lock on, the script sends bfanguy to the login screen. This behavior did not happen on 2003R2 terminal server.
I am guessing I need to check to see if the user has caps lock on, turn it off, sendkeys, then turn it back on.
any help would be greatly appreciated.