Sign in to follow this  
Followers 0
ohio2k8fr

Window size

5 posts in this topic

#1 ·  Posted (edited)

Hello everybody,

i can't find this command for :

if my resolution in windows is 1280*1024

Opt("MouseCoordMode", 2);

MouseMove("185", "180");

MouseClick("left");

but

if my resolution in windows is 1024*768

Opt("MouseCoordMode", 2);

MouseMove("205", "190");

MouseClick("left");

script :

--------------------------------------------------

if "the order that i seek"

Opt("MouseCoordMode", 2);

MouseMove("185", "180");

MouseClick("left");

Else

EndIf

if "the order that i seek"

Opt("MouseCoordMode", 2);

MouseMove("205", "190");

MouseClick("left");

Else

EndIf

--------------------------------------------------

it's possible ?

thank you in advance

( i am french .. ;) )

Edited by ohio2k8fr

Share this post


Link to post
Share on other sites



You may use @DesktopWidth and @DesktopHeight.


When the words fail... music speaks

Share this post


Link to post
Share on other sites

You may use @DesktopWidth and @DesktopHeight.

@DesktopWidth 1280

Opt("MouseCoordMode", 2);

MouseMove("120", "180");

MouseClick("left");

unable to parse line ... how use this please?

Share this post


Link to post
Share on other sites

If @DesktopWidth == 1280 Then

MsgBox(0, "", "Correct resolution")

Else

MsgBox(0, "", "Resolution is: " & @DesktopWidth)

EndIf

Share this post


Link to post
Share on other sites

If @DesktopWidth == 1280 Then

MsgBox(0, "", "Correct resolution")

Else

MsgBox(0, "", "Resolution is: " & @DesktopWidth)

EndIf

thanks you !!

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