Showing results for March 2005 - Page 3 of 5 - Scripting Blog [archived]

Mar 16, 2005
Post comments count0
Post likes count0

How Can I Display A Progress Bar (or Something Similar) While My Script Runs?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I get my script to do something interesting while the code executes; you know, how can I display a progress bar or something?-- HD Hey, HD. To begin with, we don’t recommend that you try to use a true progress bar; that’s because it’s very difficult to calculate - let alone display - progress. We’re all familiar with ...

Scripting Guy!scripting techniquesVBScript
Mar 15, 2005
Post comments count0
Post likes count0

How Can I Determine Which USB Devices are Connected to a Computer?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I determine which USB devices are connected to a computer?-- WM Hey, WM. If you watch a lot of TV - um, not that the Scripting Guys do; we spend our spare time reading the works of Shakespeare, solving differential equations, and otherwise tending to our many intellectual pursuits. As we’ve been told, however, any tim...

Scripting Guy!VBScripthardware
Mar 14, 2005
Post comments count0
Post likes count0

How Can I Automatically Dismiss a Message Box After a Specified Length of Time?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’d like to display a Yes/No message box for a few seconds and then, if no one clicks a button, have the message box disappear and the script perform the default operation. How do I do that?-- JR Hey, JR. Sounds like you need the WSH Shell object and the Popup method. Popup works a lot like the VBScript Msgbox function: like ...

Scripting Guy!scripting techniquesVBScript
Mar 11, 2005
Post comments count0
Post likes count0

How Can I Delete a Table from a Jet Database?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Can I delete a table from a Jet database using a script?-- AK Hey, AK. Of course you can delete a table from a Jet database using a script; after all, you can do anything using a script! Well, OK, maybe not DHCP server stuff. And maybe you can’t change the display resolution of your computer. And maybe not - well, let’s just ...

Scripting Guy!VBScriptdatabases
Mar 10, 2005
Post comments count0
Post likes count0

How Can I Temporarily Add a Group to Another Active Directory Group?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! I’d like to add an Active Directory group to a second group, but only for an hour; after an hour, I’d like remove that group from the second group. Can I do that with a script?-- JW Hey, JW. Well, this is definitely one of the more interesting questions we’ve received. As far as we know, there’s no way to put a time limit on ...

Scripting Guy!scripting techniquesVBScript