Jump to content
Sign in to follow this  
PRM

How to set constant window size in different screen resolution?

Recommended Posts

PRM

Hi in case of MouseClick() method we know that co-ordinates are important.

But when screen resolution changes mouse points to different location than expected how to over come this problem?

untitled.bmp

Share this post


Link to post
Share on other sites
timi1014

MouseClick() is ineffecient instead use explicit funtions.

ControlClick()

WinActivate()

send()

dont know what kind of stuff you want to do...

Share this post


Link to post
Share on other sites
PRM

Hi actually AutoIT Window Info tool not able to identify any information about window, so we dont have any title that can be used with ControClick( ) hence I am using MouseClick().

Edited by PRM

Share this post


Link to post
Share on other sites
timi1014

i had the same problem some time ago...

Do you want to install software?

Sometimes windows info dont capture title just try displayed title.

maybe it is possible to work with keystrokes.

the more you tell the community the more they can help you.

Share this post


Link to post
Share on other sites
PRM

Hi,

AutoIT Window info tool not able to read any info it just shows position of window and

size of window.

so i have found out co-ordinate of option on which i am going to click and then used MouseClick() method.

But when screen resolution changes,MouseClick() method clicks at different position.

Share this post


Link to post
Share on other sites
timi1014

Can you name the Software please.

if you want that we help you, we need some USEFULL information!

Share this post


Link to post
Share on other sites
timi1014

http://unattended.sourceforge.net/installers.php

Share this post


Link to post
Share on other sites
binmats

Hi,,, Have you found the solution for keping a fixed screen resolution, before starting the exe.?

If then please provide it to me........

Thanks in adavnce.

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  

×