Sign in to follow this  
Followers 0
Its2l82die

MakelParam related issue

4 posts in this topic

Hi,

I'm trying to write a script that will post a message of a single mouse click so correct me if I'm wrong but the lines should look like this:

DllCall("user32.dll","int","PostMessage","hwnd",$hwnd,"Int",0x00000201,"Int",0x00000001,"long",$cords)
DllCall("user32.dll","int","PostMessage","hwnd",$hwnd,"Int",0x00000202,"Int",0x00000001,"long",$cords)

My problem is in the $cords part.

As I know there is a Macro in C++ which is called MakelParam that combines the X coordinates of the mouse and the Y coordinates into a single value that goes into $cords which is our lparam.

Could someone help me understand what happens inside MakelParam in Autoit script language, or show it in a snippet.

Thanks in Advance,

Its2l82die

Share this post


Link to post
Share on other sites



Neither MouseClick() nor ControlClick() do what you need?


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

I understand that, thats why I'm asking if you could show me the function that MakelParam does in Autoit script language and not give me an alternative command.

Hope you understand what I mean and sorry I'm not explaining myself right.

Share this post


Link to post
Share on other sites

I'm sorry for bumping this up but its been sometime since I started this thread and no one have helped me with my issue.

What I'm asking is does anyone know what is the MakelParam function in VB(I believe it is), and what does it do to the X and Y values of the mouse's coordinates?

@cameronsdad Sorry if you didn't understand me, but what I meant is that ControlClick() won't do for me cause the window doesn't have a Control ID and MouseClick() is not an option as I need the window do be minimized.

Thanks in advance,

Its2l82die.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0