2
I have two . exe application that conflict eachother ( App_A and App_B). I want to warn the user when he launch App_B if App_A is already running.
ps: the warning message must really open before App_B launch, not 1 sec after. The message warning would be :
Are you sure you want to launch App_B ? App_A is already running! Yes/ No
The user can try to launch App_B either from desktop shortcut of from a associated file. (user click on the file and it auto-launch App_B to edit the file.)
App_A and App_B aren't my software, I can't edit them. I think I must use an external automation software.
Does somebody have any idea on which software I could use ? I have tried Window scheduler with batch file (no sucess), but I am open to any other solution. I have tried with automation tool like Eventghost with no sucess
I'm guessing these aren't programs you have access to the source code for? Mutex's could be used to this effect. Otherwise you could create a batch file to do so, something like this but using the CHOICE command.
– Jonno – 2015-12-23T15:20:43.790no I don't have source. the problem with batch is this : if user double-click on a default-binded file, window will open App_B and not the batch script, so the batch solution would be bypassed – n0tis – 2015-12-23T15:21:49.720
I can't really see any way around that, other than to not allow people to open file types associated with the application and force them to open it via a batch. – Jonno – 2015-12-23T15:24:10.993
@RogUE I think the OP means that they want to retain the functionality to open associated file types (EG, if you open a .xls file it'll open through Excel). This would bypass this entirely, although I might have misinterpreted this? – Jonno – 2015-12-23T15:37:27.927
@Jonno You are right. I should have used the term file-assiciation, I will edit – n0tis – 2015-12-23T15:46:22.427