Adam Morris wrote:

> I'm getting lots of milage out of appscript, but ran into a snag that 
> searches haven't resolved.
> 
> Trying to gui script a remote machine, and appscript doesn't seem to be 
> working. This:
> 
> app(url='eppc://machine.local/System Events').processes()
> 
> complains that terminology can't be found and that the application isn't 
> launched

You can launch remote apps directly via Apple events. Note that SE isn't 
running by default. You could add it to startup items or open it via the remote 
Finder if that's running. Beyond that, all the usual stuff about remote AEs 
apply - check your URL's correct, check your user name and pass are correct, 
check that remote AEs are enabled and not blocked by the firewall, remember to 
sacrifice a chicken, etc.


> Whereas:
> 
> app(url='eppc://machine.local/System Events')
> 
> does actually give me a reference. So is there something I'm misunderstanding?

app objects don't fetch terminology until you start building a reference or 
command.

HTH

has

-- 
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig
unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG

Reply via email to