Thanks luis PostMessage is not the right way to send input to another app I try to use PostMessage because in a forum C, a member say not use SendMessage replace it by PostMessage :(
As you say not to use PostMessage, I wonder if you can do it with SendMessage, or in both cases should not do ...
1 / Apparently the # WM_KEYUP double the character, is this normal? 2 / I can not write the numbers 1 and 2, they are replaced by the symbol that is on the same key. I'm sending the SHIFT key, it still does not work
Have you try the exe in the link ??? If you try it you understand what i want to do :) I want just can copy text in another application and paste it in PB appli, and of course the opposite.
Since yesterday i have found another way to send text to another application. It's again a code of Netmaestro ...
Apparently my project does not interest many people. :( I progressed through a code of FWEIL, I can now list the classes and thanks to DIGGER I can focus on the good. It remains problematical and not least, I still do not know how to detect the object in focus, so whoever at the cursor when the ...
Nobody can help me ? My program works with items like keys CTRL+C / CTRL+V and also with sending each character. But I would have loved to have the direct method sending a text, if it is possible of course.
To show you what I've done, here's a draft of my program. It is super simple to use, well I ...
I tried with this code, the word goodbye is sent, but the caption panel codeBlock before called "SCIwindow" is now called "goodbye" :shock: The text is not sending to the cursor Procedure EnumChildProc(hwnd, lParam)
If hwnd result = 1 tLen = SendMessage_(hwnd, #WM_GETTEXTLENGTH, 0, 0) text ...
Thanks for your answer. The SendKey works, it's the most simple method
But i believe, i need a little bit of help for the sendmessage, i don't know how use this API :oops: And i have search RealChildWindowFromPoint on the forum, the only one answer is your post :lol: Hwnd = FindWindow_(0 ...
I try to create a Snippet manager, for do that i send key to the external application. The problem is some application have several tab, and even if i enumerate the class into this application i'm not sure to send the text to the good tab.
Have you a way for obtain the handle where the cursor ...
I try to reproduce the same manager template that PB. It is very good, and I used every day. Several problems, gave me the idea of trying to create one myself. 1 / I do not really like that found in freeware 2 / When using several machines and also several versions of PB, think to copy and ...
You probably want to use the clipboard as an interim transfer or holding. Yes exactely What is it you need to do? I want create a little universal snippet manager. I need for that, to can sending to all IDE (PB Ide, Jabpbe, NotePad++, CodeBlock, VC++, VB, etc ...) a snippet.