argumentum Posted July 23, 2023 Posted July 23, 2023 (edited) What's New in Version 0.2023.7.23 Fixed: compiled with "HiDpi=Y" and now looking at it in a 4k monitor with 200% scaleing, ...big oops. Broke: x64. The HiDpi patch I put together don't work running as x64. Broke: Some stuff in WinXP. The old version is still up for download. (I'll look at it what I get more time to do so) As a side effect the X,Y is correct in any monitor so, is a good update. Compiled script on 3.3.16.1 Files download are in the files section. What and why: ..decided to use the 4k monitor as the main monitor and, CV would not be properly sized Since I'm the unofficial maintainer of the code, it's up to me to fix it but, I'm in a hurry, so did what I could with the time I have. Anyone that'd like to have a go at it, please do. Is not my code/utility, is ours. ( yes, yours too ) Edited July 23, 2023 by argumentum mLipok 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted December 15, 2023 Posted December 15, 2023 What's New in Version 0.2023.12.15 fixed: mouse cursor/pointer not been properly restored in newer windows fixed: x64 added: Set/Unset TOPMOST donnyh13 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
ioa747 Posted December 17, 2023 Posted December 17, 2023 (edited) just tried the new version >Running AU3Check (3.3.16.1) params:-q -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 -w 7 from:E:\AutoIt-v3D input:M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3 "M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(189,10) : error: can't open include file "UDFs\OnDebugMsgBox.au3". #include "UDFs\OnDebugMsgBox.au3" ~~~~~~~~~^ "M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(190,141) : error: _DebugMsgBox_DefaulText(): undefined function. _DebugMsgBox_DefaulText("Please contact the developer." & @CRLF & "(https://www.autoitscript.com/forum/files/file/478-control-viewer-mod/)") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(1463,91) : error: _ColorChooserDialog(): undefined function. Return _ColorChooserDialog($iColor, $hParent, $iRefType, $iReturnType, $iFlags, $sTitle) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ "M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3"(3766,47) : error: CC_WM_COMMAND(): undefined function. CC_WM_COMMAND($hWnd, $iMsg, $wParam, $lParam) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ M:\TEMP\ControlViewer(source v0.2023.12.15)\CV.au3 - 4 error(s), 32 warning(s) Edited December 17, 2023 by ioa747 I know that I know nothing
argumentum Posted December 17, 2023 Posted December 17, 2023 cool, it don't work. I'll download it to another PC and look at it. Thanks for telling me Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted December 17, 2023 Posted December 17, 2023 1 hour ago, ioa747 said: ControlViewer(source v0.2023.12.15)\CV.au3 - 4 error(s), 32 warning(s) Fixed. Try it out. ioa747 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted December 17, 2023 Posted December 17, 2023 What's New in Version 0.2023.12.15c fixed: TaskSched. did not work for not compiled. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted January 26, 2024 Posted January 26, 2024 What's New in Version 0.2024.1.26 added: ProcessClose(AutoIt3*.exe) on not compiled. (taskkill and reload script via batch file) fixed: AutoIt tab's context menu The A3X compile, is in a way a show of how it'd be. As an example. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
pixelsearch Posted September 16, 2024 Posted September 16, 2024 Hi everybody 1) When I ran the following script, a style name was missing : #include <MsgBoxConstants.au3> MsgBox($MB_TOPMOST, "Standard MessageBox", _ "MessageBox text is written into this Static Control." & @crlf & _ "The style of this control is always (?) 0x50022080") Global Const $Style_Static[18][2] = _ [[0x1000, 'SS_SUNKEN'], _ [0x0400, 'SS_RIGHTJUST'], _ [0x0200, 'SS_CENTERIMAGE'], _ [0x0100, 'SS_NOTIFY'], _ [0x0080, 'SS_NOPREFIX'], _ [0x0012, 'SS_ETCHEDFRAME'], _ [0x0011, 'SS_ETCHEDVERT'], _ [0x0010, 'SS_ETCHEDHORZ'], _ [0x000C, 'SS_LEFTNOWORDWRAP'], _ [0x000B, 'SS_SIMPLE'], _ [0x0009, 'SS_WHITEFRAME'], _ [0x0008, 'SS_GRAYFRAME'], _ [0x0007, 'SS_BLACKFRAME'], _ [0x0006, 'SS_WHITERECT'], _ [0x0005, 'SS_GRAYRECT'], _ [0x0004, 'SS_BLACKRECT'], _ [0x0002, 'SS_RIGHT'], _ [0x0001, 'SS_CENTER']] ; ; [0x0000, 'SS_LEFT'] 2) So back to work (msdn & Winuser.h) to add 11 missing styles to the Static control list, now we got them all : Global Const $Style_Static[29][2] = _ [[0xC000, 'SS_WORDELLIPSIS'], _ [0x8000, 'SS_PATHELLIPSIS'], _ [0x4000, 'SS_ENDELLIPSIS'], _ [0x2000, 'SS_EDITCONTROL'], _ [0x1000, 'SS_SUNKEN'], _ [0x0800, 'SS_REALSIZEIMAGE'], _ [0x0400, 'SS_RIGHTJUST'], _ [0x0200, 'SS_CENTERIMAGE'], _ [0x0100, 'SS_NOTIFY'], _ [0x0080, 'SS_NOPREFIX'], _ [0x0040, 'SS_REALSIZECONTROL'], _ [0x0012, 'SS_ETCHEDFRAME'], _ [0x0011, 'SS_ETCHEDVERT'], _ [0x0010, 'SS_ETCHEDHORZ'], _ [0x000F, 'SS_ENHMETAFILE'], _ [0x000E, 'SS_BITMAP'], _ [0x000D, 'SS_OWNERDRAW'], _ [0x000C, 'SS_LEFTNOWORDWRAP'], _ [0x000B, 'SS_SIMPLE'], _ [0x000A, 'SS_USERITEM'], _ [0x0009, 'SS_WHITEFRAME'], _ [0x0008, 'SS_GRAYFRAME'], _ [0x0007, 'SS_BLACKFRAME'], _ [0x0006, 'SS_WHITERECT'], _ [0x0005, 'SS_GRAYRECT'], _ [0x0004, 'SS_BLACKRECT'], _ [0x0003, 'SS_ICON'], _ [0x0002, 'SS_RIGHT'], _ [0x0001, 'SS_CENTER']] ; ; [0x0000, 'SS_LEFT'] ioa747 and argumentum 1 1 "I think you are searching a bug where there is no bug... don't listen to bad advice."
argumentum Posted September 17, 2024 Posted September 17, 2024 What's New in Version 0.2024.9.16 fix: added @pixelsearch's array, fixing missing static styles. The A3X compile, is in a way a show of how it'd be. As an example. Files download are in the files section. ioa747 and pixelsearch 1 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
ioa747 Posted Saturday at 10:05 AM Posted Saturday at 10:05 AM (edited) @argumentum 🏆 First of all, thank you very much for your work on "Control Viewer" - It is a valuable tool. I tried to solve the 'CloneGui' puzzle, but it is for strong solvers I couldn't get it to work While Case $g_ctrl_CloneGui[0] fired Case $g_ctrl_CloneGui[3], and Case $g_ctrl_CloneGui[4], did not fire (or I couldn't) are there any conditions for it to work? As a test to bypass the Case $g_ctrl_CloneGui[3] , and Case $g_ctrl_CloneGui[4] I put _CloneGui(0) in Case $g_ctrl_CloneGui[0] under the ShowMenu($hForm, $g_ctrl_CloneGui[0], $g_ctrl_CloneGui[2]) and it worked (with bypass) He wants his master I have the version Global Const $VERSION = "0.2024.9.16" uncompiled 0.2024.9.16 TaskSched_TriggerType = 0 + Func _ApplicationCheck() $hWnd = 0x0000000000000000 + Func _TaskSched_ForGui() : Type=0, OnLogon=1 - $_CloneGui = 2 + Func _HiDpi_ArrayBuild_DivideBy() - | 1 | 0x0000000000010001 | 1 ([x2]1080/1080[x1]) Edited Saturday at 10:09 AM by ioa747 I know that I know nothing
argumentum Posted Saturday at 03:21 PM Posted Saturday at 03:21 PM 5 hours ago, ioa747 said: As a test to bypass the Case $g_ctrl_CloneGui[3] , and Case $g_ctrl_CloneGui[4] I put _CloneGui(0) in Case $g_ctrl_CloneGui[0] under the ShowMenu($hForm, $g_ctrl_CloneGui[0], $g_ctrl_CloneGui[2]) and it worked (with bypass) He wants his master lol, thanks I'm busy with time sensitive matters. I have a script that needs to be done before tomorrow, and 2 more before Friday. So I'll look at it right after am done with those 3 scripts ioa747 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted Saturday at 03:53 PM Posted Saturday at 03:53 PM ..I see..., I screwed up. It was never gonna do a thing. Ok, here is the patch. look for the hints and amend with the changes: ... Global $g__Context_Autoit = 0, $g__iShowMenuRet = 0 ; <<<<<<< look for this line ... If $g__iShowMenuRet Then $Msg = $g__iShowMenuRet $g__iShowMenuRet = 0 EndIf If $g__Context_Autoit Then ; <<<<<<< look for this line ... Case $g_ctrl_CloneGui[0] ; <<<<<<< look for this line GUICtrlSetState($g_ctrl_CloneGui[0], $GUI_DISABLE) $g__iShowMenuRet = ShowMenu($hForm, $g_ctrl_CloneGui[0], $g_ctrl_CloneGui[2]) GUICtrlSetState($g_ctrl_CloneGui[0], $GUI_ENABLE) ... ShowMenu() used to return value to .... wait for it ..., no one/no thing ...so it now has a new and shiny $g__iShowMenuRet = ShowMenu() to receive the user choice. I'll upload the changes next week ioa747 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
ioa747 Posted Saturday at 04:17 PM Posted Saturday at 04:17 PM argumentum 1 I know that I know nothing
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now