Okay, I think I’ve found an appscript bug.

If you attempt to connect to a networked machine, such as doing:
>>> from appscript import *
>>> it = app(url=”eppc://user@machine.local/iTunes”)
>>> it.activate()
Which works fine if you have a password, fails if there is no password.  And the error reported is:

RuntimeError: Can’t get terminology for application (aem.Application(url=’eppc://user@machine.local/iTunes’)): CommandError -128: userCanceledErr

Just because I haven’t put in a password, doesn’t mean I have cancelled the operation.

I’m still working on a fix to get it to work.

  RSS Feed for Comments on this Post