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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

String search on open app window

Status
Not open for further replies.

Mingas

Programmer
Jul 10, 2013
15
ZA
Guys please assist

I am trying to figure out a way to search for a string on an active window. I know how to do this on an IE Browser window, but is it possible on a normal application window. The code would basically need to search if a particular string appears on that active application window.
 
dont think vbscript can do it unless you know the name of the title or process.

Powershell
Get-Process | Where {$_.mainwindowtitle} | Format-Table id,name,mainwindowtitle -AutoSize

MCSE NT to 2012, MCITP:EA/SA, MCSA, MCDBA, MCTS, MCP+I, MCP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top