Scripting 'Save PSD to PDF with password security' and 'Open a PDF file with password security' issue.

Hello!

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

I googled a lot. I saw a similar topic on this community date in 2012. He did not respond. With one comment saying that savings with a password appears to be possible via GUI and not a script.

Nothing has changed since 2012?

P.S. .requireDocumentPassword and Illustrator .documentPassword do not work in PS and ScriptListener gives still nothing :-/

ScriptListener always gives nothing

Which probably means the task is not (yet) possible to achieve with Photoshop scripts.

The Photoshop DOM and I seem to have weaknesses or omissions that I consider more relevant, but if you consider the matter as essential you can post a feature request to

Community customer Photoshop family

Tags: Photoshop

Similar Questions

  • Illustrator saves a blank PDF file with information on the missing content

    I use Illustrator CS6 on OS X 10.8. Yesterday, I noticed that my PDFs out as files empty with the text

    It is a file Adobe® Illustrator® which have been saved without PDF content.
    Instead or open this file in other applications, it should be re-recorded in Adobe Illustrator with the option 'Create PDF Compatible file' lit. This option is in the dialog box Options of Format native Illustrator, which appears when you save an Adobe Illustrator file by using the Save as command.

    which is in fact a description that usually appears in the files saved without PDF compatibility. It is not document-wise but rather application-wise question because sometimes, even if I create a new Document, draw something in the middle of the canvas and save it. Also, all of my existing documents which record well before, do so now. Basically, I can't successfully save a single PDF file. But it seems that the exported documents must contain the data because they have different sizes depending on the content.

    There is no problem with the backup to format I. I hope this is enough information for someone smart to diagnose this problem because I am starting to be desperate

    You have an idea? Thank you.

    Oh, my friend just advised me to clear the cache and it worked! :-) I deleted files ~/Library/Caches/com.adobe.Illustrator and ~/Library/Saved ask State/com.adobe.Illustrator.savedState and one of them went around :-)

  • How to save a merged PDF file?

    How to save a merged PDF file?

    Hi nvigeland,

    How to merge files into a single PDF:

    1. In Acrobat, choose file > Create > combine files into a single PDF file.
    2. Click Add files and select the files you want to add.
    3. Click, drag and drop to rearrange the files and pages. Double-click a file to expand and reorganize the individual pages. Press the delete key to delete the unwanted content.
    4. When you have finished to organize files, click on combine the files.
    5. Select file > save as > PDF.
    6. Name your PDF file, then click Save.
  • If I'm working on a project in a free trial of Premiere Elements, and then save the project (do not export it) and open it again in the full version of Premiere Elements, the watermark will be removed?

    If I'm working on a project in a free trial of Premiere Elements, and then save the project (do not export it) and open it again in the full version of Premiere Elements, the watermark will be removed?

    If you have made the timeline or out of a movie from the trial version, it will have this watermark on it.

    Once you have purchased and activated the software, you can remove the watermark by going to the folder directory on your computer where your project files are saved and deleting the folder Adobe Premiere elements preview files.

  • How to integrate the police Segoe Script in a saved pdf file?

    When I save a file .psd in .PDF (with Photoshop elements 12), two of the three fonts do appear fine in the .pdf file, but not the third (Segoe Script).  I open the PDF with Adobe Reader XI.

    How to integrate the police Segoe Script in the .pdf file?   (Depending on the printer, it must be there.)

    Thank you.

    Yes you will not be able to use either the distorted text.

    (these kinds of properties do not appear in this font)

    If you want to tilt the text as it would be for the italicized text, you can use Image > transform > Skew.

  • Scripting inDesign: Generate a PDF file

    Hello

    I have a bug with my script. Everything is OK:

    The script imports the xml file into my Indesign file and the new generated file (.indd) is correct...

    But this script generates PDF files with only 2 pages.

    You know the correct code to generate large PDF files?

    This is my script:

    var myTemplate is File.openDialog ("select a template");.

    myFolder var is Folder.selectDialog ("choose a folder to treat");.


    myDocs var = myFolder.getFiles ("*.xml");

    for (i = 0; i < myDocs.length; i ++) {}

    Open the template:

    var newDoc = app.open (myTemplate);


    Import XML:

    var myXMLImportPreferences = newDoc.xmlImportPreferences;

    myXMLImportPreferences.allowTransform = false;

    myXMLImportPreferences.createLinkToXML = false;

    myXMLImportPreferences.ignoreUnmatchedIncoming = false;

    myXMLImportPreferences.importCALSTables = false;

    myXMLImportPreferences.importTextIntoTables = false;

    myXMLImportPreferences.importToSelected = false;

    myXMLImportPreferences.removeUnmatchedExisting = true;

    myXMLImportPreferences.ignoreWhitespace = true;

    myXMLImportPreferences.repeatTextElements = true;

    newDoc.importXML (myDocs [i]);

    Add the additional document-specific treatment steps here


    Save:

    var NouveauNomFichier = myFolder.absoluteURI + ' / ' +. [i] myDocs name.replace (/ xml /, 'pdf');

    app.activeDocument.exportFile (ExportFormat.pdfType, File (newFileName), false);


    var NouveauNomFichier = myFolder.absoluteURI + ' / ' +. [i] myDocs name.replace (/ xml /, "indd");

    newDoc.save (new file (newFileName));

    app.activeDocument.close ();

    }

    Thank you

    Hey!

    Try to add before you export it in PDF format:

    app.pdfExportPreferences.pageRange = PageRange.ALL_PAGES;
    

    --

    tomaxxi

    http://indisnip.WordPress.com/

  • problem w / script to merge 2 PDF files

    Hello

    Is anyone please tell me what is the problem with my JavaScript?

    var newDoc = app.newDoc ();  create a new doc PDF

    newDoc.insertPages ({nPage:-1, cPath: "/ c/doc1.pdf",});    Insert doc1.pdf

    newDoc.insertPages ({nPage: newDoc.numPages, cPath: "/ c/doc2.pdf",});   Insert doc2.pdf

    newDoc.saveAs ({cPath: "/ c/myNewDoc.pdf"});     Save the new doc

    newDoc.closeDoc (true);    close the doc

    I fell on the batch processing of Adobe Pro 9.0 - he gave me the invalid argument type.

    Undefined Doc.insertPages:13:Batch: Exec = > nPage parameter.

    I'm trying to merge 2 PDF files using the Acrobat JavaScript Scripting Guide script sample, but it does not work for some reason any.

    I can has merged the 2 PDF files manually, but not by script.  I hope that in a script I can forced Adobe XFA forms that I created LCDesigner with the AcroForms.  Merge AcroForms and XFA forms.  I know that in manually may not merge. I wonder if it can it be done through JavaScript?  The doc1 doc2 I have are regular AcroForms

    Thank you 1 million for your help & suggestions

    Trang

    Hi Trang,

    XFA forms (created in the LC Designer) and AcroForms (created in Acrobat) are completely different animals!

    The XFA form is wrapped in a wrapper that runs in Acrobat/Reader. You cannot merge (AFAIK) an XFA form and a PDF (or AcroForm).

    The best that you will achieve is to attach an XFA form into a PDF file.

    Alternatively, you can group the XFA and PDF forms in a portfolio.

    Good luck

    Niall

  • When I save in the pdf file is massive

    I have 1 page a4 offline ive created with illustrator. Their are no images, just text that is in 2 colors. When I first saved as a pdf, the file has been almost 300 KB. What kind of file size does it, and how can I make it smaller?

    Play with the settings, but not really know im want to do ive got to 80 KB, but that still seems much greater than it should be, or is - not?

    Thank you

    jdldn,

    Try this:

    Create a new empty document to Illy and:

    (1) save it with PDF compatible file create checked;

    (2) save it with PDF compatible file create checked;

    3) save in PDF with Illustrator peacekeeping checked editing capabilities;

    4) Save as PDF file with Illustrator maculated maintaining editing capabilities.

    (1 and 3) gives you the gross size of the packaging of each format, 2) and 4) gives you the gross size of the packaging format HAVE + PDF double anyway.

    The differences up to the corresponding files will show you the actual size of the content.

  • Need a script for InDesing culture pdf files

    Hello

    I have over 200 pages pdf file. I need to place pages in InDesign, jump the 4 sides about 20mm in InDesign. I did place using the script. I need to crop all pages, including at - it a script for the same... ?

    Thanks in advance.

    Hello

    You can try with the code below:

    var myDoc = app.activeDocument;
    var myGraphics = myDoc.allGraphics;
    for (var a = 0; a
    

    But make sure that your rule should be in mm.

    This is Zanelli script to put pdf in Indesign.

    Shonky

  • After update to Adobe Reader 10, unable to display, save or print PDF files

    I can view, save or print the pdf files in a center of online banking, but no other centers of online banking services.  It drives me crazy.  I have Windows 7, Internet Explorer 8 and Adobe Reader 10 installed.  Everything worked fine until I upgraded to Adobe Reader 10.  I also visited Microsoft Fixit Center at the same time, so maybe set some settings accidentally.

    Adobe problems lately especially for Win 7 users. See if this PDF reader more user-friendly Windows will work for you.

    Foxit Reader
    http://www.foxitsoftware.com/PDF/reader/

  • How I have underlying wothout save documents or pdf files in the memory of the device inrernal, I have the files in the external SD card and I want to keep them there. I just want to be able to write about them. Thanks for the information

    How can I underlying without save documents or the pdf files in the memory of the device inrernal, I have the files in the external SD card and I want to keep them there. I just want to be able to write about them.

    Thanks for the information

    Hello

    When we try to edit any PDF file that is stored on a MicroSD card, then, first of all, the file must be saved in the internal memory to cause permissions defined by Android for external storage.

    Due to limitations set by Google in Android 4.4 and above, it is not possible to change files that are stored on the SD card in system no App.

    Thank you

    Abhishek

  • How can I save/import a pdf file received the email on an Ipad in MyAssets (cloud creative) so I can edit it in Adobe Sketch?

    I need to edit pdf files (scanned) from different people, change in Adobe sketch and e mail the PDF with changes in return. This must be done using only an Ipad.

    The problem is that I can't do so only using an Ipad, because I do not know how to open the mail PDF in Adobe Sketch. So I need a computer to place the PDF in MyAssets on creative cloud first. I also installed dobe CD player and placed the file in the clouds of the Document, because I thought that the Document and the designer Cloud cloud would somehow between them. But no luck so far.

    If I ask someone who knows a way to do it, to explain it to me.

    Thank you

    Hi Lukearh,

    my penny on this issue. I'm starting to a point that the file is easily traceable. Like a sketch of a logo or something.

    The pdf file arrives on an ipad, right? So, open the PDF and take a screenshot of the file if it is open (which is done by clicking at the same time the sleep button on the top and the button on the screen of your ipad at home). Then you will have your PDF saved in your camera as an image.

    Once on film, then open adobe sketch and use use the icon to import an image second icon to the left, in the sketch menu, it looks like a picture with two mountains and the Sun). Resize the screen and work top of tracing.

    Now I could give you a very naïve solution, but the only way I could find to solve your problem if you really work on iPad only

  • How to save a new pdf file converted on my docs?

    I converted my doc to PDF and you now want to save it as a PDF file in my documents.  How to achieve this?

    Hi save new PDF,

    Do you mean you want to save the file to your hard drive? If so, sign in to your account on https://cloud.acrobat.com/files, select the file you want to save on your computer and then click on the link to download at the top of the list of files.

    Please let us know if you have any additional questions.

    Best,

    Sara

  • whenever I tried save as or save the created PDF file in Acrobat std 11 (11.0.7), Acrobat hung and unresponsive

    Dear Sir.

    I use Acrobat std 11, (version 11.0.7) with windows 8 in my company. Everytime I try to record any software Acrobat PDF edited document or convert or combined crash. same question, is it with while I'm trying to insert a new page in PDF format from a file, dialog box opens it but not get hanged & become Unresponsive. Acrobat can help you please in this issue.

    My spesifications of PC are:

    Account details:

    User rights: regular

    User account control: default

    The integrity of the process: not defined

    Profile Type: no

    Details of Acrobat:

    Sandbox: Off

    Captive reader: No.

    Multi player on Desktop Support: Off

    Installed applications:

    Office version: Office 2010 32-bit

    Available physical memory: 2121868 KB

    Available virtual memory: 3990316 KB

    BIOS version: DELL - 1072009

    Default browser: C:\Program may Explorer\iexplore.exe

    Version: 10.00.9200.16384 (win8_rtm.120725 - 1247)

    Creation date: 2012/07/26

    Creation date: 04:48:22

    Default email: Microsoft Outlook

    Mapi32.dll

    Version: 1.0.2536.0 (win8_rtm.120725 - 1247)

    Detail of the display:

    Screen width: 1920

    Height of the screen: 1080

    Number of monitors: 1

    Number of buttons: 3

    At the mouse wheel: Yes

    A Pen Windows: No.

    Character set double byte: No.

    The input method editor: Yes

    On the inside of the screen reader: No.

    Graphics card: Intel HD Graphics (Microsoft Corporation - WDDM 1.2)

    Version: 9.17.10.2768

    Check: Not supported

    Installed Acrobat: C:\Program Files (x 86) \Adobe\Acrobat 11.0\Acrobat\Acrobat.exe

    Version: 11.0.07.79

    Date of creation: 05/2014/08

    Date created: 19:19:08

    Installed Acrobat: C:\Program Files (x 86) \Adobe\Reader 11.0\Reader\AcroRd32.exe

    Version: 11.0.0.379

    Creation date: 24/09/2012

    Creation date: 09:13:34

    Locale: English (United States)

    Monitor:

    Name: Intel HD Graphics (Microsoft Corporation - WDDM 1.2)

    Resolution: 1920 x 1080 x 60

    Bits per pixel: 32

    OS manufacturer: Microsoft Corporation

    Name of the operating system: Microsoft Windows Vista

    OS version: 6.2.9200

    The page file space: 4194303 KB

    Processor: Intel 64 Family 6 Model 58 Stepping 9 GenuineIntel ~ 2893 Mhz

    Details of the session:

    Startup type: Normal

    Stop: No.

    Network: available

    Inside the Citrix: No.

    Inside of VMWare: No.

    Remote session: No.

    Remote control: no

    Name of the system: BRDROC00DT130

    Temporary directory: C:\Users\123660\AppData\Local\Temp\

    Time zone: time normal India

    Total physical memory: 4066528 KB

    Total virtual memory: 4194176 KB

    Username: 123660

    Details of Windows:

    Tablet PC: No.

    Starter Edition: No.

    Media Center Edition: No.

    Slow the Machine down: No.

    Windows directory: C:\Windows

    Kind regards

    Pierrette

    Dear Sukrit

    I found one thing in R & D that one perticular file named AcroFnt11.1st is wrong in my Acrobat. as if I delete the file wrestled

    C:\Users\{user name}\AppData\Local\Adobe\Acrobat\11.0\Cache\AcroFnt11.lst 60 KB

    He started working very well for some time.

    hope this will help.

    Kind regards

    Sonia SIngh

  • I would like to deal with the psd files for pdf files with Photoshop 2015 CC of the lot

    Have Photoshop 2015 CC would like to process files psd to pdf files in batch bridge, can't get output module to work tried all bridge for bridge to get to work, he used.

    You could combine the batch script and a simple action to save to the PDF format. Open a file and create the action.

    Make a new series:

    Do new action:

    The action should be save. Now save your file to PDF and stop the action.

    Go to the bridge and select the files you want to convert, and then go to tools > Photoshop > batch. Set as the screenshot shows:

    Benjamin

Maybe you are looking for

  • can not find the sleep settings screen on ubuntu 11.10

    can not find the sleep settings screen in ubuntu 11.10

  • Firefox does not remember passwords

    My Firefox remembers a couple of passwords, but for other sites, it does not work. These sites are certainly not as exceptions (in tools, Options, etc.) and are not blocked by the site (passwords can be stored in Internet Explorer, Chrome etc.). In o

  • File corrupted on Satellite C660

    I have a huge problem:When I start my Satellite C660 the computer says: The file is possibly corrupted. The file header checksum does not match the checksum ed. computer What can I do now? How can I restart my computer?Thank you in advance!

  • Satellite A200-1GH - where can I find all the XP drivers?

    Hello I have the Satellite A200-1GH (PSACE0) and I can't find any drivers for my knees. I have the most problem with the pilot display and Bluetooth. Y at - it all the drivers on the only place, please?

  • House sharing is not showing images?

    I have a 64 gb atv4 First of all, I am disappointed that ICloud photos is not compatible with this new machine. However, he has worked to spread my photos of my iMac that will be sufficiently far, but after the update I can't see pictures under "comp