RETOUR L ACCUEIL |
//CalqueSimple.jsx
//cree un calque de l image
app.activeDocument.selection.selectAll()
app.activeDocument.selection.copy()
app.activeDocument.paste();
//alert(docRef.layers.length) //pour revenir a l arriere plan
//docRef.activeLayer = docRef.layers[docRef.layers.length - 1];
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//getPath.jsx
//donne le nom le nom du fichier et son chemin dans une boite de dialogue
getPath()
function getPath()
{
var activeDoc = activeDocument
alert ("Name: "+activeDoc.name)
alert ("Path: "+activeDoc.path)
alert ("Full Path: "+activeDoc.fullName)
}