Scripting Blog [archived]

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

How Can I Receive Notification Any Time Something is Printed to a Particular Printer?

(image) Hey, Scripting Guy! How can I receive notification any time something is printed to a particular printer?-- IL(image) (image) (image) Hey, IL. You know, one of the Scripting Guys once had a summer job in an organization where the only decent printer in the entire building was kept in the administrative assistant’s office. We can ...

How Can I Monitor the Event Logs for the Occurrence of a Specific Event?

(image) Hey, Scripting Guy! How can I monitor the event logs for the occurrence of a specific event?-- JP(image) (image) (image) Hey, JP. Why, you use an event log monitoring script, of course. (Yes, it’s hard to believe, but they really do pay us to come up with brilliant answers like that.) OK, maybe we should be a little more specific...

How Can I Launch Two Applications, Wait Until One Program Ends, and Then Close the Other?

(image) Hey, Scripting Guy! Here’s what I’d like to do: I want a script that will launch two executable files. After the first application closes I’d like the script to close the second application and then quit. How can I do that?-- MK (image) (image) Hey, MK. You know, this is the kind of question we like. Why? Because it...

Why Does My Performance Monitoring Script Keep Returning the Same Incorrect Values?

(image) Hey, Scripting Guy! I’m using a script to monitor process performance, but every time I run the script the percent processor time for all the processes comes out as 0. What am I doing wrong?-- JL(image) (image) (image) Hey, JL. We’ve simplified your script a bit to better illustrate the problem you’re running into. (And don...