技术架构与实现
AutoHotkey v1 · 智能算法 · 高性能设计
智能识别算法
IfInString, FullFileName, :\
if (fileType = "D") {
isFolder := true
}
else IfInString, FullFileName, ://
if (RegExMatch(Clipboard, "^#[0-9A-Fa-f]{6}$", hex))
动画系统实现
SmoothWindowResize(hWnd, targetW, targetH) {
SetBatchLines, -1
WinGetPos,,, currentW, currentH
deltaW := targetW - currentW
deltaH := targetH - currentH
Loop, % steps {
WinMove, ahk_id %hWnd%,,,, newW, newH
}
}