Good day!
Please tell me the syntax to switch to another active document in photoshop?
after duplication... similar to Ctrl+Tab
I can save and close the open active document of course and work with the original, but still want to check with the first.
So, as a result how to switch between active documents a script?
With respect, klevteev!
switch between active documents (Ctrl+Tab)
Re: switch between active documents (Ctrl+Tab)
You can also preced one by minus for previous document:
Code: Select all
sTT = stringIDToTypeID; (ref = new ActionReference())
.putOffset(sTT('document'), 1); (dsc = new ActionDescriptor())
.putReference(sTT('null'), ref), executeAction(sTT('select'), dsc)
Re: switch between active documents (Ctrl+Tab)
Thanks, but I used this:
So, I can change this)
Code: Select all
ishDoc = app.activeDocument
var theCopy = aDoc.duplicate (filename);
FaceDoc = app.activeDocument
app.activeDocument = ishDoc