mercadantelaura Posted December 6, 2013 Share Posted December 6, 2013 I'm searching on web how can change, through script command, "folder view" of active folder window. I want set "details" - "big icons" - "tile" using script but for now i found nothing. Have AutoIT a command that do that i want ?? Thanks Link to comment Share on other sites More sharing options...
l3ill Posted December 6, 2013 Share Posted December 6, 2013 Hi mercadantelaura, a control send to your explorer with Alt v & then d actually d = details r = big icons Bill My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
mercadantelaura Posted December 6, 2013 Author Share Posted December 6, 2013 Thanks "billo" i'm using too your council. I have hoped that AutoIT was be able to do this through internal command without using "Control Send" to open menu and set details or Bug icons thanks again Link to comment Share on other sites More sharing options...
l3ill Posted December 6, 2013 Share Posted December 6, 2013 There probably is... would be com though and that would be deeper "water" My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
mercadantelaura Posted December 6, 2013 Author Share Posted December 6, 2013 I have readed that Win7 x64 stored settings of folder view into this parts of registry. There's some change to change through script folder view of active window using these registry ? [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellNoRoamBagMRU] [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellNoRoamBags] [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellBagMRU] [HKEY_CURRENT_USERSoftwareMicrosoftWindowsShellBags] Link to comment Share on other sites More sharing options...
l3ill Posted December 6, 2013 Share Posted December 6, 2013 Registry setting is more of a permanent change or at least semi permanent. Be sure to back-up before testing! ;-) My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
mercadantelaura Posted December 6, 2013 Author Share Posted December 6, 2013 <<<<There probably is... <<<<would be com though and that would be deeper "water" Can you explain better that i don't undesrstood Link to comment Share on other sites More sharing options...
l3ill Posted December 6, 2013 Share Posted December 6, 2013 It was a play on words... Water is "the man" when it comes to com programming. When he or someone else that knows what they are doing shows up they may have a different solution for you. My Contributions... SnippetBrowser NewSciTE PathFinder Text File Manipulation FTP Connection Tester / INI File - Read, Write, Save & Load Example Link to comment Share on other sites More sharing options...
mercadantelaura Posted December 6, 2013 Author Share Posted December 6, 2013 ok thank you for reply and your patience Link to comment Share on other sites More sharing options...
water Posted December 6, 2013 Share Posted December 6, 2013 I'm sorry but I have never automated the Windows Explorer. But I think a good starting point might be this >thread. My UDFs and Tutorials: Spoiler UDFs:Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 6, 2013 Moderators Share Posted December 6, 2013 I used to do this for XP machines with the script below. Never tried it on WIN7, but the keys may be close enough for you to get the info you need. It does require a logoff. expandcollapse popup#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Local $msg, $key1, $key2, $val1, $val2, $type $key1 = "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams" $key2 = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults" $val1 = "Settings" $val2 = "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" $type = "REG_BINARY" GUICreate("Change Folder View", 300, 160) $combo = GUICtrlCreateCombo("Choose Folder View", 10, 50, 280, 40) GUICtrlSetData($combo, "Thumbnails|Tiles|Icons|List|Details", "Choose Folder View") $go = GUICtrlCreateButton("Execute", 100, 100, 100, 40) GUISetState(@SW_SHOW) While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $go Select Case GUICtrlRead($combo) = "List" RegWrite($key1, $val1, $type, "0x080000000300000000000000E0A51F0E7335CF11AE6908002B2E1262040000000600000043000000") RegWrite($key2, $val2, $type, "0x1C000000030000000000000000009A000000000001000000FFFFFFFFF0F0F0F0140003009A0000000000000030000000FDDFDFFD0F000500240010002E0046000000000001000000020000000300000004000000780096006000600078000000000001000000020000000300000005000000FFFFFFFFCFF3A8B03343AB4B88731CCB1CADA48B30F125B7EF471A10A5F102608C9EEBAC04000000") Case GUICtrlRead($combo) = "Details" RegWrite($key1, $val1, $type, "0x08000000040000000000000000777E137335CF11AE6908002B2E1262040000000100000043000000") RegWrite($key2, $val2, $type, "0x1C000000040000000000000000009A000000000001000000FFFFFFFFF0F0F0F0140003009A0000000000000030000000FDDFDFFD0F000500240010002E0046000000000001000000020000000300000004000000780096006000600078000000000001000000020000000300000005000000FFFFFFFFCFF3A8B03343AB4B88731CCB1CADA48B30F125B7EF471A10A5F102608C9EEBAC04000000") Case GUICtrlRead($combo) = "Tiles" RegWrite($key1, $val1, $type, "0x080000000600000000000000E525F165E17B1048BA9DD271C8432CE3040000000400000043000000") RegWrite($key2, $val2, $type, "0x1C000000060000000000000000009A000000000001000000FFFFFFFFF0F0F0F0140003009A0000000000000030000000FDDFDFFD0F000500240010002E0046000000000001000000020000000300000004000000780096006000600078000000000001000000020000000300000005000000FFFFFFFFCFF3A8B03343AB4B88731CCB1CADA48B30F125B7EF471A10A5F102608C9EEBAC04000000") Case GUICtrlRead($combo) = "Content" Case GUICtrlRead($combo) = "Thumbnails" RegWrite($key1, $val1, $type, "0x08000000050000000000000090B2EB8BD052D011B7F400C04FD706EC040000000300000043000000") RegWrite($key2, $val2, $type, "0x1C000000050000000000000000009A000000000001000000FFFFFFFFF0F0F0F0140003009A0000000000000030000000FDDFDFFD0F000500240010002E0046000000000001000000020000000300000004000000780096006000600078000000000001000000020000000300000005000000FFFFFFFFCFF3A8B03343AB4B88731CCB1CADA48B30F125B7EF471A10A5F102608C9EEBAC04000000") Case GUICtrlRead($combo) = "Icons" RegWrite($key1, $val1, $type, "0x080000000100000000000000E0D057007335CF11AE6908002B2E1262040000000500000043000000") RegWrite($key2, $val2, $type, "0x1C000000010000000000000000009A000000000001000000FFFFFFFFF0F0F0F0140003009A0000000000000030000000FDDFDFFD0F000500240010002E0046000000000001000000020000000300000004000000780096006000600078000000000001000000020000000300000005000000FFFFFFFFCFF3A8B03343AB4B88731CCB1CADA48B30F125B7EF471A10A5F102608C9EEBAC04000000") EndSelect EndSelect WEnd GUIDelete() "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
mercadantelaura Posted December 7, 2013 Author Share Posted December 7, 2013 Thanks "JLogan3o13" but unfortunately under my Win7 x64 starts i make my choice but don't take effect also after logoff ;-( Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted December 9, 2013 Moderators Share Posted December 9, 2013 As I mentioned, that script is for XP. You would have to go the those registry locations and find out what the binary values are, as they will obviously be different. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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