Apply "View - Flip Horizontal" to all open windows (including clones)
Ive been trying to apply the View -- Flip Horizontal to all my open documents when working in some illustrations with an Script (the script is pretty simple). My problem is that the script sequentially jumps through the documents, but the "clone documents/windows" does not appear as a new document (because it is just a new window that mirror the document). For reference is when you do window -> arrange -> new ****.PSD
This is my code:
var idflipViewHorizontal = stringIDToTypeID( "flipViewHorizontal" );
var workingDocument = app.activeDocument;
for (var i = 0; i < app.documents.length; i++)
{
app.activeDocument = app.documents;
var docRef = app.activeDocument;
runMenuItem(idflipViewHorizontal);
};
app.activeDocument = workingDocument;But this just cycle through documents, and I think I need cycle through open windows/ document tabs, to apply the "view effect" cause this view -- flip horizontal doesnt actually change the doc, it is just a view mode.
