Saving a review PDF

Hi all,
I'm just getting into Extendscript for FM 12 so bear with me.
I have found the FM_Outputs_CondText file which does everything I need it to do except for I want the file to be saved as a review PDF. I've found the FCodes.KBD_SAVEASPDFREVIEW command and can get it to open the saveas dialog. However, I cannot for the life of me figure out how to interact with this. Any thoughts on how I can achieve the following process:
1: Apply conditional text show/hide (included in FM_Outputs_CondText)
2: Change output file name (depends on how I achieve step 3)
3: Save as review pdf
4: Move to next conditional text show/hide (included in FM_Outputs_CondText)
Any suggestions of what to do or where to look would be amazing.
(any FM scripter/user groups in Portland, OR?)
---Corey---

Hi Corey,
I don't have time to give you a detailed explanation, but here is some code to get you going on saving a review PDF.
#target framemaker
var doc = app.ActiveDoc;
savePdf (doc);
function savePdf (doc) {
    var saveParams, retParams, i = 0, pdfName;
     // Get a property list to return any error messages.
    retProps = new PropVals();
    saveProps = GetSaveDefaultParams();
    i = GetPropIndex (saveProps, Constants.FS_FileType);
    saveProps[i].propVal.ival = Constants.FV_SaveFmtPdf;
    doc.PDFJobOption = "Standard";
    doc.PDFGenerateForReview = 1;
    // Get the save name for the PDF and save it.
    pdfName = doc.Name.replace (/\.fm/i, ".pdf");
    doc.Save (pdfName, saveProps, retProps);
-Rick

Similar Messages

  • Sticky Notes in Review PDFs

    Can I copy a sticky note from a review PDF to a non-review PDF? If the answer is yes, please tell me how to do it.
    Thanks,
    Mt. Ever

    Try saving the review file as an archived copy (File > Save as Archive Copy) and copying from the copy.

  • Saving books as PDF files?

    Is this possible to do in Aperture? I just started with the book design feature and wondered if a finished book could be saved as a .pdf file. Thanks.

    Yep - you can do Print->Save to PDF, or you can Place an order for a book, and when you get to the confirmation dialog to review the book, you can open up the PDF, save it somewhere else, and cancel the order.

  • Hyperlinks not saved correctly in PDF and Excel

    Hi,
    I have a few reports with hyperlinks to other reports that contain multiple input parameters, which makes the links very long. ( greater than 400 characters )
    When the reports are saved as excel, I am unable to invoke the child report on clicking the link as the link is not saved entirely ( can see that when i try to edit the hyperlink in excel ).  Therefore the child report opens but prompts for inputs as not all the inputs are passed
    When saved as pdf, the link is not saved correctly and i cannot invoke the child report at all
    Please can you suggest a solution/workaround? Alternately is it possible to disable the hyperlinks when saved as excel/pdf?
    Regards
    Sameer

    Hello,
    I think this is a limitation in Excel where URL syntax has to be 255 characters or less
    In order to prove that it's coming from excel and not BO, try in excel to create a false hyperlink which contains more than 255 characters.
    A workaround might be to modify the cell as text and will not be recognized as a URL. So you should get it entirely.
    Please let me know if it helps you
    Regards,
    Philippe

  • Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

  • How can I get Tracker to find a shared review PDF initiated in another domain?

    I initiated a shared review for a PDF and stored it on a network server in domain X. Subseqauently, the server was moved into a different domain, call it Y.
    Now, Acrobat Tracker can't find the PDF ... and reviewers can no longer  access the PDF.
    How can I get Tracker to find the PDF in the new domain Y?

    No, this is not possible. You need to initiate the review again. This is because the review server information is embedded inside the PDF and when you change the review server, the JavaScript embedded in PDF still refers to the old server. So Tracker is unable to locate the review PDF.
    If the old review has comments by other reviewers, you can save it as an archive and initiate review on new server on this new PDF. This way all the review comments can be retained in the PDF but they will be published "on behalf of" the initiator now.
    Hope that helps.

  • Can a JPEG be 'saved as' a PDF (or other file type)?

    Can a JPEG file be saved as a PDF file?
    Also, can it be saved in a file format that will allow the image to be inserted into, e.g., a WORD document? (Or can a JPEG itself simply be inserted into a WORD doc 'as is'?)
    Thanks.

    You can reformat a .jpg to PDF.
    No, it doesn't reformat it. The .jpg is simply embedded into the PDF file. As BDAqua noted, if it's a high resolution image, OS X's built in PDF creation module will knock it down to screen resolution.
    For some reason, I was sent a chart (with numbers) as a jpeg file. Converting it to, and then printing it as, a PDF leaves the data in too small a font size.
    What size is the .jpg before you place it into a PDF? Open it in Preview and press Command+I. What is the image size in pixels and image DPI (resolution)?
    Is there any way to enlarge the text (via iPhoto, Preview, or some other Mac utility)?
    72 dpi is low, screen resolution. 300 dpi is standard high, print resolution. So if the original is already a low res file, then there's little to nothing you can do to improve the text on a printed piece.

  • How do i stop photoshop cs4 from quitting unexpectedly when saving a photoshop pdf? i attempted to download the adobe drive 5 but the installation keeps failing.

    How do i stop photoshop cs4 from quitting unexpectedly when saving a photoshop pdf? i attempted to download the adobe drive 5 but the installation keeps failing. I went through the process of clicking through the how to's and the troubleshooting and came to the conclusion that I need to install the adobe drive 5 but I can not complete the installation. I may be incorrect on this so I need immediate assistance as I have poster and ad deadlines. I also tried disabling the gatekeeper and solution 3 on the troubleshooting of slow saving on photoshop.
    Any help is much appreciated!
    Thank you!

    Are you attempting to save the file to a network location instead of your local hard drive? If so, this is probably why you are encountering an issue and why Adobe Drive would be the solution. As we've documented, it is a bad idea to open from or save directly to a network source: Networks, removable media | Photoshop | CS4 and later. Drive can help you get around this by setting up an Adobe supported virtual connection to the network. Thus, if installing Adobe Drive is the solution you need and your need help with installing Drive, please post to the Downloading, Installing, Setting Up forum.
    If you are not saving to a network location, then Adobe Drive is not going to be the answer. Then we'll need to know more about the file you are saving.

  • Bug Report:  "View PDF After Saving" Does Not Work When Saving as Photoshop PDF

    The saved PDF file is not opening in Acrobat after saving a file as a Photoshop PDF. I noticed it happening a few times in earlier beta testing, but today it happened again.
    I have Adobe Acrobat Pro 10.1.2 installed on MacPro with Lion OS 10.7.3. Photoshop public beta m415.  System info can be provided if needed.
    The file I was trying to save was about 8 MB. Once it failed to open after save, I tried varied PDF settings and save locations. Also tried several different files. All were saved properly as PDF files, but would not continue to open in Acrobat as previous versions have done. The files open properly when you click on the file names in saved location.
    3153152
    3153152

    I'm happy I could help and feel a bit proud to have found a real bug. The simplest work around is just clicking on the file list once it's done...that's certainly not a problem.
    Larry
    =====================================
    Larry Guyer
    A la Carte Digital Studios
    Archetype Digital Imaging Alliance
    P.O. Box 4365
    Foster City, CA 94404-0365
    650-348-2525   office
    323-372-1669   fax
    650-444-7100   cell
    www.alacartedigital.com
    www.archetypeimaging.com

  • User can't open presentation saved as a PDF file

    I sent a presentation saved as a PDF file and the user could not open it.  The error message received was that his computer needed Adobe Flash Player 16.0.  Despite installing it, he still gets the same error message.

    Problem was solved by doing another installation of flash and rebooting.

  • Media file (quicktime) not playing when Pages document is saved as a pdf

    I added a quicktime file (a movie trailer) to my presentation and it plays when in Pages - but when I export it to a pdf it is just a black space. 1. are these links/media files are supposed to be active when in a pdf format 2. how can I get the media file to play when it is saved as a pdf? 3. Will those who I email it to be able to play the media file when they open it up on their computer?
    thanks so much in advance - I am under a tight deadline so any help would be appreciated!

    Multimedia is not embedded in exported .pdf files.
    You will need to relink them again in the .pdf using Adobe Acrobat Pro.
    Peter

  • Impossible to review pdf with Adobe Reader 9.0

    Hello,
    I'm trying to use the option in Acrobat sending pdf to review by users working with Adobe Reader but it
    doesn't work as described in the help.
    I'm sending the review with Acrobat Professional version 7.0 and the receiver with Adobe Reader 9.0.
    Normally it should work as it is indicated Adobe Reader 7.0 or higher, but the receiver is not able to add comments and the toolset which should be provide according to the Acrobat review wizard doesn't open.
    Who can help?
    thx! Anja

    With Acrobat 7 you can only send out Browser Based Review, (which is replaced by shared reviews in version 9).
    The reviewers will need to open the PDF inside a browser, and have access to the location of the PDF to be reviewed.
    Acrobat 8 can do both types still, have a look here:
    http://help.adobe.com/en_US/Acrobat/8.0/Professional/help.html?content=WSB7237F9D-E90A-4c6 b-8C0D-58C7B2063B1D.html
    And here's a tutorial for those situations whereby reviewers do not have access to the server location of the Reviewed PDF:
    http://www.adobe.com/designcenter/acrobat/articles/acr7subreview.html

  • Saving Remittances to PDF

    Hello,
    I have a machine that has recently had windows 7 installed and has SAP B1 running on it. It originally had cutepdf installed and an issue arose when going into Banking - Document Printing. When we select more than one AP Invoice to print then send it to cutepdf, it doesn't create all the files. i.e. if three AP INvoices were selected then it should save 3 files. It doesn't, it only saves the first. We had tried to download and install primopdf however the same issue occurs.
    Would anyone have any suggestions or know of any compatibility issues with saving reports to PDF from SAP on a windows 7 operating system?
    Regards,
    Juan

    Hi,
    Please check the settings of your  PDF converter, search for an option that states Append Document in Printing,
    try to use other converter like Broadgun pdf.
    Regards,
    Clint

  • How do I change a document that I have saved as a PDF file in Documents? I can get it to OPEN but can't do anything to it.

    How do I change a document that I have saved as a PDF file in Documents........I can open it but can't do anything with it.

    A PDF is really an electronic print of your document & is not intended for future editing. You should always save a copy of the original document in the program that created it & use that for edits. You can then export or print the revised document to PDF, again saving the original.

  • How to detect alterations to a JPG image that has been saved as a PDF

    I have received a file containing a cancelled bank check that was downloaded from a bank website and saved as a PDF of the screenshot. Upon opening the PDF, it appears that some of the original hand-written text in the image has been altered. I believe this PDfFwas originally saved as a JPG, then altered, then saved as a PDF. Is there any way to determine if indeed the text has been altered in the file? Thanks!

    Not easily.  The bank's original version may have been a JPEG, then a screenshot was taken of that and saved as a PDF with unknown compression.  (really, who saves a screenshot as a PDF?)
    You can examine the PDF in a text editor to see what created it.  You can open it in Illustrator to see the layer data (which might show tampering).
    Beyond that you'd need an imaging forensics expert to look for tampering with the JPEG compressed image data (was it compressed more than once, was something significantly altered)?

Maybe you are looking for

  • Can't Put G4 in TARGET MODE

    I sure hope someone can help me. I have a 5-year-old G5. It was the biggest system at the time. I just got a gigantic Mac Pro and I'm trying to EASILY use the Migration Assistant to transfer my data. I started by trying to restart the G4 and holding

  • Where are my faces/events in aperture

    hi ijust bought aperature  and when i opend it my faces are missing and my 40 or so events has now being placed into 2 only projects I had all my extended family put in to places it took ages  i need you r help when iwent bact to iphoto there gone fr

  • Reversing the MIGO when MIRO exists

    Dear Expert, The issue is 1. I have created one PO with third party freight condition(Delivery Cost) 2. Done MIGO 3. Booked MIRO only for delivery cost 4. Now i am able to reverse the MIGO without reversing the MIRO of delivery cost. I just want this

  • Problem:HTTP Server restarts automatically

    Hi, We are having a peculiar problem. Our portal was upgraded from 9iR2 9.0.2.6.18 to 10gR2 10.1.2.0.2. The upgrade completed successfully. After upgrade the portal HTTP Server is restarting by itself randomly. The Portal & Infra oracle homes are on

  • INSTALLING ADOBE READER 10

    The download is successful, saving to file apparently successful, selection of the download is OK too, however, the RUN never finishes.  Previously, Adobe Reader 8 had been  deleted from "Programs". I have Windows Vista - any ideas?