Jump to content

Window Positioning


Recommended Posts

I need to know how to make AutoIt position a window to a certain place on the screen, if possible because some people have the window open in a different part on the screen and I need to make it move somewhere else so all the coordinates are correct.

I have already consulted the Help File and I can't seem to find out how.

If this is possible, please help.

Edited by Falc0

RK-DemonSpawned

Link to comment
Share on other sites

Actually...What would you put in the thing for text?

I am running Window Spy and I got the title but what do I put for text?

EDIT!!

When I try to run the WinMove I get this error

Line 26 (File "C:\Program Files\Diablo II\permer.au3"):

WinMove ("D2Loader v1.10b14 Build on Oct 29 2003", "Diablo II". 139, 85(, 806[, 632]])
WinMove ("D2Loader v1.10b14 Build on Oct 29 2003", "Diablo II". 139, 85^ERROR
Edited by Falc0

RK-DemonSpawned

Link to comment
Share on other sites

  • Developers

Actually...What would you put in the thing for text?

I am running Window Spy and I got the title but what do I put for text?

EDIT!!

When I try to run the WinMove I get this error

Line 26 (File "C:\Program Files\Diablo II\permer.au3"):

WinMove ("D2Loader v1.10b14 Build on Oct 29 2003", "Diablo II". 139, 85(, 806[, 632]])
WinMove ("D2Loader v1.10b14 Build on Oct 29 2003", "Diablo II". 139, 85^ERROR
the [] are indicators for optional parameters.... you don't actually put them in the syntax...

You are sure you checked the helpfile ??? :D

Example from the helpfile:

WinMove("Untitled -", "", 0, 0, 200, 200)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...