Re: Script for Folder View Customization - Beta
From: Brian Wolven (brian.wolven_at_domain.invalid)
Date: 03/14/05
- Next message: Brian Wolven: "Re: When is 'IsBrowseable' True?"
- Previous message: Keith Miller: "Re: When is 'IsBrowseable' True?"
- In reply to: Keith Miller: "Re: Script for Folder View Customization - Beta"
- Next in thread: Keith Miller: "Re: Script for Folder View Customization - Beta"
- Reply: Keith Miller: "Re: Script for Folder View Customization - Beta"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 13 Mar 2005 19:59:03 -0500
Keith Miller wrote:
> Hmmm....
>
> Are you still using explorer to view folders?
Yep. Occasionally Xplorer2 or ExplorerXP, but 99% of the time it's plain
vanilla explorer.
> If so, then I would guess views are still saved in the registry under:
> "HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags"
>
> with the index to the bags under:
> "HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU"
Yes to that, too. I have no problem running wsh scripts that modify the
registry - in general. There's just a specific problem that occurs owing
to the method in which your modifications are implemented. When (if?) I
have some free time, I'll see if there is a shell-independent workaround.
> There's nothing remarkable about my script, it's just that I discovered that if an 'AllFolders' subkey was in the Bags, it would be applied to any folder that did not already have a view saved.
Interesting discovery. Maybe I can put that to use in another way, by
*removing* view information from a set of folders and then tweaking the
allfolders view setting to match a certain style. This would effectively
change the views for the entire folder hierarchy, would it not -
assuming I deleted saved views for all such folders? Then another script
or two to switch between different allfolders views, and I'm good to go.
I only have three view types that get any use, generally. One for music
files, one for photos, and the other "Standard" view I use for all the
normal documents, source code, etc. I've already got mouse gestures or
hotkeys to do all my other window manipulation tasks, so this is the
"final frontier". =)
> I see there are scripting modules for litestep, so maybe if you take this info to their forums, someone there can write a script to do the following
>
> 1) delete "HKCU\...\BagMRU" and "HKCU\...\Bags"
> 2) open an explorer window to a particular folder - pause while the user sets the view options - close the window
> 3) create the key "HKCU\...\Bags\AllFolders" based on the info from the last number bag created
> 4) recursively open and then close all subfolders of the folder to save their new view
> 5) delete "HKCU\...\Bags\AllFolders"
> 6) goto 2
None of them are well suited for making registry modifications, I'm
afraid. For the most part, the shell's scripting modules are just used
to handle dynamic variables, toggling components on and off, modifying
their position or visibility, etc. I also use some of the shell
scripting in conjunction with a vbscript to parse XML weather feeds and
display the data on my desktop or in a popup menu. Scripting abilities
are one of the things that the developers will probably look to address
in future revisions. Since it's an open source effort, it all depends on
when they feel like it, when they get around to it, and who "they" are
at any moment in time. (Several ex-developers are now employed by
microsoft, BTW - shell coding is good training apparently!)
The shell installer makes some changes and additions to permit easy
swapping between the default explorer shell and Litestep, but that's an
EXE. If the scripting changes get too involved, or seem to be too slow,
I might consider asking someone to write a module (a supplementary DLL
loaded by the shell core) that would provide this capability. Maybe I'd
even try it myself - after additional research and some thorough
registry backups, of course!
- Next message: Brian Wolven: "Re: When is 'IsBrowseable' True?"
- Previous message: Keith Miller: "Re: When is 'IsBrowseable' True?"
- In reply to: Keith Miller: "Re: Script for Folder View Customization - Beta"
- Next in thread: Keith Miller: "Re: Script for Folder View Customization - Beta"
- Reply: Keith Miller: "Re: Script for Folder View Customization - Beta"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|