I’ve always had problems with folders that start with ‘The,’ as it places the folder under ‘t’ when arranged in alphabetical order.  I’m really big into using file directories for my media, and as the computers at my work use scripts for all kinds of redundant operations, I it would be a good challenge to make one of my own.  This is pretty simple; I’ll get more in-depth with scripting as I go.

Create a new text file, copy the code into the file, and rename it to .vbs  Don’t forget to change the directories and string fields to suit your needs.  I’m not too big on VB, so I modified another script to get me started, but the search and replace functions are specific to our job (rearranging ‘the’ in the folder name).

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oFolder = oFSO.GetFolder("z:\Movies")
RenameSubFolders(oFolder)
set oFolder = Nothing
set oFSO = Nothing


Function RenameSubFolders(myFolder)

For each oSubFolder in myFolder.SubFolders
dim pos
pos=InStr(oSubFolder.Name,"The ")
If pos = 1 Then
oSubFolder.Name = Mid(oSubFolder.Name, 5) + ", The"
RenameSubFolders(oSubFolder)
End If
Next

End Function

This script searches for a string in a folder name and places it at the end of the said folder name.  So, for instance, I have a ton of folders named “The (MovieName)”  This script renames them to “(MovieName), The”.  Like I said, I’m old school and use file directories for everything (no I-Tunes, thank you) so alphabetical order is very important.  Rather than taking the hours to rename a bunch of folders, I took an hour to toy around with some Visual Basic.  Totally worth it.

So in the end, I really don’t understand why people don’t use scripts more often, especially for the growing media libraries that most people have on their computers.  I guess it all comes down to I-Tunes and similar applications.

Browser Testing

I finally got Linux running in Windows so I can test on Konqueror. As I suspected, it worked about the same as Safari, another KHTML browser. Anyway, the easiest way I found to get Linux running in Windows can be found here. It’s just a matter of running KMD on a virtual machine. I originally tried to get it to run using Cygwin, which was a waste of time.

Another issue I ran into a while back was testing with IE6 and below.  Having two versions of Explorer on the same OS is nearly impossible.  Microsoft released a VPC image running IE6 for this reason.  It is available here.

And if you haven’t heard yet, a beta version of Safari 3 is available for download.  You can get it here. 

Switcher

I worked on an Apple machine for a year, and I enjoyed the OS. I cant say I enjoyed the machine, a 700mhz G4 that would crash if you looked at it funny. In any case I found myself flicking my cursor to the corner of my monitor even when I was back on my Windows machine.

Meet Switcher, like OSX’s Expose feature but for Windows Vista. This program uses Vista’s built-in desktop rendering system, making it fast and flawlessly integrated. It works great with multiple monitors, and just like Expose and Flip 3D, it continues to render your window content in real time. To make things even better, version 2.0 is set to come out soon.

Input is very configurable. I set switcher to activate on mouse wheel down, though it is possible to use corner activation just like OSX.

Visit Bao’s Blob for Switcher.