Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set power configuration based on existing windows

Status
Not open for further replies.

cheer8923

Programmer
Aug 7, 2006
230
US
I am new to vbs. What I want to do is to get a list of existing windows, and set the power configuration based on the whether the listed title(s).

I tried in DOS. tasklist.exe can only query whether a given title exists or not. There is no way to do pattern matching or listing all existing windows.

Some one here points me to vbs as a way to do this. Could anyone throw me an example?

Thanks!
 
Please clarify what you are trying to do. It is not clear in your post.


I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top