Jump to content

need a kick in the right direction


Recommended Posts

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

Once again i need a kick in the right direction.

No problem, bend over... :shocked:

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

No problem, bend over... :(

:shocked:

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 :P

Edited by Paulie
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...