找回密码
 加入
搜索
查看: 980|回复: 8

[转贴] AutoIt v3.3.17.1 Beta

[复制链接]
发表于 2025-7-9 08:33:32 | 显示全部楼层 |阅读模式
 楼主| 发表于 2025-7-9 08:36:30 | 显示全部楼层
本帖最后由 redapple2008 于 2025-7-9 08:39 编辑


历史
重要提示:请参阅此处了解最近的脚本破坏性更改。

以下是AutoIt v3更改的历史摘要。
(有关完整的技术历史,请单击此处。有关包括测试版之间所有更改的完整历史,请点击此处。)

3.3.18.0(2025年7月8日)(测试版)
AutoIt:
更改:由于开发环境的变化,Windows 7/Server 2008现在是所需的最低操作系统版本。
添加了#3891:DllCall()性能优化。
添加:Win10/Win11的标准Windows字体列表。
添加#3906:示例中的GUICtrlCreateXXX创建分配给$idXXX以反映Ctrl类型。
添加:FileGetAttrib()检索FileCreateNTFSLink()创建的Join文件夹(J)。
添加:在WindowsNotifsConstants.au3、WindowsStylesConstants.au3和WindowsSysColor.au3中拆分WindowsConstants.u3。
添加:#3984:GUICtrlSetGraphic()文档精度。
修复:Doc Chr(0)处理函数内部。
修复#3923:“发送密钥列表”中的文档拼写错误。
修复:回归#3135手柄泄漏(感谢Nano、Rudi、Nine)。
修复#3925:文档。..使用DllStructure类型结束。
修复:教程示例代码中的链接(谢谢argumentum)。
Au3信息:
新增:显示鼠标坐标模式。
修复#3917:在Win7下崩溃。
SciTE Lite:
修复:当#Preprocessor折叠块后面跟着CommentBlock时,进行折叠修复。
UDF:
添加:在Win11下使用new notepad.exe运行时的脚本示例。
添加:_GUICtrlTreeView_GetItemByIndex()可以检索主项列表的句柄($hItem=-1)。
添加:_IsPressed()可以用数值调用,如“WinAPIsvkeysConstants.au3”。
添加了#3909:_DebugReportData()以报告数组列格式。
添加:libExamples引用MemoWrite()现在引用Extras\HelpFileInternals.au3中定义的_MemoWrite()。
已添加:_WinAPI_WaitSystemIdle()、_WinAPI_QueryDiskUse()、_WinAPI_Query ProcessorUse()和_WinAPI_6QueryProcessCycleTime()
添加:Doc_WinAPI_GetWindow子类()示例(谢谢像素搜索)。
添加:_WinAPI_GetKeyboardLayout()运行线程的默认值。
添加:_WinAPI_GetUserDefaultLCID()示例。
已添加:_WinAPI_GetKeyboardLayoutLocal()。
添加:_WinAPI_GetKeyboardState()示例(感谢AutoXenon)。
添加#3932:尝试使用HelpFile\Extras中的文件,而不是@ScriptDir。
添加了#3934:_WinAPI_SetTimer()示例。
添加:_IsPressed()可以等待几个键中的一个。
已添加:_WinAPI_SendInput()。
添加#3960:_Div()整数除法。
添加#3963:_WinAPI_OpenEvent()。
添加:_GDIPlus_ImageSaveToFile()压缩级别的文档精度。
已添加:_WinAPI_GetCursorSize()和_WinAPI_SetCursorSize()。
添加:APIShellExConstants.au3中的$FOLDRID_Documents常量。
添加:支持_GUIToolTip*()用于外部进程。
添加:支持_GUICtrlHeader*()用于外部进程。
添加:支持_GUICtrlStatusBar*()用于外部进程。
添加#3988:_WinAPI_GetSystemPowerStatus()返回电池状态保护程序。
添加#3985:_ArrayDisplay()+$WS_EX_TOPMOST。
添加#3991:_SQLite_ForeignKey(),并在_SQLite_Open()中添加一个参数来设置它。
新增#3990:_IsPressed()如果按键仍被按下,则返回@extended。
添加:_DebugSetup(…,1)不与正在调试的脚本交互,报告信息复制到剪贴板
添加:_WinAPI_SetWindowTheme()示例,以演示复选框或单选控件的着色。
添加#3997:_WinAPI_RegisterShellHookWindow()示例改进。
添加了#399:_WinAPI_OemToChart()性能改进。
添加#3946:_ChooseFont()更新了默认值(谢谢argumentum)。
添加:_DateDiff()、_DateAdd(),使用数组表示[天、小时、分钟、秒]。
添加:_DebugSetup()类型6,与1相同,但关闭报告日志窗口有超时。
已修复#3894:_WinAPI_GetProcessName()在进程ID无效时返回不正确的结果。
修复了几个标准UDF中的“Then SetError()”。
修复#3921:缺少_GUICtrlStatusBar_SetParts()示例。
已修复:文档拼写错误$GPIP_ERR*>>$GDIP_ERR*。
已修复#3926:_GUICtrlTreeView_SetChildren()未设置/重置儿童标志。
修复了包含chr(124)的_WinAPI_DisplayStruct()元素。
已修复#3945:StringRegEx()/s包含VT。
已修复#3949:_ArrayDisplay()不显示数组的多个下标。
修复#3954:libfunction常量中的链接。
已修复:_GUICtrlListView_SetItemText()中缺少文档描述$iSubItem=-1。
已修复#3959:_WinAPI_ShellUserAuthenticationDlg()示例。
修复了#3975:Pcre文档中不相关的链接。
已修复#3903:_GuiCtrlTab_GetItem()在外部进程上不起作用。
已修复#3940:_GuiCtrlTab_GetItemText()在外部进程上不起作用。
已修复#3992:_WinAPI_DwmSetWindowAttribute()不支持所有MSDN属性。
已修复#4001:_GUICtrlListView_*()示例($tagNMITEMPACTIVATE)。
修复#4003:_ArrayPush()文档精度。
已修复:_GUICtrlButton_SetSplitInfo()示例崩溃。
修复:Win11下Notepad对_DebugSetup()的支持。
修复#4022:各种文档重复单词。
修复#4031:_DebugArrayDisplay()按钮显示问题。
已修复:如果输入时出现@error,则不执行_DebugArrayDisplay()(如果@error上不需要显示,则执行$ARRAYDISPLAY_CHERROR)。
已修复#4033:_DateTimeSplit()在未定义时间的情况下设置$aTimePart[0]的问题。
已修复#4024:_DebugSetup(,,5)(记事本窗口)在Windows 11下无法工作的问题。
已修复:_WinAPI_IsElevated()@扩展返回值(感谢Argumentum)。
修复#4039:使用$hWnd执行_GUICtrlTreeView_Delete()。
修复#4038:_GUICtrlRichEdit_StreamToFile()新增段落。
修复#4029:_Date_Time_SystemTimeToDateTimeStr()输出错误。
修复#4040:_GUICtrlRichEdit_SetZoom()参数限制错误。
已修复#4041:未显示_GUICtrlStatusBar_SetIcon()。
 楼主| 发表于 2025-7-9 08:38:36 | 显示全部楼层
