dexto Posted May 3, 2009 Share Posted May 3, 2009 (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 May 3, 2009 by dexto Link to comment Share on other sites More sharing options...
DCCD Posted May 3, 2009 Share Posted May 3, 2009 Command!! or Function!! [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
dexto Posted May 3, 2009 Author Share Posted May 3, 2009 function would be a better way to put it lol Link to comment Share on other sites More sharing options...
dexto Posted May 3, 2009 Author Share Posted May 3, 2009 Is there any way to retrieve that info then? Link to comment Share on other sites More sharing options...
DCCD Posted May 3, 2009 Share Posted May 3, 2009 try this ========== WinGetText () WinGetState () WinGetCaretPos () WinGetClassList () WinGetClientSize () WinGetHandle () WinGetPos () WinGetProcess () WinGetTitle () ========== ControlGetText () [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
GEOSoft Posted May 3, 2009 Share Posted May 3, 2009 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!" Link to comment Share on other sites More sharing options...
dexto Posted May 3, 2009 Author Share Posted May 3, 2009 (edited) I am looking to store the "window title" [,"window text"] in order to WinSetState later on. Edited May 3, 2009 by dexto Link to comment Share on other sites More sharing options...
dexto Posted May 3, 2009 Author Share Posted May 3, 2009 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? Link to comment Share on other sites More sharing options...
DCCD Posted May 3, 2009 Share Posted May 3, 2009 ALL of then require for you to know "title" [, "text"] My question is how would you get "title" [, "text"] of the active window? There's a lot of cool stuff Control Class Instance Classname Handle [u][font=Arial Black]M[/font]y Blog, AVSS Parts[/u][font=Arial Black]Else[/font][font=Arial Black]L[/font]ibya Linux Users Group Link to comment Share on other sites More sharing options...
Valik Posted May 3, 2009 Share Posted May 3, 2009 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. Link to comment Share on other sites More sharing options...
Valik Posted May 3, 2009 Share Posted May 3, 2009 Boo at will88 getting an answer in before the lock. Link to comment Share on other sites More sharing options...
Recommended Posts