Jump to content

Recommended Posts

Posted (edited)

I was looking for a command to get current active window info and i can't find it.

Am i missing something or there is no such command?

EDIT: FUNCTION!!! (not command lol)

Edited by dexto
Posted

Now that you have cleared that up, what info are you looking for? There are a lot of Window and WinAPI functions to choose from depending on what you want.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted (edited)

I am looking to store the "window title" [,"window text"] in order to WinSetState later on.

Edited by dexto
Posted

try this

==========

WinGetText ()

WinGetState ()

WinGetCaretPos ()

WinGetClassList ()

WinGetClientSize ()

WinGetHandle ()

WinGetPos ()

WinGetProcess ()

WinGetTitle ()

==========

ControlGetText ()

ALL of then require for you to know "title" [, "text"]

My question is how would you get "title" [, "text"] of the active window?

Posted

Oh, so not only did you waste time creating a ticket, you also have a forum thread on this? You really don't deserve an answer with the behavior you are demonstrating.

As I said when I closed the ticket, read the documentation. Working with the active window is documented if you'd just take the time to read.

Thread locked because you are just wasting a lot of people's time with this.

Guest
This topic is now closed to further replies.
×
×
  • Create New...