Jump to content

Control Viewer - AutoIt Window Info Tool


Yashied
 Share

Recommended Posts

  • 11 months later...
  • 2 weeks later...
  • 1 month later...
On 8/8/2018 at 3:55 AM, boomingranny said:

I have updated the code (mostly the includes of Constant files) to work with AutoIt .3.14.2:

ControlViewer.zip

Using 3.3.14.5, when I use F5 to run, I get an error "CV.au3"(2711,83) : error: __Iif(): undefined function."

If I add the function below it works.

; #FUNCTION# ====================================================================================================================
; Name...........: __Iif
; Description ...: Perform a boolean test within an expression.
; Syntax.........: __Iif($fTest, $vTrueVal, $vFalseVal)
; Parameters ....: $fTest     - Boolean test.
;                  $vTrueVal  - Value to return if $fTest is true.
;                  $vFalseVal - Value to return if $fTest is false.
; Return values .: True         - $vTrueVal
;                  False        - $vFalseVal
; Author ........: Dale (Klaatu) Thompson
; Modified.......:
; Remarks .......:
; Related .......:
; Link ..........:
; Example .......: Yes
; ===============================================================================================================================
Func __Iif($fTest, $vTrueVal, $vFalseVal)
    If $fTest Then
        Return $vTrueVal
    Else
        Return $vFalseVal
    EndIf
EndFunc   ;==>__Iif

 

Always carry a towel.

Link to comment
Share on other sites

  • 2 months later...

I used @boomingranny's code and corrected/added handy stuff, like:
  1) The file-version would not show compiled scripts
  2) Added the command line to the listview
  3) Added exit to tray on using the emergency exit found in the extras tab
  4) added a context menu to do more than DClick to open the folder

The code is in the downloads area.

image.png.acc7740f8a0267497cba3a966a4afca0.png5c15b717253a6_ControlViewerv0_2018_12_17.png.7fc0b9e071b483cf3143666d3838f836.png

Edited by argumentum
uploaded the files

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

Version 0.2018.12.18

added "/Tray" command line to start on the tray area ( but does not auto-enable HotKeys for emergency )
added a flag for when is in tray to save CPU cycles ( went from 0.03 to 0.01, not THAT important )
changed the GUI resize behaviour ( use "/Reset" command line to force it's default position )
added an auto-reset GUI position, in case of changed monitor(s) resolution, on start and restore from tray
fixed the frame transparency not changing on the fly
added "Visible Text" to Window TAB
changed the "Text" in Control TAB to show multi-line
changed F5 key to refresh the AutoIt TAB, even if not focused on the listview

The code is in the downloads area.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

What's New in Version 0.2018.12.19 (and unless there is a bug, this should be the last update)
added "Save to INI" instead of registry ( if "CV.ini" is found in the same folder, it will save there )
changed "Controls" listview headers, to auto-resize
changed hotkey from Ctrl+Alt+Shift+"Pause" to "Break" ( should be the same on your keyboard )
added an option to do ProcessClose(PID) right after WinClose(PID) repeatedly failed.
added an option to do ProcessClose(AutoIt*.exe) if all prior exit techniques failed
changed emergency hotkey's extra key, to be user declared ( in registry or CV.ini )

The code is in the downloads area.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

What's New in Version 0.2018.12.22

bug fixed: negative values would be wrong when saved to ini
added green icon for "Extras" TAB if Emergency HotKey enabled
added/adapted UIA Spy from https://github.com/jvanegmond/au3_uiautomation
circa 2015 ( added just for the Screenshot to show more detail,
there are newer tools dedicated to this approach )
be aware that enabling "UI Automation" investigation
may crash some executables, SciTE is one.

The code is in the downloads area.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

What's New in Version 0.2018.12.26

bug fixed: would crash if "UIA highlight" enabled when unavailable
change tray items handling ( https://www.autoitscript.com/forum/topic/197123-solved-win7-aero-basic-headache/ )
added timestamp, to capture and report

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • 2 months later...

 

What's New in Version 0.2019.3.17

added "Clone GUI" ( CV collected all the info., might as well copy to clipboard as working code )
The "Cloned" GUI code is nowhere near perfect but may be a good starting point.

The code is in the downloads area.

Edited by argumentum
colors =/

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • 5 weeks later...

What's New in Version 0.2019.04.18
added: TaskSched. entries for OnDemand(UAC bypass) or OnLogon
added: Elevate / DeElevate

When running within 60 sec. of login, the script will start as /Tray, as is assumed that is running "OnLogon".

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

What's New in Version 0.2019.04.26
added: options to copy code to clipboard or save to file and optionally edit it.
fixed: CloneGUI: broke on the compiled version the "ConsoleWrite()" for the generated code.

The files are in the downloads area.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...

argumentum,

What could really be useful is to add a treeview like under the controls section to be able to see any child controls 

I know its an over the top request\idea, but had to be pointed out at-least @ this matter of time 

please there is no need to reply ..

we'll see ... ;)

Deye

Edited by Deye
Link to comment
Share on other sites

  • 3 months later...
If _WinAPI_IsThemeActive() Then
        For $i = 3  To 30
            GUICtrlSetBkColor($Input[$i], 0xFFFFFF) ; <= set system colors here!!!
        Next
        GUICtrlSetColor($Input[6 ], 0xAA0000)
        GUICtrlSetColor($Input[8 ], 0xAA0000)
        GUICtrlSetColor($Input[18], 0x9999CC)
        GUICtrlSetColor($Input[20], 0x9999CC)
        GUICtrlSetColor($Input[22], 0xAA0000)
        GUICtrlSetColor($Input[24], 0xAA0000)
    EndIf

Find the ones that suit you in the system color chart and replace all these colors with system colors

Kindly please clarify where to find the inclusion file AutoItErrorMsgBoxRename_UDF.au3??

Edited by musicstashall
Link to comment
Share on other sites

12 hours ago, musicstashall said:

Kindly please clarify where to find the inclusion file AutoItErrorMsgBoxRename_UDF.au3??

That UDF is not important for the code to run. Just comment it out.

I'll be looking at the code ( that is not originally mine ), to better suit the High Contrast styles, soonish  ( I'll get to it on my free time )

Thanks for sharing and pointing it out.

Edit: what version of Windows 10 are you using ?

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

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...