In article 
<[email protected]>,
 Charles Miller <[email protected]> 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,
 [email protected]

_______________________________________________
Pythonmac-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to