>Does anyone know how to force FoxPro to save the contents of the command window without having to quit FoxPro?
>
>Thanks,
>Dan
I don't know how to force foxpro but I know how to ask it nicely to save the contents of the command window to the file :)
ON KEY LABEL f9 do SaveCW
keyboard "{CTRL+f2}{Ctrl+A}{pause .1}{Ctrl+C}{Ctrl+END}"
STRTOFILE(_cliptext, "_command.txt")
ENDPROC
--sb--