Scripting Blog [archived]

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

How Can I Get the Process ID for an Executable File, But Only If the Process Has a Specified Owner?

(image) Hey, Scripting Guy! How can I get the process ID for a file like MyExecutableFile.exe, but only if a certain user is the owner of that process?-- SC(image) (image) (image) Hey, SC. You know, here at Microsoft ownership is very important; for example, when you sit down to discuss joint projects with people the very first question ...

How Can I Display a Message Box That Has No Buttons, and That Disappears After a Specified Period of Time?

(image) Hey, Scripting Guy! I would like to display a message box for a set amount of time and then have it disappear. However, I’d prefer that this message box not have a close button, or have anything else that would allow the user to close the message, minimize the message, etc. How can I do that?-- D(image) (image) (image) Hey, D. ...