Get There

Projects

Style Menu

The style menu is suppressed whilst redesign occurs.

Where I’m @

20040727

Scripting Sound Volume and Copying Mozilla-Based Browsers
Backward first. We’ve been having a pesky little problem lately with our new Windows lab computer image, to wit, getting Firefox to play nicely with copying the same settings out to each new user. (And since this is similar to what we searched for in Google, we’ll rephrase it: “firefox windows copy settings to all users”. Heh.) Everyone knows that you can guide how each new domain user to log on to a Windows XP workstation gets profiled by creating a Default User directory in Documents and Settings. That was fine, but what seems to have been the stumbling block for us was that we were trying to name the default Firefox profile things like ‘baseline’ and ‘all_users’, when Firefox requires that it be called ‘default’ in order to be the default profile for all new user. Otherwise, Firefox creates a profile called ‘default’ and uses it for the logged-in domain user.

One of the front-line tech support staff at CLS asked us if we knew how to script the Windows system volume control, and we managed to find a nice little example in the newsgroup world. Herewith the altered example of scripting the Windows sound volume:

' Unashamedly copied from a 2001 Usenet posting by Jonathan Shay
' Altered to suit my purposes July 2004, Trip Kirkpatrick 

Option Explicit

Dim objShell

Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run ( "sndvol32" )
TimeToWait 1
objShell.AppActivate "sndvol32"
TimeToWait .1
objShell.SendKeys ( "{TAB}" )
TimeToWait .01
objShell.SendKeys ( "{END}" )
TimeToWait .01
objShell.SendKeys ( "{PGUP}{PGUP}{PGUP}" )

Sub TimeToWait( intSeconds )
    REM: pauses the script x seconds
    WScript.Sleep intSeconds * 1000
End Sub

Since the volume control seems to always open with the main level balance control highlighted, the initial TAB is necessary. The END keystroke sets it to minimum, and the PGUPs increment volume to about halfway. It’s not perfect (or field-tested), but it's a good start.

posted by Tk at 21:34 • • sealed in amber

20040721

Would Someone Please Pick up that Phone?
We have decreased sharply the amount of personal material herein, but it would somehow be wrong not to mention the excellent concert we went to the other night. The SO surprised us with tickets to the Mission of Burma show at Toad's Place in New Haven on the 16th of July, and we were indeed surprised. We like them a lot and we had mentioned to the SO how good they were and the unfortunate circumstances of their dissolution and the excitement we felt when we saw news of a handful of shows in the Boston area a couple years ago — OK, so it wasn’t a stretch. But still, her capacity for remembering and assembling into something meaningful our scattered mutterings is constantly amazing. But back to the show.

Naturally, the crowd was very xy-heavy, and fairly hair-light. This because the band split up in 1983 after being in the limelight, as it were, for about 3 years, and is a very nerd rock band. Without going into a detailed set list, we’ll just note that they opened with “Falling” (the most wrenching reflection on the victims of the World Trade Center terrorism, in our eyes, even if that’s not what it’s really about) from the new album, and played some of the high points of their earlier work (including “That’s When I Reach for My Revolver”, “Academy Fight Song”, “The Ballad of Johnny Burma”, and “Max Ernst”) as well as more from the new album. Loud as legend would have it, and we’re glad we knew the legend, since we got tired some time ago of having ringing in our ears for as much as a day after a rock show and surreptitiously implanted ear plugs when they got going. Wouldn't have missed it for the world.

posted by Tk at 11:37 • • sealed in amber

[Smacks Forehead Again]
When repeatedly getting a CVSNT error (to wit, something like The connection was actively refused by the server) in trying to update or get a module list or whatever, make sure that the CVSNT service is running on the appropriate server. Because it’s a little hard to make use of CVSNT when it isn’t running.

posted by Tk at 11:30 • • sealed in amber

20040719

Shades of “Camaro Rock”
The SO watched Linklater’s School of Rock recently, and we peeked in on it from time to time. A predictable story in most ways, though graciously devoid of most of the schmaltz this kind of picture usually shovels on. Note: We said most. However, the satisfying part of it was the inclusion of AC|DC’s “It’s a Long Way to the Top (If You Wanna Rock ’n’ Roll)” as the coda performance of Jack Blact et Cie. Sadly, they didn’t include the gonzo bagpipe solo performed by Bon Scott (raise your lighters, people!), but the tongue-in-cheek aspect of the recontextualization (if that word can be used here) of the track was sweet.

posted by Tk at 16:13 • • sealed in amber

20040709

Sites of Interest
Republicans for Kerry, Version 1 and Version 2. We don’t know whether to believe these sites (and their sister sites) or not. Are they genuine, or just fronts by Democrats? That’s an indication of how debased politics is these days, that a website supporting the guy from the other party can be viewed with suspicion because it might be a scam. (Perhaps politics was ever thus. At least these days nobody gets a beat down on the Senate floor.)

posted by Tk at 14:35 • • sealed in amber

20040707

Notes on Moving OUs
We are moving a decent number of computer accounts in Active Directory from one OU to another, and the first OU is not under our control. After some hemming and hawing and them wanting to do one thing and we wanting to do another (in our case, at least and frankly, it was not unrelated to wanting to minimize the amount of work we had to do for the move), we settled on creating new accounts in our OU, removing the machines from the domain, renaming them, and rejoining them to the domain. Some things we want to remember if we have to do this again:

posted by Tk at 09:41 • • sealed in amber

Where I’ve Been

Feb  2K1Mar  2K1Apr  2K1May  2K1Jun  2K1Jul  2K1Aug  2K1Sep  2K1Oct  2K1Nov  2K1Dec  2K1Jan  2K2Feb  2K2Mar  2K2Apr  2K2May  2K2Jun  2K2Jul  2K2Aug  2K2Sep  2K2Oct  2K2Nov  2K2Dec  2K2Jan  2K3Feb  2K3Mar  2K3Apr  2K3May  2K3Jun  2K3Jul  2K3Aug  2K3Sep  2K3Oct  2K3Nov  2K3Dec  2K3Jan  2K4Feb  2K4Mar  2K4Apr  2K4May  2K4Jun  2K4Jul  2K4Aug  2K4Sep  2K4Oct  2K4Nov  2K4Dec  2K4Jan  2K5Feb  2K5Mar  2K5Apr  2K5May  2K5Jun  2K5Jul  2K5Aug  2K5Sep  2K5Oct  2K5Nov  2K5Dec  2K5Jan  2K6Feb  2K6Mar  2K6Apr  2K6May  2K6Jun  2K6Jul  2K6Aug  2K6Sep  2K6Oct  2K6Nov  2K6Dec  2K6Jan  2K7Feb  2K7Mar  2K7Apr  2K7May  2K7Jun  2K7Jul  2K7Aug  2K7Sep  2K7Oct  2K7Nov  2K7Dec  2K7Jan  2K8Feb  2K8Mar  2K8Apr  2K8May  2K8Jun  2K8Jul  2K8

Where I’m Going

Affiliations

  • Aortal button and link
  • NYCBloggers.com button and link
Blogger button