Photoshop Javascript: Paste items with options(Smart Object, Pixels, Shape)

Photoshop Script Snippets - Note: Full Scripts go in the Photoshop Scripts Forum

Moderators: Kukurykus, Tom, xbytor

poorawaste
Posts: 1
Joined: Tue Sep 26, 2017 8:45 am

Photoshop Javascript: Paste items with options(Smart Object, Pixels, Shape)

Post by poorawaste »

Hi
I am trying to replicate the ability to paste in photoshop with the option to paste as smart object or pixels or shape layer. How do I do that through code? It could be through extendscript or AppleScript, or even JXA(javascript).

Thanks