Script (JS) : how to ask user to select something in an image during a script?
Hi all,
In my script, I would like to :
1. load images from a folder
2. ask the user to choose a process
3. upon the choosen process, ask the user to draw a selection (rectangular) in the 1st image of the folder image
4. process all the images taking into account the selection
I already wrote the code for steps 1. 2. and 4. but instead of having the step. 3 in the middle of the script, I ask the user to do it before running the script... this is not very user friendly.
This is why I would like to know how to insert the step 3 inside the script. I mean, the script pauses, the user makes its selection and then press a button to continue the script.
My code is in JS.
Thanks for your help.
Fred
