Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stuffing a wild turkey...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00390483
Message ID:
00390913
Vues:
17
Thanks, Michelle!
I've never used a macro, so it never came to mind.
What I finally had to do was a combination of a macro and my prg, called from the DEV menu, which contained:

RESTORE MACROS FROM n:\test\gaming\pubvars.fky
KEYBOARD "{ALT+F12}"
KEYBOARD "{ENTER}"

It turns out that my 'Wild Turkey" was nearly too big for the macro editor, which seemed to limit out somewhere
around 1600 bytes. I had to really squeeze to avoid the "Key String too long" error.
Thanks,
Jerry


>How about a macro?
>
>Michelle
>
>
>>I've been using a method of setting up my development environment, as suggested by Whil Hentzen in his VFP6.0 book.
>>
>>His method uses a menu added to the VFP development menu and envolves stuffing the keyboard buffer to set certain variables need to run forms live:
>> KEYBOARD "{CTRL+F2}"
>> KEYBOARD "CD N:\test\gaming"
>> KEYBOARD "{ENTER}"
>> KEYBOARD "gcNamex = 'REV0205'"
>> KEYBOARD "{ENTER}"
>> KEYBOARD "gcAccessLevel = 'ALL'"
>> KEYBOARD "{ENTER}"
>> KEYBOARD "gcDefaultDir = SYS(5)+SYS(2003)"
>> KEYBOARD "{ENTER}"
>> KEYBOARD "nKeyField = 1"
>> KEYBOARD "{ENTER}"
>> KEYBOARD 'USE (gcDefaultDir + "\DATA\constants") IN 0 ALIAS Constants SHARED'
>> KEYBOARD "{ENTER}"
>> KEYBOARD "gcPreAnnualLicense = Constants.PreAnnual"
>> KEYBOARD "{ENTER}"
>> KEYBOARD "gcCurAnnualLicense = Constants.CurAnnual"
>> KEYBOARD "{ENTER}"
>> etc.........
>>
>>and so on. The problem is that I seem to be limited to 24 stuffs, which doesn't make sense. I need to stuff only need 5 more!
>>
>>So close and yet so far. Before I waste a lot of time trying to work around this, does anyone have any OTT suggestions?
>>TIA,
>>Jerry
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform