Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 22:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Question about _WinAPI_PostMessage!

Discussion on Question about _WinAPI_PostMessage! within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2007
Posts: 219
Received Thanks: 43
Question about _WinAPI_PostMessage!

Can anyone tell me if there is a way to make postmessage *Using mouseclicks*
To click on coordinates returned from PixelSearch function ?
I tried to do this like that but its not working actually cause w Param and LParam is not correct


Here is a little part of the code

I tried to use this with ControlClick but
FastFind returns weird cordinates (they dont work with ControlClick at all, while they work normally with mouseclick)
also the only reason im using FastFind is cause it works in background

So if anyone know how to make PostMessage to click on x,y Coordinates returned by pixelsearch let me know


#Edit
Just found figured out what was my problem with ControlClick -,-
I used
Opt("MouseCoordMode", 2) instead of Opt("MouseCoordMode", 1)
Now it clicks on correct position LOL
owadziak is offline  
Old 04/07/2019, 07:29   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 9
Received Thanks: 1
do fastfind really work on background windows?
buglyff is offline  
Reply


Similar Threads Similar Threads
Problem _WinApi_PostMessage()
08/16/2015 - AutoIt - 1 Replies
Hi to all, I've a problem with post message function. I want to simulate a mouse click on a window: ;Mousemove _WinAPI_PostMessage ($BGAPI_HWND, 0x200, $x, $y) ;Mousedown _WinAPI_PostMessage ($BGAPI_HWND, 0x201,$x, $y) ;Mouseup _WinAPI_PostMessage ($BGAPI_HWND, 0x202, $x, $y)
Bot question...stupid question by the way
12/05/2007 - Conquer Online 2 - 5 Replies
ok i have this litlle problem with CoPartener..that is i cant find it...i looked where i found it before...but when i download it...BOOM...just S3DHook.dll ....evreywhere i look..the same thing...can anybody help me...help a poor noob....by the way...got weed?text2schild.php?smilienummer=1&text=WEEEE EED!' border='0' alt='WEEEEEED!' />



All times are GMT +1. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.