matias_kiviniemi's profile

8 Messages


222 Points

Wed, Apr 15, 2015 4:56 PM


Photoshop Javascript API document.duplicate() bug

The Photoshop Javascript API document.duplicate() method will always duplicate the active document regardless of what doc-object you call the method on. I.e. docA is active and you call docB.duplicate(), Photoshop still duplicates docA. Several functions only work on active doc so might be duplicate() is missing a check for this.

Tested on latest Win CC 2014.

Adobe Administrator


36 Messages


1.1K Points

7 y ago

I'll make it so the activeDocument gets switched and then switched back. Reference bug # 3984607.