Jump to content

Minimize Game and Resolution


Recommended Posts

Hi, perhaps anyone can help me.

I wrote a simple Script to minimize and maximize a Game. Worked so far. But how can i do something like this:

Windows has 1280*1024 Resolution, the Game has 1024*768 , when i minimized the game i will get the windows resoltuin back and not the 1024*768 game resolution. Is this possible?

Link to comment
Share on other sites

Hi, perhaps anyone can help me.

I wrote a simple Script to minimize and maximize a Game. Worked so far. But how can i do something like this:

Windows has 1280*1024 Resolution, the Game has 1024*768 , when i minimized the game i will get the windows resoltuin back and not the 1024*768 game resolution. Is this possible?

Appears not to be possible directly with AutoIt. I googled "api change display resolution vba" and found this, which had a working VB example. Looking at the API calls inside, Auto3Lib has "EnumDisplaySettings", and lots of examples of calling windows APIs. With a bit of work, should be possible to duplicate the VB example in AutoIt.
Link to comment
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
 Share

  • Recently Browsing   0 members

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