Python Scripting & Open Script Shell

Posted on
Fri Dec 14, 2018 6:18 pm
Charles offline
Posts: 5
Joined: Dec 10, 2018

Python Scripting & Open Script Shell

Hi

So just getting started in the basics of Python and I have a very fundamental question with regard to Indigo scripting.
Where is it actually done?

In the trigger window-conditions, there is a window to install some scripting. And there is the Scripting Shell which launches the terminal window opening the Indigo Plugins "Python" shell. But once in the terminal mode, how and where is a script saved. The IOD discusses the shell and python but can't seem to find the how, when and where a script runs in my given environment?

Thanks, Charles

Posted on
Fri Dec 14, 2018 6:31 pm
FlyingDiver offline
User avatar
Posts: 7217
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Python Scripting & Open Script Shell

The scripting shell is for testing Python code. Once you have code that does what you want, you save it in a Scripting action in an Action group, Schedule, or Trigger.

Also, you can save it to an external file on the computer, and execute that file from an Action group, Schedule, orTrigger. You must do it in an external file if the script takes more than a few seconds (10 max, I think) to run.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Dec 14, 2018 9:52 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Python Scripting & Open Script Shell

Specifically, the Execute Script action.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Dec 18, 2018 6:09 pm
Charles offline
Posts: 5
Joined: Dec 10, 2018

Re: Python Scripting & Open Script Shell

Thanks Jay :D

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests

cron