Need help with VB Script: Trying to see if program is open, if Is - Switch to it. If not, open it
Posted on 2009-12-17
I am trying to create a .vbs script that will do the following:
1. Look to see if a program is running.
1a. If the program is running, bring the program to the front of the screen. Kind of like ALT-TAB ing, but automatically.
1b. If the program is not running, start it.
I can look for and find the running program, and I can also start the program if it's not running. I cannot seem to figure out how to switch to the program if it's already running. I have been searching around, but cannot seem to find a solution - which is why im here...asking the experts.