argumentum Posted May 2, 2020 Share Posted May 2, 2020 8 hours ago, Jon said: Reuploaded the test exes. Should be no slowdowns with GuiOnEventMode or TrayOnEventMode now. ;~ --------------------------- ;~ test_beta.au3 v3.3.14.5 ;~ --------------------------- ;~ @@ Debug(12) : TimerDiff($start) = 145.6027 GUIOnEventMode = 0 ;~ @@ Debug(20) : TimerDiff($start) = 1775.5734 GUIOnEventMode = 0 ;~ @@ Debug(12) : TimerDiff($start) = 1967.2883 GUIOnEventMode = 1 ;~ @@ Debug(20) : TimerDiff($start) = 1963.5744 GUIOnEventMode = 1 ;~ --------------------------- ;~ test_beta.au3 v3.3.15.1 (2020-05-01) ;~ --------------------------- ;~ @@ Debug(12) : TimerDiff($start) = 108.2709 GUIOnEventMode = 0 ;~ @@ Debug(20) : TimerDiff($start) = 126.4575 GUIOnEventMode = 0 ;~ @@ Debug(12) : TimerDiff($start) = 318.5004 GUIOnEventMode = 1 ;~ @@ Debug(20) : TimerDiff($start) = 365.3123 GUIOnEventMode = 1 ;~ --------------------------- ;~ test_beta.au3 v3.3.15.1 (2020-05-02 17:21) ;~ --------------------------- ;~ @@ Debug(12) : TimerDiff($start) = 124.0051 GUIOnEventMode = 0 ;~ @@ Debug(20) : TimerDiff($start) = 147.8302 GUIOnEventMode = 0 ;~ @@ Debug(12) : TimerDiff($start) = 131.6802 GUIOnEventMode = 1 ;~ @@ Debug(20) : TimerDiff($start) = 129.3251 GUIOnEventMode = 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
argumentum Posted May 2, 2020 Share Posted May 2, 2020 (edited) On 5/2/2020 at 12:55 PM, Nine said: The display is not performed correctly : the "-1" does not. So in that regard, yes. Otherwise it shows ( if the "default" is not used but the size is declared ). Strange, as the change should not have affected that PS: the mishap was yesterday in the first beta. So is not a today edit. Edited May 9, 2020 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Nine Posted May 3, 2020 Share Posted May 3, 2020 (edited) @argumentum One could say, it was a bug before, and with the new exe, it is now solved Edited May 3, 2020 by Nine “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 3, 2020 Administrators Share Posted May 3, 2020 I rolled back all the changes I've made in the last few days and that script doesn't work correctly even then. Have you tried the last beta and it works? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Nine Posted May 3, 2020 Share Posted May 3, 2020 I just redownloaded the exe, in case I missed one change. The problem persist both x86 and x64, and both W7 and W10. When I use non-beta it works fine, but if I use the beta exe the tree is shrunk. But like it was said earlier, replacing default size values (-1) by actual size, solves the problem. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 3, 2020 Administrators Share Posted May 3, 2020 @Jos Seems to be revision 12222: Fixed #2962: GUICtrlSetImage() on GUICtrlCreatePIC() with $SS_SUNKEN or WS_EX_DLGMODALFRAME Not sure why that change has broken this script, or if this script is wrong. The source change from that revision was changing nStyle = ResolveGroupStyle(nStyle | SS_BITMAP); to nStyle = ResolveGroupStyle(nStyle | SS_BITMAP | SS_CENTERIMAGE); Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Developers Jos Posted May 3, 2020 Developers Share Posted May 3, 2020 @Jon, You've got mail (PM) ...with the history of this one. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
pixelsearch Posted May 3, 2020 Share Posted May 3, 2020 (edited) @Jon: in case it may help, here is a link where I indicated an issue concerning the image size in GUICtrlCreatePic(), with a downgrade that appeared in AutoIt 3.3.14.3 https://www.autoitscript.com/forum/topic/153782-help-filedocumentation-issues-discussion-only/?do=findComment&comment=1438857 Edited May 3, 2020 by pixelsearch Link to comment Share on other sites More sharing options...
Iczer Posted May 5, 2020 Share Posted May 5, 2020 small problem - if run from SciTE, TrayGetMsg ( ) crush script with error: +>13:34:01 AU3Check ended.rc:0 >Running:(3.3.15.1):C:\Program Files (x86)\AutoIt3\autoit3.exe "c:\program files (x86)\AutoIt3\Examples\Helpfile\TrayGetMsg.au3" --> Press Ctrl+Alt+Break to Restart or Ctrl+Break to Stop !>13:34:02 AutoIt3.exe ended.rc:-1073741819 +>13:34:02 AutoIt3Wrapper Finished. >Exit code: 3221225477 Time: 0.6698 if compiled - it runs OK, but in "About" MSGBox autoit version 3.3.14.0 is shown... (I'm only replaced autoit exe-s) #NoTrayIcon #include <MsgBoxConstants.au3> #include <TrayConstants.au3> ; Required for the $TRAY_ICONSTATE_SHOW constant. Opt("TrayMenuMode", 3) ; The default tray menu items will not be shown and items are not checked when selected. These are options 1 and 2 for TrayMenuMode. Example() Func Example() Local $idAbout = TrayCreateItem("About") TrayCreateItem("") ; Create a separator line. Local $idExit = TrayCreateItem("Exit") TraySetState($TRAY_ICONSTATE_SHOW) ; Show the tray menu. While 1 Switch TrayGetMsg() Case $idAbout ; Display a message box about the AutoIt version and installation path of the AutoIt executable. MsgBox($MB_SYSTEMMODAL, "", "AutoIt tray menu example." & @CRLF & @CRLF & _ "Version: " & @AutoItVersion & @CRLF & _ "Install Path: " & StringLeft(@AutoItExe, StringInStr(@AutoItExe, "\", 0, -1) - 1)) ; Find the folder of a full path. Case $idExit ; Exit the loop. ExitLoop EndSwitch WEnd EndFunc ;==>Example Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 5, 2020 Moderators Share Posted May 5, 2020 Iczer, Thanks. We know about that one - Jon is working on it. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Nine Posted May 8, 2020 Share Posted May 8, 2020 On 5/5/2020 at 5:54 AM, Melba23 said: We know about that one - Jon is working on it. Sorry to insist, but the new exe are terribly fantastic. Is there a chance that this problem be solved in short term. Because, it is a very hard dilemma to choose between the old slow version with no problem with SciTE TrayGetMsg ( ), and the new ones. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
argumentum Posted May 9, 2020 Share Posted May 9, 2020 @Nine, is better to wait until a stable release. Meanwhile use the current version. Can't rush the cook TheDcoder 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
Developers Jos Posted May 9, 2020 Developers Share Posted May 9, 2020 9 hours ago, Nine said: Sorry to insist, but the new exe are terribly fantastic. Is there a chance that this problem be solved in short term. Because, it is a very hard dilemma to choose between the old slow version with no problem with SciTE TrayGetMsg ( ), and the new ones. Try the current Beta to see whether that fixes it as I believe there was an update without upping the versionnumber. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Nine Posted May 9, 2020 Share Posted May 9, 2020 3 hours ago, Jos said: Try the current Beta to see whether that fixes Nope, TrayGetMsg ( ) still crashes when used in Scite. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 9, 2020 Moderators Share Posted May 9, 2020 Nine, I have just downloaded the Beta Autoit3.exe file from Jon's link and TrayGetMsg works just fine for me using Iczer's script above. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Administrators Jon Posted May 9, 2020 Administrators Share Posted May 9, 2020 Only publicised the link to mvps for initial testing. I’ll upload a public beta in a bit. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
Nine Posted May 9, 2020 Share Posted May 9, 2020 Ok. Thanks. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Administrators Popular Post Jon Posted May 9, 2020 Administrators Popular Post Share Posted May 9, 2020 Public beta uploaded. Exit, argumentum, HurleyShanabarger and 2 others 1 4 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
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