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.
Charlie
On Aug 22, 2009, at 1:03 PM, Sean DiZazzo wrote:
Why not just ssh in and run "open /Applications/Preview.app" ?
On Sat, Aug 22, 2009 at 10:35 AM, Charles Miller <cmil...@securityevaluators.com
> wrote:
Thanks for the thought. Unfortunately, the same thing happens with
TextEdit, for example. (BTW, you can make Preview AppleScriptable
by following directions here http://www.macworld.com/article/53391/2006/10/previewscript.html)
The AppleScript Language Guide states that one of the four
requirements for doing remote applescript is "If the specified
remote application is not running, you must run it."
Charlie
I'm wondering if the above error occurs because Preview is not
AppleScriptable.
Henry
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig