For a project I had to use FOLDERID_Documents I was suprised that this variable was missing from : APIShellExConstants.au3
So I have edited : APIShellExConstants.au3 to add below line 623 :
and of course it's works as expected : perfectly without any other modification !
https://learn.microsoft.com/en-us/windows/win32/shell/knownfolderid?redirectedfrom=MSDN
say :
This modification allow to do example:
Is this quick "fix" could being added to the next AutoIT version ?
Regards
Edit: as requested I have done on trac a request feature : https://www.autoitscript.com/trac/autoit/ticket/3979