sfamonkey Posted July 30, 2004 Share Posted July 30, 2004 Hi. I looked in AutoIT help file and found out how to use the mouse in my scripts which I will just like. But I have bit of a problem. I am using these scripts in my windows install but the screen resolution is like 800*600 when my screen res is 1204*1280. Is there a way I could program mouse and it will work with different resoultions? Link to comment Share on other sites More sharing options...
pekster Posted July 30, 2004 Share Posted July 30, 2004 The best thing to do would be to directally interact with the controls in the installer instead of using mouseclicks. That way it doesn't matter if the installer window is moved, resized, or even minimized or hidden. Otherwise, you could set the mouse coordinate mode relative to the active window, and keep the installer under 800x600 (for a max of about 600x400.) That way it could have the same coordinates under all resolutions. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
sfamonkey Posted July 30, 2004 Author Share Posted July 30, 2004 ok. I like the key board command and they do what I want them to do so I think I will just stick to that. The easier the better Link to comment Share on other sites More sharing options...
pekster Posted July 30, 2004 Share Posted July 30, 2004 But what if the window is deactivated? Or worse yet, another app (like a chat client) takes the focus of the window and you start sending to that window instead? Using controls is a more reliable way to interact with applications. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. Link to comment Share on other sites More sharing options...
sfamonkey Posted July 30, 2004 Author Share Posted July 30, 2004 very true. I was thinking about making a prank program using the mouse command, but I don't care. 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