Re: Script for Folder View Customization - Beta

From: Brian Wolven (brian.wolven_at_domain.invalid)
Date: 03/14/05


Date: Sun, 13 Mar 2005 23:14:29 -0500

Keith Miller wrote:

>
> My registry modications are all done using regedit.exe & text file manipulation -- can't any of the scripting modules do that?
>

Yep, but vbcsript's capabilities are equal to or better than our
homegrown scripting modules in any category I can think of other than
internal shell-specific functions.

> I'm gonna see if I can do a quick mod to make it function w/o the
application.shell object. I hope you can run vbscripts that use the
file system object. The primary advantage to using application.shell
was using the 'Browse for Folder' dialog and accessing the namespace
folders. Should be no problem for folders such as "c:\docs &
setting\user\My Docs" but "Desktop\My Docs" may be more of a problem.

No problems there. I write the data I extract from the XML weather feeds
into text files that the shell can read, essentially a set of variable
definitions. I can use the MSxml2.DOMDocument.3.0 and xmlHTTP objects,
the file system object, SAPI.SpFileStream, SAPI.Voice, etc.

I also wrote a script that recurses a folder hierarchy and calls SAPI5
functions in order to generate synthetic voice clips that "speak" the
names of folders and certain types [configurable] of files. In
conjunction with yet another open source project (Rockbox - firmware for
Archos (and soon more!) mp3 players) this provides the ability to
navigate and select files and folders on the device without having to
see anything. Handy for me when I listen while driving (selecting songs,
playlists, etc.), and a bargain for members of the Blind community, who
typically have to pay through the nose in order to get portable devices
with speech synthesis capabilities. The developers incorporated speech
capability into all of the device menus/settings as well; only the
user's personal files need to be processed separately by the script (it
runs on a PC, but sees the device file system as a portable USB drive).

The only function I've ever run into that *didn't* work properly on
account of the shell I use is that shell.application object. Figures,
huh? =)



Relevant Pages

  • Re: CLean out all users Temp Dir Folder
    ... I've built the script you need with ScriptAhead a tool we have just ... ' Get Folders that match the following criteria: ... Sub AppendCollectionToArray ... GetSubFolders strFolderName ...
    (microsoft.public.windows.server.scripting)
  • RE: Deleting 1 folder across multiple Mailboxes
    ... I too am looking to delete about 30 folders that came over from a linux ... are over 200 mailboxes that is a whole lot of click delete click delete. ... I found this script, but it seems to only work on Exchange 2000. ... Dim objCommand, objConnection, strBase, strFilter, strAttributes ...
    (microsoft.public.exchange.admin)
  • Re: Need help for a new scripter
    ... been tasked with comming up with a script that will allow me to move ... folders from the profile into it. ... Dim sUserProfile, sBUPath ... sPath & "\quicklaunch", OverWriteFiles ...
    (microsoft.public.scripting.vbscript)
  • Re: Deny _WRITE_ access to a file
    ... First of all, regarding LOGON SCRIPT, the mistake is mine: ... and folders they don't ... "Everyone", so even if "RestrictedG" has only READ acces, as they are ...
    (microsoft.public.windows.server.scripting)
  • Re: Deny _WRITE_ access to a file
    ... First of all, regarding LOGON SCRIPT, the mistake is mine: ... and folders they don't ... "Everyone", so even if "RestrictedG" has only READ acces, as they are ...
    (microsoft.public.windows.server.security)