Author Topic: How to write PJSR script with GUI usable in process container?  (Read 5824 times)

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Hello,

suppose I wanted to use the "Sample Scripts/Draw Signature" script to add a signature to a whole lot of images. I would create a process container with this script, create an image container with the batch of images, and then apply to process container to the image container. Unfortunately, this does not work.

- the script would open the GUI for each image instance, which clearly is not desired
- somehow this does not work anyway: I always get an error of the type "Internal Error: Invalid routine invoked: Metascript::validation Routine"

So how to write one script such that it works in both modes?

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)