June 4th, 2003, 05:22 PM
PostMessage from LUA? or with variables?
I'd like to use Girder to send a 'variable' message (via PostMessage) to a designated window handle
My problem is the window name and the parameters of the message vary. The script only gets all the 'Postmessage' parameters (hWnd, Msg, wParam and Lparam) just before the having to post a message.
I'm wondering if there is a simple solution to this, such as a lua function or if I can use variables within the PostMessage plugin (in which case I need to find a way to identify the destination window name, class, etc., so that the plugin can re-discover the handle value)
Thanks in advance for your suggestions
June 5th, 2003, 03:10 AM
You can make changes in sources of PostMessage plugin for add LUA script support. It can be done by use BigNumber plugin for example.
Or I've do this later.
June 6th, 2003, 05:03 AM
I can make it to undestand variable.
June 6th, 2003, 09:28 AM
Thanks for offering to make changes to the plugin. This would be very useful to my project.
If you could offer a way to send messages to a designated window handle, like the Windows API PostMessage function that would be perfect.
June 9th, 2003, 05:22 AM
Hi. Post me in PM your privat e-mail and I've send you new version for test.
May 5th, 2004, 09:39 AM
Please see the LWinFunc plugin for doing post/send message from lua.