Hello.
I was wondering if any of you have ever done this before or could point me in the right direction.
[code=vb]sub test()
hWnd = API_FindWindow( "ConsoleWindowC lass", "Python")
SendCommand "/echo -a " & hWnd
iMsg = "0x000C"
wParam = "0&"
lParam = "test"
MyValue = API_SendMessage ByString(hWnd, iMsg, wParam, lParam)
end sub[/code]
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.
I was wondering if any of you have ever done this before or could point me in the right direction.
[code=vb]sub test()
hWnd = API_FindWindow( "ConsoleWindowC lass", "Python")
SendCommand "/echo -a " & hWnd
iMsg = "0x000C"
wParam = "0&"
lParam = "test"
MyValue = API_SendMessage ByString(hWnd, iMsg, wParam, lParam)
end sub[/code]
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.