Hi Tim,
The KEYBOARD command works within VFP only. You can use WSH SendKeys method to send keys to external application. I'm not sure if it'll work in your case but you can try. See
Re: SendInput Function Message #
814854.
>
>Yes, I am try to start another application. I am trying to start Macro Express and run a Macro Express Windows macro.
>
>I created a Windows macro using Macro Express. This macros will play some mouse movements, clicks and then keyboard activity. Macro Express lets me run a macro by entering a "hotkey". The hotkey I chose is ctrl+alt+7 (no special significance here, just a key combination the user is unlikely to hit by accident). The Macro Express macro works great if I press crtl+alt+7 on the keyboard. I need to have the macro run automatically by my VFP code. When the KEYBOARD command is used, VFP traps the hotkey and sends it off to the ON KEY LABEL handler. If there is no way to turn off the ON KEY LABEL handling, then my Macro Express solution does not work.
>
--sb--