Jump to content
Sign in to follow this  
dexto

missing command?

Recommended Posts

dexto

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

Share this post


Link to post
Share on other sites
dexto

function would be a better way to put it lol

Share this post


Link to post
Share on other sites
dexto

Is there any way to retrieve that info then?

Share this post


Link to post
Share on other sites
GEOSoft

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!"

Share this post


Link to post
Share on other sites
dexto

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

Edited by dexto

Share this post


Link to post
Share on other sites
dexto

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?

Share this post


Link to post
Share on other sites
Valik

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.

Share this post


Link to post
Share on other sites
Valik

Boo at will88 getting an answer in before the lock.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×