Le 15/10/2014 11:48, Marnaud a écrit : > 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 > You're right. No explanation for that. The only sure things are that the name does not change, and that passing the correct name to KillProcess works. >> 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. Yes, I'm sure of what I'm doing, it's a security consideration. > >> 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. > _______________________________________________ > Thanks.
Jean-Luc _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
