RETOUR
A
L ACCUEIL

//Aplatir.jsx


app.activeDocument.flatten()




//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


//Fermer.jsx


app.activeDocument.save()

app.activeDocument.close()




//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


//Contract.jsx


app.preferences.rulerUnits = Units.PIXELS;

app.displayDialogs = DialogModes.NO;


docRef = app.activeDocument;


docRef.selection.contract(20)




//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


/Desaturation.jsx


docRef = activeDocument


docRef.activeLayer.desaturate()




//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


//Deselect.jsx


docRef = app.activeDocument;


app.activeDocument.selection.deselect()




//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++


//DilateSelection.jsx


var selRef = app.activeDocument.selection

docRef.selection.expand(20) //dilater la selection


//docRef.selection.feather(10) //contour progressif