Issue with ExtendScript: Pasting Illustrator Path Data into Photoshop with Desired Path Format
Hello,
I am currently working on implementing a script using ExtendScript to copy path data generated using Illustrator's trace feature onto Photoshop. The script is mostly functioning as intended, but I have encountered a significant issue.
When pasting the path data copied to the clipboard in Illustrator into Photoshop, the manual process involves the display of the "Paste As" window, allowing the user to specify the "Path Format." However, when pasting via ExtendScript, it is saved with the "Last saved format in Photoshop."
This poses a significant problem for me. I would like the script, regardless of the last operation performed in Photoshop via ExtendScript, to save in the "Path Format" when pasting.
Otherwise, I am required to manually save in "Path Format" before running the script each time, which is inconvenient.
I would greatly appreciate any guidance on a solution to this issue. Thank you in advance.