Copy link to clipboard
Copied
Hi,
I created a script which after doing several manipulations on an image (stage1) needs to crop it to a 1X1 square ratio (stage2).
After cropping i do several more manipulations (stage3).
I want to user to decide how to place the 1X1 crop.
How can I make the script stop after stage1 and continue after the user completed stage2?
Thanks
I did not understand well. But I will suggest something.
How do you make a crop?
If through the DOM function, then maybe you wanted to get this.
app.displayDialogs = DialogModes.ALL;
app.activeDocument.crop([0,0,10,10]);
app.displayDialogs = DialogModes.NO; // DialogModes.ERROR;
Copy link to clipboard
Copied
I did not understand well. But I will suggest something.
How do you make a crop?
If through the DOM function, then maybe you wanted to get this.
app.displayDialogs = DialogModes.ALL;
app.activeDocument.crop([0,0,10,10]);
app.displayDialogs = DialogModes.NO; // DialogModes.ERROR;
Copy link to clipboard
Copied
yes , thatch it!
Copy link to clipboard
Copied
The cropping work great.
Now I am into writing another script.
This time I generate N number of shapes and ask the user to arrange them.
Once arranged i need to complete the script action.
How can I do that?
That it alert the user to arrange the layer and 'hit ok when done...'
And after hitting ok i shall continue the script.
Thanks