I've tried hpwSendKeysToHandle which works in demo mode but after compiling it no longer works.
Which neobook version? (NB5 demo mode is quite similar to compiled)
Demo mode does not make a difference.
Where do you get the handle from? Is it valid?
Hi HPW!
I'm using NB 5.5.2a.
And I look up the handle via hpwFindaWindow. In regards to it being the right handle I don't know. Should cmd.exe come up with the same handle each time?
Take the hpwSendkeys demo pub and compile it.
Start it and type in the title string of your manually started cmd-window.
Press 'FindAWindow' and see is a handle number appears in the first field of 'Send To Handle'.
Type in some Text in the middle field of 'Send To Handle'.
Press 'Send To Handle'.