How is SendPlay implemented?

Discuss other programming languages besides AutoHotkey
R0b0t1
Posts: 1
Joined: 05 Apr 2017, 16:43

How is SendPlay implemented?

05 Apr 2017, 16:50

See this documentation.

How is SendPlay implemented? I had a look at hotkey.cpp and got the impression SetWindowsHookEx may be used but didn't find any code to that effect. Where is the implementation? Searching for SendPlay or any of the functions didn't get me very far.

Cheers, R0b0t1.
Desynchronised

Re: How is SendPlay implemented?

17 Aug 2017, 12:44

Sry for bumping a 4 month old thread, but im really lost in sources. Can anyone tell me in which header and sourcefile i should look for send modes implementations?
User avatar
DojoMike
Posts: 6
Joined: 16 Aug 2017, 18:15
GitHub: dojomike

Re: How is SendPlay implemented?

21 Aug 2017, 20:15

I'm not sure where it's implemented (to be honest, I've had a hard time navigating the source too) but I think I can help you with how:

These are SendMode event / default Send
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646304(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646260(v=vs.85).aspx

And this is SendMode input / SendInput (and I think SendMode play / SendPlay)
https://msdn.microsoft.com/en-us/library/windows/desktop/ms646310(v=vs.85).aspx

Hopefully this well help you with whatever you're building. Also, just out of curiosity, what are you building? I've been slowly working on a project that uses a lot of AHK's source, so it might be useful to compare notes.
mods note: added url tags to fix broken links

Return to “Other Programming Languages”

Who is online

Users browsing this forum: No registered users and 4 guests