PostMessage UDF

11/06/2016 10:34 mlukac89#46
Quote:
Originally Posted by SaidJan View Post
Oh I just found this here. This is awesome, but does not work on my win10 64bits.
It doesn't give any error. Doesn't do anything.


$hWnd = WinGetHandle("Untitled - Paint")
_PostMessage_Click($hWnd, 270,220, "left",1,50)
Did u try to add #RequireAdmin on top of script and compile as 64bit ?
11/06/2016 19:04 SaidJan#47
Quote:
Originally Posted by mlukac89 View Post
Did u try to add #RequireAdmin on top of script and compile as 64bit ?
Edit: Ok, I got where my problem was. It was in window handle, which I should have added class and instance to it.It works good with Paint, but it doesn't work good with MEmu.
I also need ImageSearch in inactive window please.
Thanks
11/09/2016 13:19 Lordsocke#48
mega gut genau das brauche ich gerade :)
06/27/2017 06:56 rachefaust#49
mal schaun wie lange das dauert ne antwort zu bekommen :P aber kurze frage bei _PostMessage_Send($hWnd, $Key, $Delay = 10) is der delay wie lange die taste gedrückt wird oder sowas wie nen sleep also wie lange gewartet wird bis der key gedrückt wird ?