Variable URL Redirect  (IndigoWebServer Plug-In)

Contributed by: Jay Martin    Forum username: jay (support)

Overview

This plugin will add a URL to the Indigo Web Server that will allow you to specify a variable and it will get the value of that variable and (assuming it's a valid URL) it will redirect to that URL. This allows Refreshing Image URLs to be more dynamic.

Installation

To install this plugin drag the variable_url_redirect folder (after you download an unzip it) to the following location:

/Library/Application Support/Perceptive Automation/Indigo 7/IndigoWebServer/plugins/

and then restart Indigo.

Usage

To use this in a Refreshing Image URL on a control page, you specify the url:

http://USERNAME:PASSWORD@localhost:8176/variable_url_redirect/redirect?name=VARIABLENAME

You substitute the appropriate information for the words in ALLCAPS. The username and password are the username and password for your Indigo Server as you specified it in the Start Local Server... dialog. You pass in the variable name (not the id).

Note: this plugin will only work with http/https URLs (not file URLs for instance).

If you changed the port for the Indigo Web Server you'll need to use your custom port number. The above should work for most people though.