PixInsight Forum (historical)

Software Development => PCL and PJSR Development => Topic started by: zvrastil on 2011 October 04 14:06:49

Title: Process instance to script code?
Post by: zvrastil on 2011 October 04 14:06:49
Hello,

is there some easy way (like dropping process instance somewhere) to generate JavaScript code to setup/call this process instance with actual parameters?
If not, how to set up the MorpologicalTransformation process in JavaScript with three-way structuring element?

thanks, Zbynek
Title: Re: Process instance to script code?
Post by: Juan Conejero on 2011 October 04 14:24:58
Drag the MorphologicalTransformation instance to the ProcessContainer interface to render it as JavaScript code.

(http://forum-images.pixinsight.com/20111004/process-container.png)
Title: Re: Process instance to script code?
Post by: zvrastil on 2011 October 04 22:55:05
Thanks Juan,

I knew I saw something like that is some video tutorial or such.

Zbynek