PixInsight Forum (historical)

Software Development => New Scripts and Modules => Topic started by: Astrodoc on 2012 January 07 13:40:28

Title: Importing New Script into Featured Script
Post by: Astrodoc on 2012 January 07 13:40:28
Well, I'm pretty experienced with PI, but can't seem to get the new HaRGB script to import into Featured Scripts in Mac)SX running 64-bit PI.  Doesn't seem to matter where I put it (either in the Appications/Contents/scr or in a new directory).  Can anyone help?
Title: Re: Importing New Script into Featured Script
Post by: Hans Pleijsier on 2012 January 07 15:44:25
http://pixinsight.com/forum/index.php?topic=3713.0 (http://pixinsight.com/forum/index.php?topic=3713.0)

This might be the same problem.

HP
Title: Re: Importing New Script into Featured Script
Post by: Astrodoc on 2012 January 07 16:28:46
Thanks for trying to help, but I'd seen this thread and it didn't give me anything that helped solve the problem.
Title: Re: Importing New Script into Featured Script
Post by: Juan Conejero on 2012 January 07 17:05:10
Add the following two lines at the top of the script file:

Code: [Select]
#feature-id    Utilities > HaRGBCombination

#feature-info  A utility for combination of H-alpha and RGB image data<br/>\
               <br/>\
               Copyright &copy; 2011 Juan M. G&oacute;mez

and it will be detectable with the Script > Feature routine. You can do this with Script Editor.

This script is not part of the official distribution because it still requires some polishing. I'll try to find some time to work on it with the author.
Title: Re: Importing New Script into Featured Script
Post by: Astrodoc on 2012 January 07 19:35:34
Thanks, Juan, that solved it!