Author Topic: My little scripts repository  (Read 17391 times)

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
My little scripts repository
« 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)
« Last Edit: 2012 February 29 13:12:27 by Enzo De Bernardini »

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: My little scripts repository
« Reply #1 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!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: My little scripts repository
« Reply #2 on: 2011 December 29 04:48:35 »
Hi Enzo, that is excellent. They works propertly on win 64.
Saludos y feliz año nuevo

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: My little scripts repository
« Reply #3 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.

Offline JamieInCLT

  • Newcomer
  • Posts: 45
    • My Astrobin
Re: My little scripts repository
« Reply #4 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

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: My little scripts repository
« Reply #5 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.

Offline Martin

  • Newcomer
  • Posts: 19
Re: My little scripts repository
« Reply #6 on: 2012 April 25 06:01:44 »
Hello Enzo

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

thanks
Martin

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: My little scripts repository
« Reply #7 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.

Offline FunTomas

  • PixInsight Addict
  • ***
  • Posts: 135
    • Astrofoto.sk
Re: My little scripts repository
« Reply #8 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?

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: My little scripts repository
« Reply #9 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.

Offline FunTomas

  • PixInsight Addict
  • ***
  • Posts: 135
    • Astrofoto.sk
Re: My little scripts repository
« Reply #10 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.

Offline Alejandro Tombolini

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1267
    • Próxima Sur
Re: My little scripts repository
« Reply #11 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...

Offline FunTomas

  • PixInsight Addict
  • ***
  • Posts: 135
    • Astrofoto.sk
Re: My little scripts repository
« Reply #12 on: 2013 February 02 14:53:21 »
...not supported... yes, I need to look for new hardware. Thank you for your help.

Offline gspiegelman

  • Newcomer
  • Posts: 5
Re: My little scripts repository
« Reply #13 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/

Offline Enzo De Bernardini

  • PTeam Member
  • PixInsight Addict
  • ***
  • Posts: 274
  • Resistance is futile.
    • Astronomí­a Sur
Re: My little scripts repository
« Reply #14 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.