As Time Passes, You May Notice More and More Deprecated AutoHotkey Commands in the Online Documentation—When Should You Rewrite Your Scripts and When Should You Ignore the Changes?
While working on the latest version of the QuickLinks.ahk script, I saw that the syntax for the Loop (files & folders) command for the reading the names of directories and files had changed in the online AutoHotkey documentation. (It’s about time that I noticed since it changed back in 2015.) In the original program I used:
Loop, C:\Users\%A_UserName%\QuickLinks\*.*, 2 , 0
Loop, %A_LoopFileFullPath%\*.*, 1 , 0
The powers-that-be deprecated that form of the command substituting:
Loop, Files, C:\Users\%A_UserName%\QuickLinks\*.*, D
Loop, Files, %A_LoopFileFullPath%\*.*, FD
While the new syntax seems a little clearer, it appears to act in the same manner as the original (still operational) form of the command. A person may ask, “Why the change the command at all?” Continue reading