History
IMPORTANT: See here for recent script-breaking changes.



Here is the summarized history of the changes to AutoIt v3.

(For the complete technical history click here. For the complete history including all changes between beta versions click here.)



3.3.18.0 (July 08, 2025) (Beta)

AutoIt:

Changed: Windows 7/Server 2008 is now the minimum OS version required due to dev environment changes.
Added #3891: DllCall() performance optimisation.
Added: Standard Windows Fonts List for Win10/Win11.
Added #3906: GUICtrlCreateXXX creation in example assign to $idXXX to reflect Ctrl type.
Added: FileGetAttrib() retrieve Join folder (J) as created by FileCreateNTFSLink().
Added: Split WindowsConstants.u3 in WindowsNotifsConstants.au3, WindowsStylesConstants.au3 and WindowsSysColor.au3.
Added: #3984: GUICtrlSetGraphic() doc precision.
Fixed: Doc Chr(0) handling inside functions.
Fixed #3923: Doc typo in "Send Key List".
Fixed: Regression #3135 handle leak (Thanks Nano, Rudi, Nine).
Fixed #3925: Doc With ... EndWith using DllStruct Type.
Fixed: Links in Tutorials example code (thanks argumentum).
Au3info:

Added: Display mouse coordinate mode.
Fixed #3917: Crash under Win7.
SciTE-Lite:
Fixed: Folding Fix for #Preprocessor foldblock when followed by a CommentBlock.
UDFs:

