Showing results for July 2005 - Scripting Blog [archived]

Jul 29, 2005
0
0

How Can I Tell if a Date Falls within a Specified Time Period?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I tell if a date falls within a specified time period?-- JW Hey, JW. By amazing coincidence on our way to work this morning we heard two different commercials, from two different companies, touting “Christmas in July.” That prompted us to answer your question as soon as we got to the office. After all, if these compan...

Scripting Guy!scripting techniquesVBScript
Jul 28, 2005
0
0

How Can I Determine if a WMI Property is Writeable?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! We have an application that installs a WMI class named UIDLightInfo. That class includes a property named UIDLightState. How can I tell whether or not I can change the value of this property?-- JC Hey, JC. You know, we once reviewed a scripting course where the authors continually dealt with the question, “How do I know if I ...

Scripting Guy!scripting techniquesVBScript
Jul 27, 2005
0
0

How Can I Include Multiple Subroutines in a Single onClick Parameter in a HTA?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! In your HTA examples, you show us how you can click a button and cause a single subroutine to run. How can I add two or more subroutines to the onClick parameter for a button?-- FM Hey, FM. You know, there’s an interesting branch of cognitive psychology known as problem finding; the idea is that your ability to answer a quest...

Scripting Guy!scripting techniquesVBScript
Jul 26, 2005
0
0

How Can I Tile the Windows on the Desktop?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I have a script that opens nine different command windows in order to monitor performance. How can I tile those windows horizontally after they’ve all been opened?-- AM Hey, AM. You know, one of the Scripting Guys might not be much when it comes to scripting, but he is a master of one thing: he has a near-monopoly on totally ...

Scripting Guy!VBScriptdesktop management
Jul 25, 2005
0
0

How Can I Retrieve a List of the System DSNs on a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I retrieve a list of the System DSNs on a computer?-- RT Hey, RT. You know, there’s an old Hollywood superstition that suggests that famous movie stars always die in threes: if a famous star dies today, then according to legend two more famous stars are doomed to die in the next week as well. We don’t know if that’s t...

Scripting Guy!VBScriptoperating system