cyberyeye Posted October 25, 2023 Share Posted October 25, 2023 (edited) 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 : Quote Global Const $FOLDERID_Documents = '{FDD39AD0-238F-46AF-ADB4-6C85480369C7}' 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 : Quote FOLDERID_Documents GUID {FDD39AD0-238F-46AF-ADB4-6C85480369C7} Display Name Documents Folder Type PERUSER Default Path %USERPROFILE%\Documents CSIDL Equivalents CSIDL_MYDOCUMENTS, CSIDL_PERSONAL Legacy Display Name My Documents Legacy Default Path %USERPROFILE%\My Documents This modification allow to do example: Quote Local $Dst = "C:\Temp\Documents" _WinAPI_ShellSetKnownFolderPath($FOLDERID_Documents, $Set_Dst, 0, 0) 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 Edited October 26, 2023 by cyberyeye added Trac request #3979 ioa747, argumentum and Shark007 1 2 Link to comment Share on other sites More sharing options...
argumentum Posted October 25, 2023 Share Posted October 25, 2023 The procedure is to add to the "bug tracker" the complain. Anyone doing this, please post here that it was done so we don't make more than one entry for the issue. @cyberyeye, nice first post. Welcome to the forum. 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...
cyberyeye Posted October 26, 2023 Author Share Posted October 26, 2023 Feature request done to Trac (bug tracker) I didn't knew there was such bug tracker, sorry about that. Ticket: https://www.autoitscript.com/trac/autoit/ticket/3979 argumentum 1 Link to comment Share on other sites More sharing options...
jpm Posted October 26, 2023 Share Posted October 26, 2023 Already done after reading your first post Cheers cyberyeye 1 Link to comment Share on other sites More sharing options...
cyberyeye Posted October 26, 2023 Author Share Posted October 26, 2023 Thanks a lot ! (topic could be closed if any moderator read this) Link to comment Share on other sites More sharing options...
argumentum Posted October 26, 2023 Share Posted October 26, 2023 7 hours ago, cyberyeye said: I didn't knew there was such bug tracker, sorry about that. The bug tracker is not a place to have a chat so opening a post in the forum is a good idea, and placing a reference to the chat in the tracker's post gives the MVPs a place to look at the full discussion in regards to the issue. You did good. 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...
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