lottafreetime22 Posted November 4, 2005 Share Posted November 4, 2005 (edited) rm Edited July 31, 2020 by lottafreetime22 rm Link to comment Share on other sites More sharing options...
t0ddie Posted November 4, 2005 Share Posted November 4, 2005 (edited) I'll release my prog as a UDF when i'm done. First i need help with this:i need something that can return the window under the mouse - without activating it, and without moving any or minimizing any open windows. how does the autoit window info tool do this? i'll explain why i want this after i write the program. I've checked the autoit help file, no commands relating to this at all.not sure if this will help, but at least you can get the name of ALL the windows. if you know what names you DONT want you can check for the new name against them or something.WinList ( ["title" [, "text"]] )If no title and text is given then all top-level windows are returned.The array returned is two-dimensional and is made up as follows:$array[0][0] = Number of windows returned$array[1][0] = 1st window title$array[1][1] = 1st window handle (HWND)$array[2][0] = 2nd window title$array[2][1] = 2nd window handle (HWND)...$array[n][0] = nth window title$array[n][1] = nth window handle (HWND)also on windows xp at least... there is a tooltip that tells you the window when you hover the mouse over them when they are minimized in the task barmaybe that can help you. Edited November 4, 2005 by t0ddie Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
Nuffilein805 Posted November 4, 2005 Share Posted November 4, 2005 you need the window under the mouse if its active or not? the autoitwindow-info is only getting the active window maybe you can combine $a = winlist("") dim $b[100] for $i = 1 to $a[0][0] step 1 $b[$i] = wingetpos ($a[$i][0]) next the coordinates should be stored in the several $b's then you can check where the mouse is $c = mousegetpos() the rest is up to you problem is overlapping windows & maximized windows my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
lottafreetime22 Posted November 5, 2005 Author Share Posted November 5, 2005 (edited) rm Edited July 31, 2020 by lottafreetime22 rm Link to comment Share on other sites More sharing options...
JSThePatriot Posted November 5, 2005 Share Posted November 5, 2005 The AutoIt Window Info tool only gives information on the window that is active. Like Nuffilein805 said. If you are wanting something else then you will need to write another UDF to do that for you, but it is impractical. JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more) Link to comment Share on other sites More sharing options...
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