Use indigo variable to substitute URL on control page image

Posted on
Sun Nov 15, 2015 8:36 pm
Quantum Flux offline
User avatar
Posts: 23
Joined: Nov 22, 2014
Location: Australia

Use indigo variable to substitute URL on control page image

I have a control page for an iPad which has a refreshing image from URL.
Is it possible to use an indigo variable to substitute this URL?
Can't seem to make it work.
If not, does anyone have a good workaround?

Posted on
Mon Nov 16, 2015 12:25 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Use indigo variable to substitute URL on control page im

Unfortunately, substitutions are not available in the control page editor at the moment.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Nov 16, 2015 1:19 pm
RogueProeliator offline
User avatar
Posts: 2501
Joined: Nov 13, 2012
Location: Baton Rouge, LA

Re: Use indigo variable to substitute URL on control page im

If not, does anyone have a good workaround?

You need to go about it the other way -- keep the URL the same, generally pointing to a file:// URL located on your hard drive. Then instead of using a variable to change the URL, you change out the image file itself. The control page, upon the next refresh of the refreshing image, will pull the new file (from the same location).

From the control page standpoint, you are simulating loading a refreshing image from a website here, just that you can use a local file that you control and change out as necessary.

Adam

Posted on
Tue Nov 17, 2015 4:51 am
Quantum Flux offline
User avatar
Posts: 23
Joined: Nov 22, 2014
Location: Australia

Re: Use indigo variable to substitute URL on control page im

RogueProeliator wrote:
If not, does anyone have a good workaround?

You need to go about it the other way -- keep the URL the same, generally pointing to a file:// URL located on your hard drive. Then instead of using a variable to change the URL, you change out the image file itself. The control page, upon the next refresh of the refreshing image, will pull the new file (from the same location).

From the control page standpoint, you are simulating loading a refreshing image from a website here, just that you can use a local file that you control and change out as necessary.

Adam


Thanks. That sounds like a good solution. I'll set that up next weekend.

Posted on
Thu Jul 23, 2020 11:30 pm
ppespepe offline
Posts: 49
Joined: May 27, 2020

Re: Use indigo variable to substitute URL on control page im

Hello Everyone!

I can see this thread is pretty old, Is there any update on this?

Thanks in advance!

PP


Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests

cron