Skip to main content
4ildren
New Participant
January 3, 2015
Answered

Scripting 'Save PSD as PDF with password security' and 'Open PDF with password security' issue.

  • January 3, 2015
  • 1 reply
  • 618 views

Hi!

I'm now building an extension for Photoshop. The script (jsx) should save the active document as Photoshop PDF secured with a password. The PW is the same all the time and is set in the script. Then the script is to open the PDF with that same password. I need all this to protect the PDF from opening by a user, so that only the script has access to the file.

I've googled a lot. I've seen a similar topic on this community dated as 2012. It's not answered. With an only comment saying that saving with a password seems to be possible via GUI and not via a script.

Has anything changed since 2012?

P.S. Illustrator .documentPassword and .requireDocumentPassword don't work in PS and ScriptListener still gives nothing 😕😕

This topic has been closed for replies.
Correct answer c.pfaffenbichler
ScriptListener still gives nothing

Which probably means the task is (still) not possible to achieve with Photoshop Scripting.

Both Photoshop DOM and AM seem to have weaknesses/omissions that I would consider more relevant but if you regard the issue as crucial you may want to post a Feature Request over at

Photoshop Family Customer Community

1 reply

c.pfaffenbichler
c.pfaffenbichlerCorrect answer
Community Expert
January 4, 2015
ScriptListener still gives nothing

Which probably means the task is (still) not possible to achieve with Photoshop Scripting.

Both Photoshop DOM and AM seem to have weaknesses/omissions that I would consider more relevant but if you regard the issue as crucial you may want to post a Feature Request over at

Photoshop Family Customer Community