Hi Shafid,
The KEYBOARD command can send keystrockes to the application it is run in only. To send keystrockes to the external program, you can use WSH SendKeys method or Windows API. See
SendInput Function Thread #
814808 for same code.
>I am running a memory resident program which gives me weight from a scale when I press Ctrl-W on the keyboard. When I get to the weight field (Text1)in Invoice form, and press Ctrl-W, the weight then appears on this field. But when I put Keyboard "{ctrl-w}" in the got focus, or keypress of this field, nothing happens. Am I missing something, plese help.
--sb--