Le 15 oct. 2014 à 11:40, Jean-Luc Arnaud a écrit: > My code was originally intended for running on Windows. > I was looping into processes, searching for "AcroRd", which is the name > of the process on Windows, BUT NOT ON MAC.:-!
So why did you say you were able to kill Adobe Reader only when there's no window open? Does the process' name change (to the Win32 name) when there's an open window? :-P > ProcessMBS.KillProcess works well, given that the process is correctly > defined. I've seen a huge number of people misusing the kill command instead of simply quitting an app (even on websites, a lot of guys still make the mistake of suggesting to kill an app (often the Finder or Dock), which is way too much and unnecessary). I really hope you've asked yourself wether you have no other way than killing the apps. > My apologies, Arnaud, for having made you work on what was a stupid > error in my code. No problem; if I had no time [now], I'd have not responded [yet]. And I've learnt that scripting Adobe Reader isn't working. _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
