Script Stopped Working in 10.12

Hey,

Hoping someone may know why this script stopped working when I upgraded from 10.8 to 10.12.

tell application "Chrome" of machine "eppc://Display:0@192.168.1.90" to set URL of active tab of window 1 to "http://192.168.1.80:8176/controlpage?name=Display%20Front%20Camera&useJS=True"

It returns Chrome isn’t running…which it definitely is.

Many thanks,

Carl

Model: Mac mini
Browser: Safari 603.3.8
Operating System: Mac OS X (10.12.6 beta 6)

Hi
can you try

tell application "Google Chrome"

Thanks, but seems no matter what I try the return is “app isn’t running”.

Carl

Thought I’d try the script as an app but still getting “App not running”.

tell application "Finder" of machine "eppc://Display:0@192.168.1.90"
to launch application "A Front Camera"
end tell

Seems I’m missing something.

Thanks,

Carl

Presumably you have Remote Applications enabled and the machines set up to talk to each other?

Not sure what “Remote Applications” are but I do have “Remote Apple Events” available for all users in the Sharing prefs.

Again, this worked fine until I upgraded the computer I’m sending the script from
to 10.12. The Display machine hasn’t changed at all.

Thanks,

Carl

This one returns this error:
error “Can’t make "Google Chrome" into type integer.” number -1700 from “Google Chrome” to integer

set remoteMachine to "eppc://Display:0@192.168.1.90"

using terms from application "Google Chrome"
	tell application "Google Chrome" of remoteMachine
		set URL of active tab of window 1 to "http://192.168.1.80:8176/controlpage?name=Display%20Front%20Camera&useJS=True"
	end tell
end using terms from

Not sure if I’m getting closer or it’s just not possible anymore with 10.12.

Carl