I would like a Commands with parameters SENDMESSAGE POSTMESSAGE to send msg to windows a class.
A simple _WM_COPYDATA send with: Class, String, dwData parameters.
SENDMESSAGE Command with parameters
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: SENDMESSAGE Command with parameters
You can use AutoHotkey to do this easily.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: SENDMESSAGE Command with parameters
yes but I'd rather do it directly without using third-party applications.
it should require little code to get it.
it should require little code to get it.
Re: SENDMESSAGE Command with parameters
Well, WM_COPYDATA is not such as easy, it sends a structure pointing to arbitrary data, even standard TC cd command uses binary data, so you can't just use text command line for that w/o some endcoding... Why do you need to send WM_COPYDATA and to which window?
You can use my tiny TCFS2 tool, it allows sending messages to TC windows and searching windows by text or class. However it only allows sending WM_COPYDATA for changing TC directories (tcd command).
You can use my tiny TCFS2 tool, it allows sending messages to TC windows and searching windows by text or class. However it only allows sending WM_COPYDATA for changing TC directories (tcd command).