window size and position


  1. Posts : 1
    Win 7 64 bit
       #1

    window size and position


    I play a game called the infinite black, it's downloaded directly to win 7, anyway I use 5 open windows for this game each time I play, i want to know if I can tell windows 7 to recall last size and position for the 5 windows for this game, so that the next time I won't need to set them up all over again, like I need to do each time I play, I am not looking to buy software, and if win 7 can't do something this simple, well then their just making ways so everyone using windows needs to buy more software, I have believed that big business is destroying the internet and that between the internet and software, they have become the largest form of rip offs to the public in the modern world. I'm really kicking myself for trying windows again, and I may just change my motherboard and cpu so I can go back to IOS. Sorry to rant its just that ive run into so many things that work strictly throw windows to get you to spend even more money and I have not been a fan of big business because its treat the public horrible, not that apple is so much better, but it did not seem to throw so many surprises at you like oh you are trying to that simple task you need to buy some other software or add-ons or whatever.
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    You might be able to use AutoIt or AutoHotKey to do what you want. Both are free. I might be able to help you with AutoIt. I would suggest that you avoid AutoIt's forum. See this post where someone wanted to do just what you are wanting to do: https://www.autoitscript.com/forum/t...omment=1301855 While I understand that forum's desire not to help people automate playing a game, positioning windows hardly falls into the same category.

    The basic structure of your script would be:
    Run(name of app that you want to start)
    [starts the app]

    WinWait(window title, window text)
    [waits for the window to show up]

    WinMove(window title, window text, x, y, width ,height)
    [changes the position and size of the window]

    Repeat those 3 lines until all 5 windows are where you want them.


    The title of this window that I'm typing in is:
    window size and position - Windows 7 Help Forums - Pale Moon
    If all of your windows have the exact same title, then we might be able to deal with that by using the Window's handle.

    If you decide to play around with AutoIt for this task, open the tool named AutoIt Window Info. That will let you see what AutoIt "sees" for the window titles and text. Double clicking on the title copies it to the OS clipboard so that you don't have to type it out (and make errors).

    window size and position-capture.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:40.
Find Us