Read variable value

Forum rules

This is a legacy forum which is locked for new topics. New topics should be started in one of the other forums under Extending Indigo

Posted on
Sun Jun 12, 2011 10:03 am
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Read variable value

Quick question:

I'm looking to read the value of a variable via a python script launched as an action in Indigo. I don't see a clear example in the documentation.

Thanks.

Posted on
Sun Jun 12, 2011 11:35 am
jay (support) offline
Site Admin
User avatar
Posts: 18224
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Read variable value

If you're using the "Execute Script" action, Python isn't fully implemented yet so you'll need to wait until it's done. The syntax for getting a variable in Python is shown in the examples section of the variable class documentation page.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun Jun 12, 2011 12:26 pm
nlagaros offline
Posts: 1646
Joined: Dec 20, 2010

Re: Read variable value

Thanks - I must be blind - didn't see it there before.

Can't wait for python to be in the build.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests