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

check active application

Status
Not open for further replies.

RoMa68

Technical User
Feb 7, 2006
27
DE
Hi all,

object.AppActivate title
activates the named application

...but is it possible the find out what the active application is?

What I need is:
I have a script which check wether IE is running and then sends {F5} (refresh) to the IE - but the "object.AppActivate" removes the focus from the application I'm working with and sets it to the IE. Is it possible the find out what the active application is, the refresh IE and afterwards set the focus back to the first application?

Thanks MR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top