PropagatePreviews Script

Enzo De Bernardini

PixInsight Ambassador
(en espa?ol abajo)

Hello,

Inspired by this post, I wrote this simple script (see attach) that copies all active image previews to all open images. There are many improvements that can be done, but it's a start. It has no GUI and, warning, it delete all existing previews and only leaves propagated previews from the active image.

Best regards,

Enzo.

EDIT Aug 19, 2010: GUI added, selection of previews to copy, selection of target images, and preserve existing previews option. New JS file version and screenshot attached.

-

Hola,

Inspirado en este post he escrito este sencillo script (ver adjunto) que copia todos los previews de la imagen activa a todas las im?genes abiertas. Hay muchas mejoras para hacer, pero es un comienzo. No posee interfaz de usuario y, cuidado, el script borra todos los previews existentes y deja ?nicamente los propagados desde la imagen activa.

Saludos,

Enzo.

EDITADO 19 Ago 2010: A?adido de interfaz de usuario, selecci?n de previews, selecci?n de im?genes de destino y opci?n de preservar los previews existentes. Nuevo archivo JS y captura de pantalla adjunto.
 

Attachments

  • PropagatePreviews.png
    PropagatePreviews.png
    12.9 KB · Views: 173
  • PropagatePreviews_v1_1_0.zip
    PropagatePreviews_v1_1_0.zip
    2.9 KB · Views: 141
Hi Enzo,

Thanks for this script - I'll download it when I get back to my PI machine

In the meantime, one suggestion, it can be easier if you just post a revision in a new message thread reply. That way, the latest revision level can be easier to find (IMHO, anyway). It might also be useful if the file attachment 'name' included the 'revision level' as well - then it is easier for prospective users to manage to download into their PC.

Trivial points - none of which detract from your excellent efforts.

Cheers,
 
The problem with revision numbers is that PI only finds the first instance when prompted to scan for scripts. So the user needs to remove the old version before adding the new one. As long as a version number is embedded in the script itself I see no issue with the script being published with a single name.
 
Niall Saunders said:
Hi Enzo,

Thanks for this script - I'll download it when I get back to my PI machine

In the meantime, one suggestion, it can be easier if you just post a revision in a new message thread reply. That way, the latest revision level can be easier to find (IMHO, anyway). It might also be useful if the file attachment 'name' included the 'revision level' as well - then it is easier for prospective users to manage to download into their PC.

Trivial points - none of which detract from your excellent efforts.

Cheers,


Thanks Niall!. You're right!, I too find useful the script revision in filename, perhaps only in the zip filename, and then simply overwrite the current js (for avoid the detail commented by Sander) In the future I think it would be interesting to have a script-repository, more organized.

Best regards, and thanks for the tips.

Enzo.
 
script-repository, more organized

I was going to mention exactly that in my last post.

Perhaps the detailed discussion of this should be moved into the Wish List section of the Forum - so that it is more 'visible'

Cheers,
 
Back
Top