[SOLVED]using py 101 with indigo

Posted on
Fri Jan 03, 2014 3:21 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

[SOLVED]using py 101 with indigo

excuse my simple questions. Here is what I would like to do

when I do
echo "alias indigohost='/Library/Application\ Support/Perceptive\ Automation/Indigo\ 6/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost'" >> ~/.bashrc
and then after close / open terminal
indigohost -i
gives an error message "command not found"

just
'/Library/Application\ Support/Perceptive\ Automation/Indigo\ 6/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost' -i
works


and can I use idle to write code that calls indigo

just at the very beginning.

any help appreciated.

Karl

Posted on
Fri Jan 03, 2014 5:15 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: using py 101 with indigo

Try putting it in your .bash_profile instead of .bashrc.

Code: Select all
echo "alias indigohost='/Library/Application\ Support/Perceptive\ Automation/Indigo\ 6/IndigoPluginHost.app/Contents/MacOS/IndigoPluginHost'" >>~/.bash_profile


You can also forcibly reload a file into the bash environment with ". <filename>". So executing

Code: Select all
. ~/.bash_profile

will reload the bash profile without having to close then re-open the terminal.

Posted on
Fri Jan 03, 2014 5:38 pm
kw123 offline
User avatar
Posts: 8392
Joined: May 12, 2013
Location: Dallas, TX

Re: using py 101 with indigo

thanks

and what do you use to write and test your py code - with indigo?

Karl

Posted on
Fri Jan 03, 2014 6:00 pm
nsheldon offline
Posts: 2469
Joined: Aug 09, 2010
Location: CA

Re: using py 101 with indigo

If you're talking about testing embedded Python code, I use the IndigoPluginHost just like above. If we're talking about plugin development, I use Xcode to write the code (mostly because it's already installed and thus convenient) and my production Indigo server to test the plugins. :-)

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests