Max in montreal Posted April 13, 2007 Share Posted April 13, 2007 Once again i need a kick in the right direction. using the example in the help file; $var = WinList() For $i = 1 to $var[0][0] ; Only display visble windows that have a title If $var[$i][0] <> "" AND IsVisible($var[$i][1]) Then MsgBox(0, "Details", "Title=" & $var[$i][0] & @LF & "Handle=" & $var[$i][1]) EndIf Next Func IsVisible($handle) If BitAnd( WinGetState($handle), 2 ) Then Return 1 Else Return 0 EndIf EndFunc How do i use the handles of only windows containing the word "sit" I would like to tile the windows containing "sit" and be able to use and move the window being used to the top. how can i say move this window to the top make a few mouse clicks bring it down to the bottom, bring the next one to the top, make a few mouse moves and clicks and so on. I guess what i would like to see is an example with at least 2 instances being moved around... :"> again thanks in advance. Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 13, 2007 Share Posted April 13, 2007 Once again i need a kick in the right direction.No problem, bend over... Maybe: If StringInStr($var[$i][0], "sit") AND IsVisible($var[$i][1]) Then Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Paulie Posted April 14, 2007 Share Posted April 14, 2007 (edited) No problem, bend over... geez you little horn dog...EDIT: sorry, but i just couldn't pass up that opportunity, I've been want to say "horn dog" for several days now Edited April 14, 2007 by Paulie 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