Jump to content
Macro Express Forums

Determine if an application already running?


terrypin
 Share

Recommended Posts

Is there some neat way to detect if an application X is already loaded (but not activated)? If it's already loaded I want to Activate it, and take various steps. Otherwise I want to Launch it, wait for a longish time, and then take those same steps.

 

For my intended macro I can't just use Activate/Launch followed by a Wait for Window Title command. I want to paste some data to the program, and that is possible almost immediately if I just have to activate it, but it needs 15-20 secs if I have to load the program first. However, the title comes up fast in a second or so, with the long wait after that.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

Steve: Thanks, exactly what I need - somehow overlooked that!

 

Kevin: Yes, thanks, experimenting with that this afternoon and it gave me a much-improved macro. But next I'll try the If Program commands Steve suggested which look as if they might completely meet my requirement.

 

--

Terry, East Grinstead, UK

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...