PixInsight Forum (historical)

Software Development => New Scripts and Modules => Topic started by: Enzo De Bernardini on 2011 December 28 16:34:49

Title: My little scripts repository
Post by: Enzo De Bernardini on 2011 December 28 16:34:49
Hello,

I created a repository for my published scripts at the following address:

Code: [Select]
http://www.astrosurf.com/astronosur/pixinsight/scripts/
If you wish, you can add them from menu Resources > Updates > Manage Repositories, Add button, and paste the url.

I have added three scripts:
I have tested on Win 32 and it seems to work well. Let me know if there is any problem.

Best regards,

Enzo.

Edited Feb 29: added www to address (Astrosurf change url rules)
Title: Re: My little scripts repository
Post by: Juan Conejero on 2011 December 29 02:57:10
Hi Enzo,

Fantastic work. Your repository works like a charm and the scripts are useful, nice and very well written. Well done! ;)

Just a couple things. The LinearPatternGeneration script should be in the Render category IMO. When the active image has no preview defined, PropagatePreviews should show an error message (on a MessageBox) and terminate. Either that, or allow the user select the source image with a ViewList control.

Keep them coming!
Title: Re: My little scripts repository
Post by: Alejandro Tombolini on 2011 December 29 04:48:35
Hi Enzo, that is excellent. They works propertly on win 64.
Saludos y feliz año nuevo
Title: Re: My little scripts repository
Post by: Enzo De Bernardini on 2011 December 29 08:07:00
Thanks Juan!

Quote
The LinearPatternGeneration script should be in the Render category IMO.

Ah, yes!, good idea. I've updated the code.

Quote
When the active image has no preview defined, PropagatePreviews should show an error message (on a MessageBox) and terminate. Either that, or allow the user select the source image with a ViewList control.

Humm, should do now. It's a warning type message, at least it works for me on W32. Is in the main() function. And change the source image is a good idea...I have to think about that  ;)

Regards,

Enzo.
Title: Re: My little scripts repository
Post by: JamieInCLT on 2012 February 29 12:25:41
Thanks!

Side note-
I had to use http://www.astrosurf.com/astronosur/pixinsight/scripts/ to get it to work
Title: Re: My little scripts repository
Post by: Enzo De Bernardini on 2012 February 29 13:11:11
Oh, yes!, Astrosurf change some url rules, and now all addresses are redirected to www. Thanks and apologies for any inconvenience. :)

Greetings,

Enzo.
Title: Re: My little scripts repository
Post by: Martin on 2012 April 25 06:01:44
Hello Enzo

have you taken off this link?  It doesnt appear to work any more.

thanks
Martin
Title: Re: My little scripts repository
Post by: Alejandro Tombolini on 2012 April 25 07:34:56
Hi Martin, this complete link seems to work fine:

http://www.astrosurf.com/astronosur/pixinsight/scripts/

Saludos, Alejandro.
Title: Re: My little scripts repository
Post by: FunTomas on 2013 January 23 11:40:14
Hello Enzo. When I run this script in the new PI 1.8 environment, I got this error:

Processing script file: C:/appl/astro/PixInsight/src/scripts/LinearPatternGeneration.js
*** Error [001]: C:/appl/astro/PixInsight/src/scripts/LinearPatternGeneration.js, line 259: ReferenceError: HorizontalSizer is not defined

Something is missing?
Title: Re: My little scripts repository
Post by: Alejandro Tombolini on 2013 February 02 12:47:13
Hi FunTomas,

Are you using the script that is in the oficial distribution? It is in Script>Render>LinearPatternGeneration.
I tried it and generate the pattern without problems on Linux 64 with 1.8 RC3
See screeshot

Saludos.
Alejandro.
Title: Re: My little scripts repository
Post by: FunTomas on 2013 February 02 14:17:14
Hi Alejandro. I run script from official distribution (Script>Render>LinearPatternGeneration), but I run it from Win7 32bit environment.
Title: Re: My little scripts repository
Post by: Alejandro Tombolini on 2013 February 02 14:39:14
I tried in W7 64 and also works (PI 1.7 in this case). Then must be that 32 bit is not supported...
Title: Re: My little scripts repository
Post by: FunTomas on 2013 February 02 14:53:21
...not supported... yes, I need to look for new hardware. Thank you for your help.
Title: Re: My little scripts repository
Post by: gspiegelman on 2013 May 12 11:32:10
I tried to go to your repository, and I just get a message saying to add it to my list. Here is the URL I used:
http://www.astrosurf.com/astronosur/pixinsight/scripts/
Title: Re: My little scripts repository
Post by: Enzo De Bernardini on 2013 May 12 19:54:58
Hi,

You need to add the address to repositories in Resources > Updates > Manage Repositories and click Add button.

I have a bit outdated scripts for lack of time. I hope to put up soon :embarassed:

Best regards,

Enzo.
Title: Re: My little scripts repository
Post by: Geoff on 2013 May 13 00:02:37
Hi Enzo
I did the "Resources > Updates > Manage Repositories and click Add button" sequence and then put in the above url.  However, none of these scripts appear in PI.  What am I missing?
Geoff
Title: Re: My little scripts repository
Post by: cdesselles on 2014 November 15 14:15:20
Same thing here, Geoff.  Got the repository but no scripts.
Title: Re: My little scripts repository
Post by: Enzo De Bernardini on 2014 November 16 06:58:20
Hi folks,

Yes, I'm sorry, the repository is out of date (old PI version declaration) But don't worry, the three scrips are now part of the standard distribution: ImageInsert, LinearPatternGeneration and PropagatePreviews (for PropagatePreviews see bitli new version here (http://pixinsight.com/forum/index.php?topic=7105.msg47965))

I will notify if I add new scripts in the repository.

Greetings,

Enzo.