Showing tag results for WMI

Nov 28, 2005
Post comments count0
Post likes count0

How Can I Rename Files Like _JKG1234.jpg to 272_DSC_1234.jpg?

ScriptingGuy1

Hey, Scripting Guy! How can I rename files like _JKG1234.jpg to 272_DSC_1234.jpg?-- NA Hey, NA. You know, NA, we feel sorry for you. Why? Well, on the one hand you’re unbelievably lucky. After all, the Scripting Guys never write scripts that they actually use, yet you somehow managed to hit upon an exception. Talk about defying the odds! At the ...

Scripting Guy!scripting techniquesVBScript
Nov 10, 2005
Post comments count0
Post likes count0

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

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 i...

Scripting Guy!scripting techniquesVBScript
Sep 22, 2005
Post comments count0
Post likes count0

How Can I Monitor the Activity Level of a Process?

ScriptingGuy1

Hey, Scripting Guy! How can I monitor the activity of a process to see if anyone is using it?-- AJ Hey, AJ. You know, this is one time when writing the script is actually the easy part of the answer. Although there are a couple different ways to do this, we opted to periodically check the cumulative amount of processor time used by an applicatio...

Scripting Guy!scripting techniquesVBScript
Aug 23, 2005
Post comments count0
Post likes count0

How Can I Unhide All the Files in a Folder?

ScriptingGuy1

Hey, Scripting Guy! How can I run a script to unhide all the files in a folder?-- GA Hey, GA. You know, when one of the Scripting Guys was a bit younger he and the other kids in his neighborhood spent countless hours playing variations on hide-and-seek; in fact, this Scripting Guy still has vivid memories of lying in a shallow ditch and having m...

Scripting Guy!VBScriptWMI
Jul 28, 2005
Post comments count0
Post likes count0

How Can I Determine if a WMI Property is Writeable?

ScriptingGuy1

Hey, Scripting Guy! We have an application that installs a WMI class named UIDLightInfo. That class includes a property named UIDLightState. How can I tell whether or not I can change the value of this property?-- JC Hey, JC. You know, we once reviewed a scripting course where the authors continually dealt with the question, “How do I know if I ...

Scripting Guy!scripting techniquesVBScript