Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

How Can I Determine the ADsPath for the Logged-On User?

(image) Hey, Scripting Guy! In my HTA, how can I determine the ADsPath for the logged-on user?-- AC(image) (image) (image) Hey, AC. You know, when you work at Microsoft people automatically assume that you spend your days in an ivory tower, totally removed from the day-to-day activities and needs of system administrators. To be honest, ...

How Can I Add a Shortcut to the Quick Launch Tray?

(image) Hey, Scripting Guy! How can I add a shortcut to the Quick Launch tray?-- ZR(image) (image) (image) Hey, ZR. Before we answer this question we need to first answer a different question. And here’s the answer: Frank “Home Run” Baker, who led the major league in homers four times, even though he never hit more than a dozen home ...

How Can I Tell if the Screen Saver is Active?

(image) Hey, Scripting Guy! How can I tell if the screen saver is active and, if so, how long it has been running?-- MS(image) (image) (image) Hey, MS. Interesting question; we don’t think we’ve ever been asked that before. And at first it had us stumped; after all, there aren’t any WMI classes or COM objects for managing the screen ...