Showing results for events and monitoring - Scripting Blog [archived]

Nov 10, 2005
0
0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I receive notification any time something is printed to a particular printer?-- IL 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 attest, from painful experience, that...

Scripting Guy!scripting techniquesVBScript
Aug 16, 2005
0
0

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

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! How can I monitor the event logs for the occurrence of a specific event?-- JP 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: you use an event log monitoring ...

Scripting Guy!scripting techniquesVBScript
Jul 11, 2005
0
1

How Can I Monitor Changes to a Registry Key?

ScriptingGuy1
ScriptingGuy1

Hey, Scripting Guy! Is it possible to use a script to monitor changes to a registry key? I’d like to be notified any time someone makes changes to the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run key.-- SB Hey, SB. And by the way, thanks for wording the question the way you did: it’s actually pretty easy to receive ...

Scripting Guy!scripting techniquesVBScript
Jul 1, 2005
0
0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, MK. You know, this is the kind of question we like. Why? Because it sounds really complicated ...

Scripting Guy!scripting techniquesVBScript
Apr 21, 2005
0
0

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

ScriptingGuy1
ScriptingGuy1

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 Hey, JL. We’ve simplified your script a bit to better illustrate the problem you’re running into. (And don’t feel bad: this is a very common ...

Scripting Guy!scripting techniquesVBScript