Jump to content

Recommended Posts

Posted (edited)

Hi all,

I have a 1080p screen, after I upgraded to windows 10 AutoIt (and AutoIt window Info) detects my screen as if it was 1536*864. I checked and the screen resolution on display proprieties and it was 1920x1080

All the scripts with mouse movements I wrote before work for a 1080p screen do not work anymore... Anybody cn help me solving this?

 

Thanks in advance

Edited by NormalUser
Posted

Keep away from using mice clicks and such. Use Control* functions instead.

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

Is that for a game?

  Reveal hidden contents

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Posted

it's for a scraper on a website that can only be explored with mouse clicks (too many bot security controls). My script is meant to copy-paste the values. 

Yes I could read the html code for the copy part but I would still need to click in order to browse between he pages. Also the script I have took me many days to write and works just fine. I just need to adjust the screen resolution.

Posted

I am also having this same issue. I have code that does data entry that about 150 people are using at my workplace. I had to use mouse clicks because the system we have to enter data into is resistant to using shortcut keys. Two users recently received a new computer. Now, even though their resolution is set to 1280x1024, AutoIt detects the screen size as 819x1024.

Any ideas?

Posted
  On 8/13/2015 at 1:21 AM, NormalUser said:

Hi all,

I have a 1080p screen, after I upgraded to windows 10 AutoIt (and AutoIt window Info) detects my screen as if it was 1536*864. I checked and the screen resolution on display proprieties and it was 1920x1080

All the scripts with mouse movements I wrote before work for a 1080p screen do not work anymore... Anybody cn help me solving this?

 

Thanks in advance

If your script is specifically built for only x1080 res, why are you even bothering to looked at @screenheight and @screenwidth? 

 

Sounds suspect to me. If you're the one running the script, just force the values and be done with it. 

  • 1 month later...
  • 2 weeks later...
Posted (edited)

I have an idea. In Win 7 example u have a settings.

Sry if i am not correct on words, but my win is not english so have no clue what is the correct english word for them in windows.

so check this:

Console / screen settings / to improve the readability of screen contents

Google translator FTW :D

You have a settings for 100% 125% and 150%. Maaaaaybe this is the problem. Like i said, i am just guessing.

 

Edited by TrickyDeath

Sry for my bad English, and double sry, but I am learning AutoIT language by myself. :)

[u]Tricky[/u]

You can't teach a man anything, you can only help him, find it within himself. (Galileo Galilei)

Posted

This was even in track ticket

https://www.autoitscript.com/trac/autoit/ticket/3141

Try to use:

DllCall("User32.dll", "bool", "SetProcessDPIAware")

 

Is this help you ?

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...