Sign in to follow this  
Followers 0
Falc0

Window Positioning

8 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



Ahh ok thank you very much. :D


RK-DemonSpawned

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


Link to post
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
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)


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Yeah I checked it..but I'm slow so I probably passed over it lol

Thanks again.


RK-DemonSpawned

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  
Followers 0