Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and Windows macro recorders
Message
 
 
À
11/07/2004 13:50:42
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00922625
Message ID:
00923144
Vues:
41
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform