In article <e373ef9f-2ffd-4402-b1ad-02bba17fb...@securityevaluators.com>, Charles Miller <cmil...@securityevaluators.com> wrote: > On Aug 22, 2009, at 1:03 PM, Sean DiZazzo wrote: >> Why not just ssh in and run "open /Applications/Preview.app" ? > That is certainly an option, but I'm trying to script everything from > Python and so having to popen a call to ssh to login and start preview > is pretty heavy compared to sending a simple applescript event.
"simple applescript event" seems to be a bit of an oxymoron, especially in the context of remote events! Personally, I would almost always choose an ssh solution over a remote Apple Event solution. It should be more secure and it generally just works. It is also useful for cases where a GUI isn't necessary; you can ssh in even when the user isn't logged in. But you know that, no doubt. -- Ned Deily, n...@acm.org _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig