Jump to content
Macro Express Forums

(newbie) How To Load An External App..


J Cook

Recommended Posts

Hey there,

 

I just cant figure out how I can make a macro that will open another app when i manually open an app?

I dont want both apps opened by use of a simple batch file. I want Macro Express to recognize the app when it gets started (through Startmenu or linked datafile etc.) and then seperately load another app.

 

Ive tried a few sort of scripts but they dont work. It seems the primary app doesnt get recognized.

 

 

So heres attempt 1

 

pic61.gif

 

 

Noobies' attempt 2

 

pic62.gif

 

 

 

Anyone who can tell me what i did wrong ?

 

(Hope im clear enough, English is not my primary language)

 

Thanks! :lol:

Link to comment
Share on other sites

J Cook -

 

I am not sure I understand. Are you saying that you want the save.exe program to launch automatically when the radLight3.exe program is launched? Or do you want to manually run a macro that will launch the save.exe only if the radLight3.exe program is already running?

Link to comment
Share on other sites

Hey J Cook,

 

Have you tried using the Window Title default activation.

 

IE When Macro Express sees the window Notepad then activate the macro.

 

I am not sure if this is what you are trying to accomplish, just hoping I understood the question.

Link to comment
Share on other sites

Thanks for the replies,

I am not sure I understand. Are you saying that you want the save.exe program to launch automatically when the radLight3.exe program is launched?
Correct.

If Radlight is launched (in any way, Startmenu, linked file etc.) Macro Expres needs to recognize that and launch Save.exe.

Shouldn't be too hard I think but so far my efforts have failed :(

Have you tried using the Window Title default activation.

 

IE When Macro Express sees the window Notepad then activate the macro.

How do I do that ? The only command I found so far that uses the Window Title activation is the Activate/Launch Program command. But that will only launch the app and activate the Window Title of that same app. It doesn't use a "recognize-feature" i suppose?

I thought you could only let Macro Express see Window Titles by assigning a control?

 

Also, Save.exe is an invisible app. Its only resident in memory with no GUI.

Link to comment
Share on other sites

J Cook -

 

1) Create a macro with the following code:

If Not Program Name "save.exe" running
 Program Launch: "save.exe"
End If

2) Scope it to the radLight3.exe program. Do this from the Scope tab and make sure that the Run If On Top box is checked.

 

Image0398.jpg

 

3) Set the automatic activation to be from a Window Control gaining focus. This is done from the Properties tab and is similar to using the Get Control command. Capture the radLight.exe window. The example shows notepad.exe, but you get the idea. And I would choose the Control Focused option.

 

Image0399.jpg

 

Now, whenever the radLight3.exe program gains focus, and if the save.exe program is not launched, then it will be launched. Otherwise, the macro is ignored.

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...
×
×
  • Create New...