Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write to the Command Window?
Message
De
06/05/2013 16:56:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01572796
Message ID:
01572817
Vues:
81
>>Are there any tricks that would allow me to dump output (text) to the Command Window?
>
>From a program you can do
>
>
>activate window 'command'
>
>keyboard 'hello'
>
>
>From outside you can modify the file _command.prg

That can be done from code called in the startup code, as defined in one of the options in config.fpw. Here's a line from my vfpstart.prg:
STRTOFILE(TEXTMERGE("*--<<DATETIME()>> - <<SYS(0)>> ")+0h0d, HOME()+"_command.prg",1)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform