Ughh... DDE is probably not the way to go. It is still in FM but it is very very dead technology that is very very badly documented.
You may want to use the Send Event script step instead.
FM can not natively check to see if an application is open. But if the other application supports ActiveX and has an API then you can write a small VBscript to check if the application is running and open it if it is not, then tell it to open a particular file.
VBscript is just text so you can store it in FM and export it through the 'export field contents' script step and execute it through the 'send event' script step.
Appologies, I have used Send Event and not DDE, DDE was a previous test that was // out.
Don't really know VBScript, any pointers on what would do ?
any pointers on what would do ?
It all starts and ends with the other application. Does it have ActiveX hooks or an automation API?
its Image J
Why do you need checking "not open" ? You can open the program, so don't you need checking "open" for prevent duplicate?
I only want one instance of the application open at any one time.
If run a script to open the app thats fne; but if i i run it again it opens a new instance.
I want to check if already open and if it is then stop the run.