Added: script examples when running under Win11 with new notepad.exe.
Added: _GUICtrlTreeView_GetItemByIndex() can retrieve handle of the list of main item ($hItem= -1).
Added: _IsPressed() can be called with numeric value as in "WinAPIsvkeysConstants.au3".
Added #3909: _DebugReportData() to report Array column formatted.
Added: libExamples referring MemoWrite() now refer to _MemoWrite() defined in Extras\HelpFileInternals.au3.
Added: _WinAPI_WaitSystemIdle(), _WinAPI_QueryDiskUsage(), _WinAPI_QueryProcessorUsage(), _WinAPI_QueryProcessCycleTime()
Added: Doc _WinAPI_GetWindowSubclass() example (Thanks pixelSearch).
Added: _WinAPI_GetKeyboardLayout() default value for the running thread.
Added: _WinAPI_GetUserDefaultLCID() example.
Added: _WinAPI_GetKeyboardLayoutLocale().
Added: _WinAPI_GetKeyboardState() example (Thanks AutoXenon).
Added #3932: Try to use file in HelpFile\Extras instead of @ScriptDir.
Added #3934: _WinAPI_SetTimer() example.
Added: _IsPressed() can wait on one of several keys.
Added: _WinAPI_SendInput().
Added #3960: _Div() integer division.
Added #3963: _WinAPI_OpenEvent().
Added: _GDIPlus_ImageSaveToFile() doc precision for compression level.
Added: _WinAPI_GetCursorSize() and _WinAPI_SetCursorSize().
Added: $FOLDERID_Documents Constants in APIShellExConstants.au3.
Added: Support _GUIToolTip*() to be used to external process.
Added: Support _GUICtrlHeader*() to be used to external process.
Added: Support _GUICtrlStatusBar*() to be used to external process.
Added #3988: _WinAPI_GetSystemPowerStatus() return Battery status saver.
Added #3985: _ArrayDisplay() + $WS_EX_TOPMOST.
Added #3991: _SQLite_ForeignKeys() and Add a parameter in _SQLite_Open() to set it also.
Added #3990: _IsPressed() return in @extended if the key is still pressed.
Added: _DebugSetup(..., 1) does not interact with script being debug, Report infos copied to clipboard
Added: _WinAPI_SetWindowTheme() example to demonstrate Checkbox or Radio controls coloring.
Added #3997: _WinAPI_RegisterShellHookWindow() example improvement.
Added #3999: _WinAPI_OemToChar() performance improvement.
Added #3946: _ChooseFont() updated defaults (thanks argumentum).
Added: _DateDiff(), _DateAdd() using array for [days, hours, minutes, seconds].
Added: _DebugSetup() Type 6, same as 1 but a timeout to close the report log windows.
Fixed #3894: _WinAPI_GetProcessName() returns incorrect result when process ID is invalid.
Fixed: "Then SetError()" in several standard UDF.
Fixed #3921: Missing _GUICtrlStatusBar_SetParts() examples.
Fixed: Doc typo $GPIP_ERR* >> $GDIP_ERR*.
Fixed #3926: _GUICtrlTreeView_SetChildren() not set/reset chidren flag.
Fixed: _WinAPI_DisplayStruct() elements containing chr(124).
Fixed #3945: StringRegExp() /s include VT.
Fixed #3949: _ArrayDisplay() does show multiple subscript of an array.
Fixed #3954: links in libfunction constants.
Fixed: missing doc description $iSubItem = - 1 in _GUICtrlListView_SetItemText().
Fixed #3959: _WinAPI_ShellUserAuthenticationDlg() example.
Fixed #3975: unrelated link in Pcre doc.
Fixed #3903: _GuiCtrlTab_GetItem() does work on external process.
Fixed #3940: _GuiCtrlTab_GetItemText() does work on external process.
Fixed #3992: _WinAPI_DwmSetWindowAttribute() does not support all MSDN attributes.
Fixed #4001: _GUICtrlListView_*() example ($tagNMITEMACTIVATE).
Fixed #4003: _ArrayPush() doc precision.
Fixed: _GUICtrlButton_SetSplitInfo() example crash.
Fixed: Support of Notepad under Win11 for _DebugSetup().
Fixed #4022: Various doc duplicated words.
Fixed #4031: _DebugArrayDisplay() buttons display.
Fixed: _DebugArrayDisplay() not executed if @error on entering ($ARRAYDISPLAY_CHECKERROR if no display wanted on @error).
Fixed #4033: _DateTimeSplit() setting $aTimePart[0] whem no time defined.
Fixed #4024: _DebugSetup(,, 5) (notepad window) not working under Windows 11.
Fixed: _WinAPI_IsElevated() @extended return value (Thanks Argumentum).
Fixed #4039: _GUICtrlTreeView_Delete() with $hWnd.
Fixed #4038: _GUICtrlRichEdit_StreamToFile() extra new paragraph.
Fixed #4029: _Date_Time_SystemTimeToDateTimeStr() Wrong output.
Fixed #4040: _GUICtrlRichEdit_SetZoom() parameter limitation bug.
Fixed #4041: _GUICtrlStatusBar_SetIcon() not shown.
发表于 2025-7-9 10:26:47 | 显示全部楼层
3.3.18..0 ? Jon 搞错了……
 楼主| 发表于 2025-7-9 12:41:44 | 显示全部楼层
afan 发表于 2025-7-9 10:26
3.3.18..0 ? Jon 搞错了……

不清楚,日志上是3.3.18.0,但打包文件是3.3.17.1
发表于 2025-7-9 13:00:39 | 显示全部楼层
redapple2008 发表于 2025-7-9 12:41
不清楚,日志上是3.3.18.0,但打包文件是3.3.17.1

Jon 改正了……

3.3.17.1 (July 08, 2025) (Beta)


AutoIt:

UDFs:
- Fixed: Typo in variable name in Date.au3 introduced in previous beta.


3.3.17.0 (June 29, 2025) (Beta)
AutoIt:
- Changed: Windows 7/Server 2008 is now the minimum OS version required due to dev environment changes.

- Added #3891: DllCall() performance optimisation.
- Added: Standard Windows Fonts List for Win10/Win11.
...
 楼主| 发表于 2025-7-9 14:09:13 | 显示全部楼层
afan 发表于 2025-7-9 13:00
Jon 改正了……

主要是有更新,证明还能用。
发表于 2025-7-9 14:23:34 | 显示全部楼层
等待多线程
发表于 2025-7-9 17:46:47 | 显示全部楼层
想多线程,除非推倒了
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2026-3-17 04:52 , Processed in 0.064575 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表