I was wondering if any of you have ever done this before or could point me in the right direction.
Expand|Select|Wrap|Line Numbers
- sub test()
- hWnd = API_FindWindow("ConsoleWindowClass", "Python")
- SendCommand "/echo -a " & hWnd
- iMsg = "0x000C"
- wParam = "0&"
- lParam = "test"
- MyValue = API_SendMessageByString(hWnd, iMsg, wParam, lParam)
- end sub
Bsically I need to be able to send a string to python (well..lots of strings) from a vb application.
Edit:
after doing a bit more searching I came to the conclusion that I probably need something from the win32 module. However, that thing is huge and i can't seem to narrow it down any.
I'll continue diving in those help files hopefully finding something similar to my hopes - being able to register a function that is called whenever the window receives a message from the vb code.