ohio2k8fr Posted August 18, 2008 Share Posted August 18, 2008 (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 August 18, 2008 by ohio2k8fr Link to comment Share on other sites More sharing options...
Andreik Posted August 18, 2008 Share Posted August 18, 2008 You may use @DesktopWidth and @DesktopHeight. When the words fail... music speaks. Link to comment Share on other sites More sharing options...
ohio2k8fr Posted September 10, 2008 Author Share Posted September 10, 2008 You may use @DesktopWidth and @DesktopHeight. @DesktopWidth 1280 Opt("MouseCoordMode", 2); MouseMove("120", "180"); MouseClick("left");unable to parse line ... how use this please? Link to comment Share on other sites More sharing options...
Pain Posted September 10, 2008 Share Posted September 10, 2008 If @DesktopWidth == 1280 Then MsgBox(0, "", "Correct resolution") Else MsgBox(0, "", "Resolution is: " & @DesktopWidth) EndIf Link to comment Share on other sites More sharing options...
ohio2k8fr Posted September 10, 2008 Author Share Posted September 10, 2008 If @DesktopWidth == 1280 Then MsgBox(0, "", "Correct resolution")Else MsgBox(0, "", "Resolution is: " & @DesktopWidth)EndIfthanks you !! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now