Administrators Popular Post Jon Posted June 12, 2021 Administrators Popular Post Share Posted June 12, 2021 AutoIt v3.3.15.4 Beta View File AutoIt: - Changed: PCRE regular expression engine updated to 8.44. - Added: doc pages about ControlID/Handle and String/Encoding. - Added #2375: SetError(), SetExtended() doc precision. - Added #3780: WinSetTitle() on notepad.exe is reverted when the windows get focus starting Windows 19H1 !!! - Added #3222: Doc precision for statement with 2 FileInstall(). - Added: ConsoleWrite() preserves the @error and @extended. - Added: ConsoleWriteError() preserves the @error and @extended. - Added #2938: Add "GetCount" to ControlCommand() - Added #3539: FileGetTime() UTC. - Added #3808: ProgressOn()/ProgressSet() - size of the progress window - Fixed: Missing Opt("SetExitCode", 1) and AutoIt3 Exit codes in doc. - Fixed #3211: Doc precision for hwnd parameter in Pixel*() functions. - Fixed #3774: Doc precision about Null keyword comparison. - Fixed #3579: DllStructGetData() doc precision. - Fixed #3823: Language Reference - Variables typo. - Fixed #3021: bad obj calling. - Fixed #3106: StringIsFloat() doesn't accept a valid FP exponent. - Fixed #3135: StdioClose memory leak. - Fixed #3165: Call UBound Array[0] AutoIt Crash. - Fixed #3167: Com error handler not called. - Fixed #3179: Number() failure with lower case hex. - Fixed #3182: MouseMove() on multiple screens. - Fixed #3232: Issue when parsing scientific notation literals. - Fixed #3659: InetClose() always false. - Fixed #3682: GuiCtrlCreatePic() with h=0 and w=0. - Fixed #3701: Crash with array 2^24. - Fixed #3710: @OSVersion for Server 2019. - Fixed #3743: [LAST] and WinWaitClose(), WinExists(), WinGetHandle(), etc. - Fixed #3772: int64 = -9223372036854775808 not handled properly. - Fixed #3778: ToolTip() position. - Fixed #3789: FileRead() on big ANSI file (1Gb). - Fixed #3790: UCS2 compare empty string. - Fixed #3807: GUISetIcon() in taskbar. - Fixed #3809: WinGetTitle() on windows created with _WinAPI_CreateWindowEx(). - Fixed #3817: Double to Int64 conversion. AutoItX: - Fixed: run*() showflag default SW_SHOWNORMAL. Aut2Exe: - Fixed #2383: Aut2exe GUI dropped files. - Added #3684: Aut2exe title with version. Au3Check: - Fixed #3785: Crash if too many includes. Au3info: - Added #3938: DPI scaling Support. UDFs: - Changed: Updated used Excel constant enumerations in ExcelConstants.au3 to Excel 2016. - Added #3514: _GUICtrlTreeView_GetLastItem() (Thanks Crazzy). - Added #3611: _GUICtrlListView_SetBkHBITMAP() (Thanks Alofa). - Added #3695: _SQLite_Display2DResult() 2 additional parameters $sDelim_Col and $sDelim_Row. - Added #3675: WinNET.au3 $tagNETRESOURCE: Add constants. - Added #3740: _ChooseColor() support Custom colors (Thanks argumentum). - Added #3547: _FormatAutoItExitCode() and _FormatAutoItExitMethod(). - Added #3696: _ArrayFromString(). - Added #3771: ColorConstants.au3 now include all W3C extended colors. THIS IS A small SCRIPT BREAKING CHANGE - Added #3739: _Array2DCreate(). - Added #3550: _Date_Time_SystemTimeToDateTimeStr() support 2 new formats to return GMT or ISO8601 format. - Added: _WinAPI_CreateProcess() example. - Added #3804: _GUICtrlMenu_CreateMenu() example to demonstrate menuclick non blocking. - Added #3806: _GDIPlus_GraphicsDrawString() with AlphaColor font. - Added #3811: _SQLite_Startup() new parameter to allow return AutoIt Type variables by _SQLite_FetchData(). - Added: _GUICtrlListView_GetSelectedIndices() optimisation (Thanks pixelsearch). - Added: _WinAPI_GetProcessName() and _WinAPI_GetParentProcessName() doc example (Thanks argumentum). - Added #3813: _MemGlobalRealloc(). - Added #3816: _WinAPI_ReadDirectoryChanges() example with magic number. - Fixed #3819: _FileCountLines() can use file handle. - Added: SpeedUp display and sorting of ArrayDisplay() and _DebugArrayDisplay() (Thanks LarsJ). - Fixed #3647: _GDIPlus_ImageResize() ghost border. - Fixed #3650: _GDIPlus_ImageResize() off by one. - Fixed #3633: _GUICtrlRichEdit_GotoCharPos() does not detect end of text. - Fixed #3765: _FileWriteLog() using Handle Cannot insert atvthe beginning, just set @extended. - Fixed #3776: __EventLog_DecodeDesc(). - Fixed: _GUICtrlListView_SetItemChecked() regression and more GUIListview.au3 functions. - Fixed: _WinAPI_CreateEvent() return error on already define $sName. - Fixed: use "wstr" for "ptr" with Null value. - Fixed #3791: _ArrayDisplay() sort arrow. - Fixed #3805: $tagRID_DEVICE_INFO_KEYBOARD definition. - Fixed #3810: _ArrayUnique not handling "Default" for Parameter $iIntType. - Fixed: _WinAPI_DragQueryFileEx() $iflag behavior when mix drag (Thanks pixelsearch). - Fixed #3812: _DateTimeSplit() returning @error. - Fixed #3814: $PAGE_ connstants for _WinAPI_CreateFileMapping(). - Fixed #3821: _WinAPI_OemToChar() with string greater than 65536 crash. - Fixed: _Now(), _NowCalc(), ... date time coherency when call just on hour change. (Thanks argumentum). - Fixed #3824: _GUICtrlRichEdit_StreamToFile(), _GUICtrlRichEdit_StreamFromFile() default encoding doc. - Fixed #3825: beta regression for $tagEDITSTREAM in x64. Submitter Jon Submitted 06/12/2021 Category Beta Zedna, Musashi, coffeeturtle and 11 others 7 7 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...
Administrators Jon Posted June 12, 2021 Author Administrators Share Posted June 12, 2021 Implemented some of the fixes that JP has coded (thanks) and lots of changes the MVPs done on the libs. coffeeturtle and TheDcoder 1 1 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...
mLipok Posted June 12, 2021 Share Posted June 12, 2021 (edited) @Jon could you please also update this resource: https://www.autoitscript.com/autoit3/files/beta/autoit/docs/ Thanks in advance mLipok Edited June 12, 2021 by mLipok Signature beginning:* Please remember: "AutoIt"..... * Wondering who uses AutoIt and what it can be used for ? * Forum Rules ** ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Code * for other useful stuff click the following button: Spoiler Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind. My contribution (my own projects): * Debenu Quick PDF Library - UDF * Debenu PDF Viewer SDK - UDF * Acrobat Reader - ActiveX Viewer * UDF for PDFCreator v1.x.x * XZip - UDF * AppCompatFlags UDF * CrowdinAPI UDF * _WinMergeCompare2Files() * _JavaExceptionAdd() * _IsBeta() * Writing DPI Awareness App - workaround * _AutoIt_RequiredVersion() * Chilkatsoft.au3 UDF * TeamViewer.au3 UDF * JavaManagement UDF * VIES over SOAP * WinSCP UDF * GHAPI UDF - modest begining - comunication with GitHub REST API * ErrorLog.au3 UDF - A logging Library * Include Dependency Tree (Tool for analyzing script relations) * Show_Macro_Values.au3 * My contribution to others projects or UDF based on others projects: * _sql.au3 UDF * POP3.au3 UDF * RTF Printer - UDF * XML.au3 UDF * ADO.au3 UDF * SMTP Mailer UDF * Dual Monitor resolution detection * * 2GUI on Dual Monitor System * _SciLexer.au3 UDF * SciTE - Lexer for console pane * Useful links: * Forum Rules * Forum etiquette * Forum Information and FAQs * How to post code on the forum * AutoIt Online Documentation * AutoIt Online Beta Documentation * SciTE4AutoIt3 getting started * Convert text blocks to AutoIt code * Games made in Autoit * Programming related sites * Polish AutoIt Tutorial * DllCall Code Generator * Wiki: * Expand your knowledge - AutoIt Wiki * Collection of User Defined Functions * How to use HelpFile * Good coding practices in AutoIt * OpenOffice/LibreOffice/XLS Related: WriterDemo.au3 * XLS/MDB from scratch with ADOX IE Related: * How to use IE.au3 UDF with AutoIt v3.3.14.x * Why isn't Autoit able to click a Javascript Dialog? * Clicking javascript button with no ID * IE document >> save as MHT file * IETab Switcher (by LarsJ ) * HTML Entities * _IEquerySelectorAll() (by uncommon) * IE in TaskScheduler * IE Embedded Control Versioning (use IE9+ and HTML5 in a GUI) * PDF Related: * How to get reference to PDF object embeded in IE * IE on Windows 11 * I encourage you to read: * Global Vars * Best Coding Practices * Please explain code used in Help file for several File functions * OOP-like approach in AutoIt * UDF-Spec Questions * EXAMPLE: How To Catch ConsoleWrite() output to a file or to CMD *I also encourage you to check awesome @trancexx code: * Create COM objects from modules without any demand on user to register anything. * Another COM object registering stuff * OnHungApp handler * Avoid "AutoIt Error" message box in unknown errors * HTML editor * winhttp.au3 related : * https://www.autoitscript.com/forum/topic/206771-winhttpau3-download-problem-youre-speaking-plain-http-to-an-ssl-enabled-server-port/ "Homo sum; humani nil a me alienum puto" - Publius Terentius Afer"Program are meant to be read by humans and only incidentally for computers and execute" - Donald Knuth, "The Art of Computer Programming" , be and \\//_. Anticipating Errors : "Any program that accepts data from a user must include code to validate that data before sending it to the data store. You cannot rely on the data store, ...., or even your programming language to notify you of problems. You must check every byte entered by your users, making sure that data is the correct type for its field and that required fields are not empty." Signature last update: 2023-04-24 Link to comment Share on other sites More sharing options...
argumentum Posted June 12, 2021 Share Posted June 12, 2021 (edited) oops. My bad. Edited June 12, 2021 by argumentum oops 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 June 12, 2021 Share Posted June 12, 2021 (edited) oops. My bad. Edited June 12, 2021 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...
Shark007 Posted June 12, 2021 Share Posted June 12, 2021 (edited) about - Fixed #3682: GuiCtrlCreatePic() with h=0 and w=0. I use the following with the current release 33.14.5 which produces the right-hand graphic below: #AutoIt3Wrapper_Res_File_Add="icons\shark.png", RT_RCDATA, shark, 0 #include <ResourcesEx.au3> Global $Pic = GUICtrlCreatePic('', -1, -1) ; logo _Resource_SetToCtrlID($Pic, 'shark') GUICtrlSetPos($Pic, 205, 70, 140, 140) One other thing I should point out is that I use, #AutoIt3Wrapper_Res_HiDpi=Y which means my positioning line is actually, GUICtrlSetPos($Pic, 205 * $iScale, 70 * $iScale, 140 * $iScale, 140 * $iScale) where $iScale is relative to the screen scaling. (150% scaling = a 1.5 multiplication factor) Maybe this is where my issue lies. No matter what I change I always get the same size (visible) pic using the beta. (to small). I am able to confirm that 140x140 pixels are allocated to the graphic but for whatever reason, the visible pic does not fill that space. The png is natively 140x140 but I cannot make it display in that size. (screen positioning is no issue) Below, the larger graphic is correct. The smaller graphic is from the Beta which does allocate the 140x140 pixels to the graphic, it just doesn't fill the allocated space. Edited June 12, 2021 by Shark007 add info Link to comment Share on other sites More sharing options...
pixelsearch Posted June 12, 2021 Share Posted June 12, 2021 Hi Jon, To me, the pic issue with "set width and height to 0" is solved now in Beta 3.3.15.4, after you closed Trac ticket #3682 about 29 hours ago. The issue was fully described in this link . Here are the results that I just tested : what didn't work in beta 3.3.15.3 (where the pic was always resized to 150x150) works now in beta 3.3.15.4 (where the pic is displayed with its original coords : 271 x 399) #include <GuiConstantsEx.au3> $hGui = GUICreate("163 - AutoIt " & @AutoItVersion, 300, 435) GUICtrlCreatePic(@ScriptDir & "\163 - Original pic.jpg", 1, 1, 0, 0) GUISetState() Do Until GUIGetMsg() = $GUI_EVENT_CLOSE GUIDelete($hGui) Good job and many thanks for this incredible AutoIt scripting language Link to comment Share on other sites More sharing options...
matwachich Posted June 21, 2021 Share Posted June 21, 2021 Thanks for the great hard work! I wanted to ask about this feature request. Any hope it will be implemented on the next release? What do you guys think about it? Link to comment Share on other sites More sharing options...
JockoDundee Posted June 21, 2021 Share Posted June 21, 2021 On 6/12/2021 at 10:04 AM, pixelsearch said: To me, the pic issue with "set width and height to 0" is solved Ironic, 1 bug beaten by 4 beatles pixelsearch 1 Code hard, but don’t hard code... Link to comment Share on other sites More sharing options...
therks Posted July 10, 2021 Share Posted July 10, 2021 Is there a consensus on the Map variable type? Is it sticking around? I know the help file has the giant experimental feature warning, but it's been a thing for a while and I'm just wondering if there's been any more solid decisions made on whether it's staying or not. I've personally been avoiding it because I didn't want the rug pulled from under me when it gets deprecated. 😅 Exit 1 My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
Moderators Popular Post Melba23 Posted July 11, 2021 Moderators Popular Post Share Posted July 11, 2021 therks, Jon managed to get the known Map bugs fixed in the new Beta and no-one has come up with any new problems of note yet. I think you could safely assume that the functionality will be included in the next release - but as always, no promises. M23 argumentum, TheDcoder, therks and 2 others 4 1 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...
therks Posted July 11, 2021 Share Posted July 11, 2021 1 hour ago, Melba23 said: therks, Jon managed to get the known Map bugs fixed in the new Beta and no-one has come up with any new problems of note yet. I think you could safely assume that the functionality will be included in the next release - but as always, no promises. M23 Thanks Melba. I wouldn't expect any promises, I get how fickle development can be. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
Trong Posted July 20, 2021 Share Posted July 20, 2021 Opt("MustDeclareVars", 1) "Au3Check.exe" on parker v3.3.14.5 is working! but "Au3Check.exe" on beta not warning: xxx possibly not declared/created yet Regards, Link to comment Share on other sites More sharing options...
Nine Posted July 20, 2021 Share Posted July 20, 2021 (edited) @VIP Tested it (on Beta 3.3.15.4) and working for me : >Running:(3.3.15.4):C:\Program Files (x86)\AutoIt3\Beta\autoit3.exe "C:\Applications\AutoIt\ZZTemp\Temp6.au3" +>Setting Hotkeys...--> Press Ctrl+Alt+Break to Restart or Ctrl+BREAK to Stop. "C:\Applications\AutoIt\ZZTemp\Temp6.au3" (5) : ==> Variable used without being declared.: $test = 0 ^ ERROR ->09:30:25 AutoIt3.exe ended.rc:1 Beside Opt ("MustDeclareVars", True) is not run by Au3Check.exe but by AutoIt3.exe Edited July 20, 2021 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...
Trong Posted July 21, 2021 Share Posted July 21, 2021 18 hours ago, Nine said: Beside Opt ("MustDeclareVars", True) is not run by Au3Check.exe but by AutoIt3.exe Scite run Au3Check.exe not AutoIt3.exe thank! Regards, Link to comment Share on other sites More sharing options...
Developers Jos Posted July 21, 2021 Developers Share Posted July 21, 2021 Show an script you have issues with and all the SciTE console output for the correct and the wrong version. 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 July 21, 2021 Share Posted July 21, 2021 2 hours ago, VIP said: Scite run Au3Check.exe not AutoIt3.exe thank! False ! Scite runs both (first au3check then autoit3). But Opt is performed by autoit3. For proof, in Scite, you can disable au3check (just go in compile and uncheck au3check) and you still got the error message from autoit3... “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...
Developers Jos Posted July 21, 2021 Developers Share Posted July 21, 2021 1 hour ago, Nine said: False ! Scite runs both (first au3check then autoit3). True, but only when the full package is installed. ... either way: I first need the requested information so we understand the issue correctly! 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...
Trong Posted July 21, 2021 Share Posted July 21, 2021 @Nine You don't seem to understand what I mean. I don't care about autoit3.exe. It has the sole task of serving testing and debugging. Autoit3.exe does not check the script, it executes the script sequentially until it detects an error and stops right there. That is, only 1 error is detected. The syntax error checking does not execute Autoit3.exe. The Autoit3.exe execution was done by the full Scite to execute the AutoIt3Wrapper.au3 script and it still executes in the end: Au3Check.exe <my script.au3> With the new version of Au3Check with the below script it does not detect errors and warnings. If you compile or run the test. will immediately fail! A very serious omission! Opt("MustDeclareVars", 1) ;0=no, 1=require pre-declaration AutoItSetOption("MustDeclareVars", 1) ;0=no, 1=require pre-declaration $Var1 = 0 $Var2 = 'Value 2' $Var3 = 'Value 3' MsgBox($Var1, $Var2, $Var3) Regards, Link to comment Share on other sites More sharing options...
Developers Jos Posted July 21, 2021 Developers Share Posted July 21, 2021 5 hours ago, Jos said: Show an script you have issues with and all the SciTE console output for the correct and the wrong version. Jos First part is there ....the rest is still missing and I need those details before I can have a proper look! 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...
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