Our Newsletter


Subscribe to our Newsletter and we'll keep you notified of new products, giveaways and discounts.

We respect your email privacy and will never sell or share your details with anyone.


Knowledgebase Home | Glossary | Favorites | Contact | Login Knowledgebase Home | Glossary | Favorites | Contact | Login
Search the Knowledgebase Browse by Category
VBscript AppActivate
Article Details

Last Updated
21st of February, 2009

User Opinions (0 votes)
No users have voted.

How would you rate this answer?
Helpful
Not helpful
Use AppActivate to make the selected Window Active

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "calc"
WScript.Sleep 100
WshShell.AppActivate "Calculator"

This example runs the Windows Calculator and makes the Windows Calculator the active Window. The Application being made active should have the full title bar name in your script. For example notepad should read"

WshShell.AppActivate "Untitled - Notepad "

Visitor Comments
No visitor comments posted. Post a comment
Post Comment for "VBscript AppActivate"
To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Your Name:
   Email Address:
* Your Comment:
* Enter the code below:
 
Related Articles
No related articles were found.
Attachments
No attachments were found.