Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: SendKey Region Regional Keystroke Keyboard Virtual Key Code
Like to know if it is possible not to use sendkey (alternatively) or use sendkey with different regional settings (spanish, french, german keyboard) winbatch verion 2009b, xp pro.
thanks for help in advance..
WinBatch translates the SendKey parameters like '{Enter}' to something called a virtual key code and passes that to the operating system. Virtual key codes work with all keyboard and regional settings. This is basically how a keyboard driver works because it translates key scan codes to virtual key codes.
As a matter of good scripting practice, you might consider using the control manager's cPostButton or cClickButton function as they provide finer control than the SendKey function.
Article ID: W18274
Filename: Sendkey to Different Region Keyboard.txt
File Created: 2009:05:29:09:45:28
Last Updated: 2009:05:29:09:45:28