Wouter
December 5th 03, 10:08 PM
Dear experts,
I want to arrange an edit window that accepts input at one
moment through typing in the edit window, and the very
next moment through typing some simple info in another
application (S-plus), which is then translated in a
complex way by S-plus and pasted in the same file, right
where I stopped manual editing.
Notepad accepts both ways of editing (manual input and
pasting from S-plus), but pasting from S-plus is only
possible when the notepad file is closed. For convenience
I want to avoid to have to save and close many times while
working. Textpad accepts both ways of editing, and does
not require the file to be closed in order to paste from S-
plus, but then discards the manual typing unless I save.
There should be a way to save and close notepad
automatically, and preferably via the DOS prompt, because
S-plus can use the DOS prompt. I think posting a wm_close
message and then a wm_keydown to the "&Yes" button should
be able to do the job, but I don't find the right syntax,
and I would need this in a batch file that can be launched
via the DOS prompt.
Any help will be very welcome,
Wouter Vinck
I want to arrange an edit window that accepts input at one
moment through typing in the edit window, and the very
next moment through typing some simple info in another
application (S-plus), which is then translated in a
complex way by S-plus and pasted in the same file, right
where I stopped manual editing.
Notepad accepts both ways of editing (manual input and
pasting from S-plus), but pasting from S-plus is only
possible when the notepad file is closed. For convenience
I want to avoid to have to save and close many times while
working. Textpad accepts both ways of editing, and does
not require the file to be closed in order to paste from S-
plus, but then discards the manual typing unless I save.
There should be a way to save and close notepad
automatically, and preferably via the DOS prompt, because
S-plus can use the DOS prompt. I think posting a wm_close
message and then a wm_keydown to the "&Yes" button should
be able to do the job, but I don't find the right syntax,
and I would need this in a batch file that can be launched
via the DOS prompt.
Any help will be very welcome,
Wouter Vinck