Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Write to the Command Window?
Message
From
06/05/2013 16:56:51
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01572796
Message ID:
01572817
Views:
82
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform