Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Control Viewer - AutoIt Window Info Tool


  • Please log in to reply
69 replies to this topic

#1 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,572 posts

Posted 20 March 2011 - 01:02 AM

*
POPULAR

LAST VERSION - 1.1
18-May-12

Control Viewer (CV) is a replacement of AutoIt Window Info with a number of advantages. I tried to stick to the interface of the last, so you almost do not have to be retrained. During testing, I never managed to find any controls that could not be identified by CV (on the contrary, shows a lot of hidden controls, especially for the system windows). The all program settings are stored in the following registry key:

HKEY_CURRENT_USER\Software\Y's\Control Viewer

The main differences CV from AWI
  • Shows the complete list of all existing controls for the window that are interested (visible, hidden and deleted controls are displayed with different colors that can be changed to any other).
  • Dynamically changing information during search for the windows and their controls.
  • Ability to quickly switch between controls in the list.
  • Ability to show/hide any controls from the list (useful for the overlaping controls).
  • Information for the Style and ExStyle parameters shown in the form of hexadecimal values​​, and as its flags.
  • Added the PID and Path parameters in the Window tab and ability to quickly open a folder that containing the process file.
  • Added the coordinate system relative to the selected control.
  • Shows a color of the selected pixel in RGB and BGR formats.
  • Shows an example fill of the selected color.
  • Ability to select the text encoding (affects the Text parameter in the Control tab).
  • The complete change the appearance of pop-up frame for the selected controls.
  • Simple and convenient tool to get a screenshot of the part screen of interest for publication on the forum (Capture tab).
  • Create a report in the clipboard or a text file for subsequent publication on the forum.
  • Search all running AutoIt scripts and their windows in the system (AutoIt tab).
  • User-friendly interface.

Used shortcuts

Ctrl+Alt+T - Enable/Disable "Always On Top" mode (also available from the menu).
Ctrl+Alt+H - Enable/Disable highlight selected controls (also available from the menu).
Ctrl+A - Select all text (works in any input field).
Ctrl - Hold down when moving the mouse to scroll the screenshot (Capture tab).
Shift - Hold down when stretching/compression of the contour frame for an equilateral resizing screenshots (Capture tab).
DoubleClick (on the screenshot) - Save the image to a file (Capture tab).
DoubleClick (on any list item) - Open a folder with the file of the process or AutoIt script (AutoIt tab).
Del (on any list item) - Close process (AutoIt tab).
F5 - Updating the list (AutoIt tab).

If anyone have any questions or comments about CV, please post it in this thread. I will be glad to any feedback and suggestions.


CV_About.png


CV.png



Files to download

Binary (x86 and x64)
Redirection to CV_bin.zip, 1.14 MB

Attached File  CV_bin.html   121bytes   3093 downloads

Source
Redirection to CV_source.zip, 691 KB

Attached File  CV_source.html   124bytes   1278 downloads

Edited by Yashied, 08 December 2013 - 01:53 PM.

  • UEZ, JScript, Werty and 4 others like this







#2 Bowmore

Bowmore

    Feinschmecker

  • Active Members
  • PipPipPipPipPipPip
  • 831 posts

Posted 20 March 2011 - 03:23 AM

A very nice tool Yashied. It is easy to use and has some nice features.

2 suggestions for improvements

1) You do not capture the control name information,. This is available with AU3Info and is very useful when trying to automate .NET applications, if the programmer has remembered to give the controls names.

2) It would be nice to be able to save a report, in tabular format, that included all available information for every control on the current window. You already have most of the information in the listview at the bottom.

Edited by Bowmore, 20 March 2011 - 06:17 PM.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

#3 4Eyes

4Eyes

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 341 posts

Posted 20 March 2011 - 03:35 AM

Yashied,

I must be doing something wrong as Bowmore seems to have no problem, but I see nothing at all if the various fields of CV. No Window/Control title, class etc.

Tried the exe file and running from source. Sigh...

Can you please advise?

4Eyes

#4 somdcomputerguy

somdcomputerguy

  • Active Members
  • PipPipPipPipPipPip
  • 2,640 posts

Posted 20 March 2011 - 03:40 AM

@4Eyes, You are using the 'Browse Tool' correctly, ya? Click and Drag from there to the Window/Control you are targeting. BTW, Yashied, nice.<br>

Edited by somdcomputerguy, 20 March 2011 - 03:44 AM.

- Bruce /* somdcomputerguy */  If you change the way you look at things, the things you look at change.


#5 4Eyes

4Eyes

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 341 posts

Posted 20 March 2011 - 03:57 AM

somedcomputerguy,

Oh... I didn't understand that was the way to use it at all. Yashied said it was quite sim to AutoIT Window Info so assumed I could just hover around a window.

Thanks for advising.

4Eyes

#6 AdmiralAlkex

AdmiralAlkex

    Here be dragons

  • Active Members
  • PipPipPipPipPipPip
  • 4,607 posts

Posted 20 March 2011 - 06:44 AM

somedcomputerguy,

Oh... I didn't understand that was the way to use it at all. Yashied said it was quite sim to AutoIT Window Info so assumed I could just hover around a window.

Thanks for advising.

4Eyes

Wait. "Freeze" is enabled per default, so why would you assume CW is like Au3Info with Freeze off? Doesn't really make sense. You must be using a ancient AutoIt.

#7 JohnOne

JohnOne

    John

  • Active Members
  • PipPipPipPipPipPip
  • 11,277 posts

Posted 20 March 2011 - 09:49 AM

Really good, and works a treat.

Great work, thanks for sharing.

#8 UEZ

UEZ

    Never say never

  • MVPs
  • 4,497 posts

Posted 20 March 2011 - 11:25 AM

Great stuff again Yashied :)

Cool art of coding, nice GUI, great functions, etc. :)

5* from me!

Br,
UEZ

 
The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯


#9 fett8802

fett8802

    Adventurer

  • Active Members
  • PipPip
  • 120 posts

Posted 22 March 2011 - 08:36 PM

Holy crap! The single best part of this is that it shows ALL available controls regardless of state. This will be incredibly useful. Thank you sir!
My UDF - Basics and Time extensions. Great for those new at AutoIt, also contains some powerful time extensions for pros.ScrabbleIt - Scrabble done in pure AutoIt. (In Progress)Nerd Party Extreme | My Portfolio | Contact Me

#10 zhangla

zhangla

    Seeker

  • New Members
  • 1 posts

Posted 23 March 2011 - 04:24 AM

very good ,Thank you very much!

#11 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,572 posts

Posted 22 April 2011 - 07:12 AM

The small update, version remains unchanged.

#12 Gigglestick

Gigglestick

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 501 posts

Posted 04 May 2011 - 02:05 AM

Wow, extremely impressive. This should definitely replace the one packaged with AutoIt3 whenever the next version is released.
My UDFs: ExitCodes

#13 KaFu

KaFu

    Hey, it's just me, KhaFoo...

  • MVPs
  • 3,327 posts

Posted 04 May 2011 - 08:45 AM

A really cool tool again, five stars from me :unsure: ...

#14 Zedna

Zedna

    AutoIt rulez!

  • MVPs
  • 8,557 posts

Posted 08 May 2011 - 05:17 PM

VERY nice!
Five stars from me.

#15 FireFox

FireFox

    It slips through our fingers, like a fist full of sand.

  • MVPs
  • 5,306 posts

Posted 08 May 2011 - 06:16 PM

It's a huge of work, well done !
I like the graphical interface, 5* from me.

FireFox.

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.

Hardware : Intel® Core™ i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

Updated 07 November, 2013 - If you find dead links please send me a PM, do not post in the topics !


#16 JScript

JScript

    I'm back ... I miss, why not!

  • Active Members
  • PipPipPipPipPipPip
  • 1,070 posts

Posted 08 May 2011 - 06:27 PM

*****
http://notebook.forumais.com (Forum Maintenance Notebooks and Desktop)http://autoitbrasil.com/ (AutoIt v3 Brazil!!!)
Spoiler

Posted Image Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!       


#17 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,313 posts

Posted 08 May 2011 - 06:39 PM

Looks really good Yashied. Definitely a candidate to replace the existing Window Info tool.

I have one small problem. When you drag the browse tool over a window that has a scrolled area then the information on the controls doesn't change as the cursor moves across them if the scrolled item covers that area. The information gets locked onto the scrolled window I think. I tried it on my program here but t is probably the same on any scrolling window. If you scroll fully left and fully down so that the scrolled window is not 'under' the icons at th eright then the information is shown as I would expect again.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

#18 JScript

JScript

    I'm back ... I miss, why not!

  • Active Members
  • PipPipPipPipPipPip
  • 1,070 posts

Posted 08 May 2011 - 06:44 PM

Browse Tool -> Excellent! But does not show information about Firefox 4...
http://notebook.forumais.com (Forum Maintenance Notebooks and Desktop)http://autoitbrasil.com/ (AutoIt v3 Brazil!!!)
Spoiler

Posted Image Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!       


#19 Yashied

Yashied

    Happy in Moscow

  • MVPs
  • 2,572 posts

Posted 08 May 2011 - 07:35 PM

I have one small problem. When you drag the browse tool over a window that has a scrolled area then the information on the controls doesn't change as the cursor moves across them if the scrolled item covers that area. The information gets locked onto the scrolled window I think. I tried it on my program here but t is probably the same on any scrolling window. If you scroll fully left and fully down so that the scrolled window is not 'under' the icons at th eright then the information is shown as I would expect again.

This is because the controls is overlaping. CV highlights the top control, regardless of its style. But you can always make it invisible (click on checkbox in control's list), and continue to search for control of interest.

Browse Tool -> Excellent! But does not show information about Firefox 4...

DirectX...

Edited by Yashied, 08 May 2011 - 07:37 PM.


#20 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,313 posts

Posted 08 May 2011 - 08:45 PM

This is because the controls is overlaping. CV highlights the top control, regardless of its style. But you can always make it invisible (click on checkbox in control's list), and continue to search for control of interest.


OK, I can make the control invisible using the checkbox, but the control highlit isn't the top one; the controls on top are not selected unless I make the bottom window invisible.
But it's not a big problem.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.




1 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


    AutoIt (1)