Falc0 Posted June 14, 2004 Posted June 14, 2004 (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 June 14, 2004 by Falc0 RK-DemonSpawned
Developers Jos Posted June 14, 2004 Developers Posted June 14, 2004 check command: WinMove ( "title", "text", x, y [, width [, height]] ) 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.
Falc0 Posted June 14, 2004 Author Posted June 14, 2004 (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 June 14, 2004 by Falc0 RK-DemonSpawned
Developers Jos Posted June 14, 2004 Developers Posted June 14, 2004 You don't need the text when the window title is unique... just specify "". 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.
Developers Jos Posted June 14, 2004 Developers Posted June 14, 2004 Falc0 said: 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^ERRORthe [] are indicators for optional parameters.... you don't actually put them in the syntax... You are sure you checked the helpfile ??? Quote 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.
Falc0 Posted June 14, 2004 Author Posted June 14, 2004 Yeah I checked it..but I'm slow so I probably passed over it lol Thanks again. RK-DemonSpawned
tutor2000 Posted June 15, 2004 Posted June 15, 2004 Falc0 said: Yeah I checked it..but I'm slow so I probably passed over it lol Thanks again.Hey those [ ] confuse me to sometimes Rick
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now