Substitute?

Posted on
Sun Sep 22, 2019 10:49 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Substitute?

Is it possible to invoke the substitute helper method in an embedded script? :)

Posted on
Sun Sep 22, 2019 11:30 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Substitute?

Yes, this should work:

indigo.activePlugin.substitute()

activePlugin is a reference to whatever plugin is currently executing, so for an embedded script it is an internal plugin whose purpose is just to execute Indigo scripts (with the build-in indigo module available).

Image

Posted on
Sun Sep 22, 2019 11:39 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Substitute?

It does, thanks. :)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests