ccla Posted July 31, 2006 Posted July 31, 2006 I have a script that I made using autoit and the recorder that logs me into about 10 different programs @ work. Since I didnt have much luck getting the recorder to capture mouse movement and clicks I used all keystrokes to manpulate all my logins and windows. Problem however lies with the movement of 3 windows. These 3 windows are actually 3 different instances of the exact same program. I have to do this as I have 3 different "regions" inside the program I need to access. It seems the recorder isint able to distinguish one from another. I very carefully used keystrokes to move each window where I wanted it and saved the script. But upon launching the script Autoit moves one window 3 different ways Ideas?
Xenobiologist Posted July 31, 2006 Posted July 31, 2006 (edited) HI, quick and dirty : If they are the same, make the unique e.g. by renaming the window title. Isn't there any chance to identify the windows by classname, text or something else? So long, Mega Edited July 31, 2006 by th.meger Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
BabyBeast Posted July 31, 2006 Posted July 31, 2006 check for the window name then process id. with process id it will solve your problem above
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