Control Page Display Issues on Remote Mac

Posted on
Sun Jan 03, 2016 4:40 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Control Page Display Issues on Remote Mac

Hope I'm in the right forum.
I have a Mac mini setup to do nothing but display CP's. It had been working beautifully
using an old mini 2006 mini running Opera. That mini died and was replaced with a somewhat newer
one running 10.6.8 and a newer version of Opera.

I've always stayed with Opera for it's very nice full screen mode but with the version that runs on 10.6.8
the pages will often half load, or when displaying a page with a refreshing url, flash on each
refresh. All very annoying.

I'm experimenting with Firefox and it's full screen mode but have a couple issues I'm hoping
someone might know how to fix.

A. Apparently to get a true full screen display the CP has to be set to the exact size as the remote screen.
On most all my CP's that works fine except a few which have some strange bits of text showing outside
the image area as shown on the attached screen cap.

B. This is the code I used to load specific CP's on the remote machine that now doesn't work using Firefox.
Code: Select all
set _Remote to "eppc://Display:0@192.168.1.90"
tell application "Firefox" of machine _Remote
   open "http://192.168.1.80:8176/controlpage?name=Caller%20ID&useJS=True"
end tell


As shown in the attached screen shot it seems to append a "file://" to the url which I assume is causing it to fail.

Really appreciate any insight anyone may have in resolving the issues!

Thanks,

Carl
Attachments
Site Off-Screen Text.jpg
Site Off-Screen Text.jpg (303.44 KiB) Viewed 2187 times
File not found.png
File not found.png (84.27 KiB) Viewed 2187 times

Posted on
Sun Jan 03, 2016 10:48 pm
howartp offline
Posts: 4559
Joined: Jan 09, 2014
Location: West Yorkshire, UK

Re: Control Page Display Issues on Remote Mac

It looks like you got a typo in your calling code.

The screenshot is trying to load http/:: instead of http:// which is why Firefox is appending the file:// bit.

Peter


Sent from my iPhone using Tapatalk

Posted on
Mon Jan 04, 2016 1:48 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Control Page Display Issues on Remote Mac

Turns out I just needed to use "open location" instead of "open".

Had bigger issues though with Firefox and decided to use Chrome instead. It has a better full screen mode when using a hide scroll bars extension.

The one last problem I have now is in sending the applescript command from the Indigo server to the remote mini running Chrome.
This code works fine if run in Script Editor directly on the remote mini. (10.6.8)

Code: Select all
tell application "Google Chrome"
   set URL of active tab of window 1  "http://192.168.1.80:8176/controlpage?name=Caller%20ID&useJS=True"
end tell

It loads a CP in the active tab without opening a new tab...just what I need.

This script won't compile on the Indigo server. (10.5.8)
It highlites "active tab" and says a "A property can't go after this identifier."

Code: Select all
set _Remote to "eppc://Display:0@192.168.1.90"
tell application "Google Chrome" of machine _Remote
   set URL of active tab of window 1  "http://192.168.1.80:8176/controlpage?name=Caller%20ID&useJS=True"
end tell


Any idea why the code will work on the remote mini but not from the Indigo server?

Thanks,

Carl

Posted on
Mon Jan 04, 2016 5:17 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Control Page Display Issues on Remote Mac

Staying true to form I'll answer my own post again. I really have to acquire some patience one of these days.

Not likey for sure, but if anyone is doing what I'm doing displaying CP's full screen on a remote machine,
this code works for me controlling the current version of Chrome in full screen mode with the HideScrollBars extension.

Code: Select all
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=Webcam%20Old%20Faithful&useJS=True"


Next project upgrade the Indigo server.....yikes.

Carl

Posted on
Mon Jan 04, 2016 5:36 pm
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Control Page Display Issues on Remote Mac

ckeyes888 wrote:
Next project upgrade the Indigo server.....yikes.


If you're talking about upgrading to Mac OS X 10.11, I recommend waiting for a while longer...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Jan 04, 2016 7:24 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Control Page Display Issues on Remote Mac

Actually, I'm going to a current mini running 10.6.8 which I'm hoping won't
kill off my Applescripts, phone modem etc. but will allow the latest Indigo
and plugins. Kinda a wus when it comes to upgrading.

Carl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 9 guests