Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and Windows macro recorders
Message
 
 
To
11/07/2004 13:50:42
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00922625
Message ID:
00923144
Views:
45
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform