Place PDF (applescript)

Hi  I want to use the following script to place my PDF's (yeah I know indesign comes with a PDF place script).
[applescript]
tell application "Adobe InDesign CS4"
set mySpread to spread 2 of active document
tell mySpread
set myRectangle to make rectangle with properties {geometric bounds:{-3, -3, 300, 210}}
set myPlacedPDF1 to place "Macintosh HD:Test1.PDF" on myRectangle
end tell
end tell
[/applescript]
Can any tell me how to set the position of the when it is placed in to the myRectangle? I don't mean the position of myRectangle {-3, -3, 300, 210}
many thanks  LJ

Hi:
After you place on myRectangle, you can do things like:
tell rectangle myRectangle
   fit given proportionally -- and/or
   fit given center content
end tell
hth,
egr

Similar Messages

  • Can't place PDF file in Photoshop

    I used to be able to place PDF files into a Photoshop file (PSD), but now I get an error reading:
    Cannot place the document 'Document Name.pdf' because of a program error.
    It does not tell me what the error is or how to correct it.
    I recently uninstalled and reinstalled Photoshop because of a different issue, so I'd rather not go through that process again if it's unnecessary.
    PC
    Windows 7 Professional
    Intel Core 2 Quad Q9500
    8 GB of RAM
    64-bit Operating System
    Photoshop CC 2014.2.1

    I updated my question to include additional info.
    The PDF saving process is the same. The PDF type, how it was saved, what it was created in, never used to make a difference - not sure why it would now? 
    I can open the file with Photoshop, just can't place it into a PSD. Photoshop does not have issues placing images and other assets. It only has an issue with PDFs.

  • Can't place pdfs in InDesign CC

    Can't place pdfs in InDesign CC as before - message comes up "Cannot crop to bleed box is not defined, or is empty." What happened?

    That's a new improved error message apparently. The old one just said
    Can't Place PDF (not very helpful, either).
    The options are sticky so the prior PDFs must have had bleed.
    In any event, I'm glad you got it sorted.

  • Unable to place pdf

    hello y'all,
    since today I'm not able to place pdf-FIles in Indesign (7.04) Win XP. The german error message is "öffnen der PDF-Datei fehlgeschlagen" translated this would be something like "failed to open pdf-Document".
    A restart of my computer dind't change anything. Old Indd-documents with placed pdf-files open without error message. An attempt to reload the same pdf-file into the same frame fails. (same error message)
    Any suggestions?

    If you create a new user account, log in on that and try the same thing, does that work?
    If it does, log in again onthe original accoutn and try trashing the prefs (see Replace Your Preferences)
    If not, I think your program installation has been damaged and you should first attemp a "repair" install by inserting the original disk and running the installer, and if that also fails to fix the probelm, uninstall, reboot, run the clean tool (see Resolve installation problems with CS5 Cleaner Tool and it also works for CS3), reboot, run MSConfig and turn off all non-essential startup programs, especially anti-virus, anti-malware, browser helpers and toolbars, iTunes and instant messengers, reboot and reinstall. Run MSConfig a second time to restore normal startup.

  • CS3 and Delphi: Place pdf into indesign

    Hello,
    I am developing a script with Deplhi  that automates the creation of documents.
    I would like to be able to place pdf documents in an InDesign document. I adapted a script that I found in this thread: http://forums.adobe.com/message/3013174
    I only had to define the proper types for the variables, cause Delphi doesn't allow untyped variables. There was one line in particular that I had to modify thoroughly:
    myPDFPage = myPage.place(File(myPDFFile), [0,0])[0];
    The PlacePoint parameter had to be an array of double, and the missing parameters had to be set. Eventually, the following code worked:
    var
      APoint:      array of double;
    begin
      SetLength(APoint, 2);
      APoint[0] := 0;
      APoint[1] := 0;
      myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false);
    In the original script, the result of the place function is assigned to the variable myPDFPage, and I am having troubles to get this assigment working. Often the TypeLib uses OleVariants and you have to figure out by ourself which type(s) are allowed and have to be used, and which type cast(s).
    In the original script this code follows:
    myFirstPage = myPDFPage.pdfAttributes.pageNumber;
    The only interfaces in the TypeLib that have a property called pdfAttributes are PDF and ImportedPage. But neither of those types work if I define pdfAttributes to be of that type. I am not sure whether the fact that place seems to return an array adds additional problems. Most of the times, arrays from in TypeLib are based in the index 1, not zero.
    But I tried
    var
      APoint:      array of double;
      myPDFPage:   PDF;
    begin
      myPDFPage := PDF(myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false)[0]);
    and
    var
      APoint:      array of double;
      myPDFPage:   ImportedPage;
    begin
      myPDFPage := ImportedPage(myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false)[0]);
    and the same with and array index of 1 instead of 0, and without any index. But none of it would be compiled without an error.
    Doies anybody know how that command line has to be or which type myPDFPage has to have?
    And more generally: How could I determine the possibla types of a parameter, variable or return type that is an OleVariant in the TypeLib?
    I found some InDesign CS3 scripting specific pdfs here: http://www.adobe.com/products/indesign/scripting/, but no complete reference of all functions and types.
    Best regards,
    Christian Kirchhoff

    In order to make the code compilable, I had to do a double typecast. The result of the place function - in the Typelib - is OleVariant, and I couldn't use the snytax place(...)[0]; directly.
    So I declared a variable myPDFPages as an array of PDF, and assigned the entiry result of the place function to that.
    The new code is:
    var
      APoint:      array of double;
      myPDFPages:  array of PDF;
      myPDFPage:   PDF;
    begin
      myPDFPages := myPage.place(Filename, APoint, ActiveDocument.Layers[1], false, false);
      myPDFPage := PDF(myPDFPages[0]);
    But: allthough the code compiles, the line myPDFPages :=... throws an error (after the pdf is inserted in InDesign).
    If I just use execute the place command without assingning the result to anything, it works without an error. But the code I copied from the aforementioned forum thread uses the result, and so want I.
    I'll do some further testing on this.
    Best regards
    Christian

  • All of a sudden I cant place pdf files in a pagemaker document!

    it seem that this happend after I installed/updated acrobat? or after I installed CS4?  I get an error message that I never received before; "do not know how place this file", then I can select file type. I can place pdf files in the same document that hasnt been saved in the new acrobat version, anyone knows what I shall do?

    Thank you!!
    I produce stuff in Pagemaker and CS4 at the same time until I trust CS4 fully, there are a few things cs4 doesnt do that pagemaker does,  I use a "tagged" import that specifies style and images and that works in pagemaker but not in indesign!
    Thanks again, im happy : )

  • Place PDF pages inline

    I'm using data merge to create a multi-page PDF of formatted records.
    I need a way to place these generated pages into a text flow so that they flow around other content in the layout. Is there an existing script that does such a thing? i.e. instead of getting a cursor to create a new graphic frame, it would automatically create more graphic frames within the text flow.
    Thanks,
    Andrew Vit

    Turned out to be pretty straightforward to write, borrowed some from one of the sample scripts:
    function placePdfPagesInline(pdf, insertion) {
         var pageCounter = 1;
         var breakFlag = false;
         while(breakFlag == false){
              app.pdfPlacePreferences.pageNumber = pageCounter;
              var currentInlineFrame= insertion.place(pdf)[0];
              if(pageCounter == 1){
                   var firstPage = currentInlineFrame.pdfAttributes.pageNumber;
              else{
                   if(currentInlineFrame.pdfAttributes.pageNumber == firstPage){
                        breakFlag = true;
              pageCounter = pageCounter + 1;

  • ODrive Edit in Place PDF Document Manual Versioning enabled Error

    Hi,
    Any one has tried or able to do edit in place with ODrive and PDF Document type?
    I have manual versioning enable. When I am doing edit in place from ODrive for PDF Document getting following error.
    I have manually check out the document before doing Edit from ODrive.
    Need help to resolve this issue.
    Thanks,
    Jigar
    Error logs
    07/05/31 15:45:07 content: [oracle.ifs.ecm.util.FolderUtilities] [24] 99117 publicuser1 INFO: resolveLegacyPath targetPath =
    07/05/31 15:46:29 content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] 99117 publicuser1 WARNING: no mapping found for ORACLE.FDK.ItemNotCheckedOut
    07/05/31 15:46:29 content: [oracle.ifs.protocols.dav.ecm.EcmDavServlet] [23] 99117 publicuser1 WARNING: unmapped exception: oracle.ifs.fdk.FdkException:
    ErrorCode = ORACLE.FDK.AggregateError; DetailedErrorCode = ORACLE.FDK.AggregateError; Cause = IFS-90244: Cannot update all of the specified
    items; ServerStackTraceId = ; Info = null; Entries = 1
    Main Exception Stack Trace:
    ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError
    at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:181)
    at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:74)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1661)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocument(FileManagerImpl.java:1511)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.doPut(EcmDavServlet.java:1688)
    at oracle.ifs.protocols.dav.DavServlet.doPut(DavServlet.java:1929)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2622)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.processRequest(EcmDavServlet.java:3616)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2396)
    at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java:2361)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: oracle.ifs.common.IfsException: IFS-90244: Cannot update all of the specified items
    at oracle.ifs.ecm.util.BulkUtilities.ecmUpdate(BulkUtilities.java:369)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1653)
    ... 19 more
    FdkException Details: oracle.ifs.fdk.FdkException: ErrorCode = ORACLE.FDK.AggregateError; DetailedErrorCode = ORACLE.FDK.AggregateError;
    Cause = IFS-90244: Cannot update all of the specified items; ServerStackTraceId = ; Info = null; Entries = 1
    Entry[0] = oracle.ifs.fdk.FdkExceptionEntry: ErrorCode = ORACLE.FDK.OperationError; DetailedErrorCode = ORACLE.FDK.ItemNotCheckedOut;
    ItemID = 99150; Cause = IFS-90301: Cannot update a Document under version control that is not checked out; Info = null
    Cause Exception Stack Trace:
    oracle.ifs.common.IfsException: IFS-90301: Cannot update a Document under version control that is not checked out
    at oracle.ifs.ecm.beans.EcmDocument.lowLevelUpdate(EcmDocument.java:938)
    at oracle.ifs.ecm.beans.EcmDocument.ecmUpdate(EcmDocument.java:618)
    at oracle.ifs.ecm.util.BulkUtilities.ecmUpdate(BulkUtilities.java:345)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1653)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocument(FileManagerImpl.java:1511)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.doPut(EcmDavServlet.java:1688)
    at oracle.ifs.protocols.dav.DavServlet.doPut(DavServlet.java:1929)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2622)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.processRequest(EcmDavServlet.java:3616)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2396)
    at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java:2361)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Entry[0] = oracle.ifs.fdk.FdkExceptionEntry: ErrorCode = ORACLE.FDK.OperationError; DetailedErrorCode = ORACLE.FDK.ItemNotCheckedOut;
    ItemID = 99150; Cause = IFS-90301: Cannot update a Document under version control that is not checked out; Info = null
    Cause Exception Stack Trace:
    oracle.ifs.common.IfsException: IFS-90301: Cannot update a Document under version control that is not checked out
    at oracle.ifs.ecm.beans.EcmDocument.lowLevelUpdate(EcmDocument.java:938)
    at oracle.ifs.ecm.beans.EcmDocument.ecmUpdate(EcmDocument.java:618)
    at oracle.ifs.ecm.util.BulkUtilities.ecmUpdate(BulkUtilities.java:345)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1653)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocument(FileManagerImpl.java:1511)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.doPut(EcmDavServlet.java:1688)
    at oracle.ifs.protocols.dav.DavServlet.doPut(DavServlet.java:1929)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2622)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.processRequest(EcmDavServlet.java:3616)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2396)
    at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java:2361)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    07/05/31 15:46:29 content: Servlet error
    ORACLE.FDK.AggregateError:ORACLE.FDK.AggregateError
    at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:181)
    at oracle.ifs.fdk.FdkException.getInstance(FdkException.java:74)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1661)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocument(FileManagerImpl.java:1511)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.doPut(EcmDavServlet.java:1688)
    at oracle.ifs.protocols.dav.DavServlet.doPut(DavServlet.java:1929)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2622)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.processRequest(EcmDavServlet.java:3616)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2396)
    at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java:2361)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: oracle.ifs.common.IfsException: IFS-90244: Cannot update all of the specified items
    at oracle.ifs.ecm.util.BulkUtilities.ecmUpdate(BulkUtilities.java:369)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1653)
    ... 19 more
    FdkException Details: oracle.ifs.fdk.FdkException: ErrorCode = ORACLE.FDK.AggregateError; DetailedErrorCode = ORACLE.FDK.AggregateError;
    Cause = IFS-90244: Cannot update all of the specified items; ServerStackTraceId = ; Info = null; Entries = 1
    Entry[0] = oracle.ifs.fdk.FdkExceptionEntry: ErrorCode = ORACLE.FDK.OperationError; DetailedErrorCode = ORACLE.FDK.ItemNotCheckedOut;
    ItemID = 99150; Cause = IFS-90301: Cannot update a Document under version control that is not checked out; Info = null
    Cause Exception Stack Trace:
    oracle.ifs.common.IfsException: IFS-90301: Cannot update a Document under version control that is not checked out
    at oracle.ifs.ecm.beans.EcmDocument.lowLevelUpdate(EcmDocument.java:938)
    at oracle.ifs.ecm.beans.EcmDocument.ecmUpdate(EcmDocument.java:618)
    at oracle.ifs.ecm.util.BulkUtilities.ecmUpdate(BulkUtilities.java:345)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocuments(FileManagerImpl.java:1653)
    at oracle.ifs.fdk.impl.FileManagerImpl.updateDocument(FileManagerImpl.java:1511)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.doPut(EcmDavServlet.java:1688)
    at oracle.ifs.protocols.dav.DavServlet.doPut(DavServlet.java:1929)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2622)
    at oracle.ifs.protocols.dav.ecm.EcmDavServlet.processRequest(EcmDavServlet.java:3616)
    at oracle.ifs.protocols.dav.DavServlet.processRequest(DavServlet.java:2396)
    at oracle.ifs.protocols.dav.DavServlet.service(DavServlet.java:2361)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
    at oracle.ifs.fdk.http.HttpServerManager.doFilter(HttpServerManager.java:103)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)

    Hi Matt,
    Thank you for your very useful reply.
    I have non blocking serial approval workflow.
    In my workflow I have attachment as PDF document to be signed. URI of that document is from Odrive. Foe example O:\sjrwmd\DMSFAContainer\DMSFALibrary\36397\P041282\978599\Invoice_with_2_blank_sig_OD_2.pdf
    When task has been assign to any user, from task detail page of the worklist application user click / open that pdf file and sign the document. When user save this document Odrive should save that to Contentdb.
    Just wanted to know that why it is not ODrive bug?
    I was able to do following test It works only in Acrobat 6.0.
    Steps I did,
    1) Upload pdf file to folder with manual versioning enable.
    2) Manually checked out file from web ui.
    3) Login to ODrive using same user
    4) Created html file with link (Please replace href portion to your url of the file)
    <HTML>
    <BODY>
    Testing Link <BR>
    <a class="blue" href="O:/sjrwmd/DMSFAContainer/DMSFALibrary/36397/P041282/978599/Invoice_102_wit
    h_blank_sig_OD.pdf" target="_blank">Invoice_101CD.pdf</a> <BR>
    <a class="blue" href="O:/sjrwmd/DMSFAContainer/DMSFALibrary/16966/P040577/246361/ST_Memo.doc"
    target="_blank">ST_Memo.doc</a>
    </BODY>
    </HTML>
    5) Open html in browser
    6) Click on document link
    7) Will open pdf files in browser
    8) Sign the document
    9) Click on save a copy button.
    10) In the save a copy dialog , file name place paste your file url of o drive for example in my
    case
    O:/sjrwmd/DMSFAContainer/DMSFALibrary/36397/P041282/978599/Invoice_102_with_blank_sig_OD.pdf
    click save
    11) This should save updated file
    12) Checked in document
    I will look into programmatically way to achive this.
    Regards,
    Jigar

  • Place pdf into InDesign CS4 js

    Hi, I have those lines of script that place the pdf into InDesign, but in the process new frame gets created in which the pdf is placed, and I need it to be placed into my existing frame. How could I do it:
        var myRectangle = myDoc.pages[0].rectangles[0];   
        myPage = myDoc.pages[0];
        myPDFPage = myPage.place(File(myFile), [0,0])[0];
    Thank you very much for your help.
    Yulia

    Yes, you are right, I am stuck for a different reason, it does places the second page.
    What I think is going on,  and maybe there is a better approach to it than the one I am going about it: when I have single page pdf for the 1st page and single page pdf for the 2nd page, my script first tries to upload 1st pdf as multi-page just in case there is only one pdf with both files. And for some reason it uploads single page pdf twice (into the second InDesign page as well when there is no second page in the 1st pdf [If I could avoid that all together would be great]). So my script verifies if the pdf uploaded into the 2nd page is 1st page of 1st pdf then it deletes it. And then it looks if there is a file for the second page, and uploads it. So my new challenge is that when it verifies what page of the pdf is uploaded into the 2nd page of InDesign after the 1st pdf upload, it just crashes, and it worked with the previous way of placing pdfs (the green line of the script).
    The second my issue is that, as it places the files, it dis-attaches the frames from the master page, and I need them to be still half attached. For the same reason new frames created by place command - is a problem for me. Maybe easier way, if it's possible at all, half-attach those new frames to the Master page afterwords. (This is the main goal for me).
    Here are both functions: to upload first pdf and second pdf:
    function myPlacePDF(myDoc, myFile){
        app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
        // page 1
        myPage = myDoc.pages[0];
        var myRectangle = myDoc.pages[0].rectangles[0];   
        app.pdfPlacePreferences.pageNumber = 1;
        myRectangle.place(myFile);
        //PDF.place (myFile);
        //myPDFPage = myPage.place(File(myFile), [0,0])[0];
        myRectangle.geometricBounds = [0, 0, myGB_Y2, myGB_X2];
        // page 2
        myPage = myDoc.pages[1];
        var myRectangle = myDoc.pages[1].rectangles[0];
        app.pdfPlacePreferences.pageNumber = 2;
        myPDFPage = myRectangle.place(myFile);
        //PDF.place (myFile);
        //myPDFPage = myPage.place(File(myFile), [0,0])[0];
        myRectangle.geometricBounds = [0, 0, myGB_Y2, myGB_X2];
        if (myPDFPage.pdfAttributes.pageNumber != 2){
            myPDFPage.parent.remove();
        try{
            var myFrame = myDoc.pages[0].rectangles[1];
            if (myFrame.isValid == true){
                myFrame.remove();
        catch (e){}
        try{
            var myFrame = myDoc.pages[1].rectangles[1];
            if (myFrame.isValid == true){
                myFrame.remove();
        catch (e){}
        app.pdfPlacePreferences.pageNumber = 1;
    function myPlacePDFback(myDoc, myFile){
        var myFrame= myDoc.pages[1].rectangles.[0];
        if (myFrame.isValid == false){
            myDoc.pages[1].rectangles.add();
            myFrame.strokeWeight = 0;
            myFrame.geometricBounds = [0, 0, myGB_Y2, myGB_X2];
        app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
        myPage = myDoc.pages[1];
        var myRectangle = myDoc.pages[1].rectangles[0];
        app.pdfPlacePreferences.pageNumber = 2;
        myRectangle.place(myFile);
        //myPDFPage = myPage.place(File(myFile), [0,0])[0];
        app.pdfPlacePreferences.pageNumber = 1;
    Kasyan, your script might be helpful, and I would like to look into it.
    Thank you very much for your help.
    Yulia

  • Script for Place PDF file into a InDesign file

    Hi everyone, i need to import a PDF file into a InDesign document and in order to do this i used scripts found over  the net (e.g. Zanelli's script ecc.) but i tried this solution:
    function(){
        app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
        var myDocument, myPage;
        if(app.documents.length != 0){
            myDocument = app.activeDocument;
        else{
            alert("No document opened");
            exit();
         if (app.selection[0] == undefined) {
            alert("Select box");
            exit();
         } else {
                var myPDFFile = File.openDialog("Select PDF:");
                if((myPDFFile != "")&&(myPDFFile != null)){
                    myDocument.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
                    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.MILLIMETERS;
                    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.MILLIMETERS;   
                    var myData = new Array;
                    myData[0] = app.selection[0].parentPage;
                    myData[1] = app.selection[0].geometricBounds;
                    myData[2] = app.selection[0];
                    myPlacePDF(myDocument, myData, myPDFFile);
        //FUNCTIONS
        function myPlacePDF(myDocument, myData, myPDFFile){
            var myPDFPage;
            var myPage = myData[0];
            var myGeometricBounds = myData[1].toString().split(",");
            app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
            var myCounter = 1;
            var myBreak = false;
            while(myBreak == false){
                if(myCounter > 1){
                    myPage = myDocument.pages.add(LocationOptions.after, myPage);
                 app.pdfPlacePreferences.pageNumber = myCounter;
                 myRectangle = myPage.rectangles.add(undefined, undefined, undefined, {geometricBounds:[myGeometricBounds[0],myGeometricBounds[1],myGeometricBounds[2],myGeometricBounds[3]]});
                 myRectangle.clearFrameFittingOptions();  
                 myRectangle.frameFittingOptions.fittingOnEmptyFrame = EmptyFrameFittingOptions.PROPORTIONALLY;
                 myRectangle.frameFittingOptions.autoFit = true;
                 myRectangle.frameFittingOptions.fittingAlignment = AnchorPoint.CENTER_ANCHOR;
                 myPDFPage = myRectangle.place(File(myPDFFile), false)[0];           
                 if(myCounter == 1){
                    var myFirstPage = myPDFPage.pdfAttributes.pageNumber;
                else{
                    if(myPDFPage.pdfAttributes.pageNumber == myFirstPage){
                        myPage.remove();
                        myBreak = true;
                myCounter = myCounter + 1;
             myData[2].remove();  
    what i would is, before the script place every single page of PDF file in the document, determine if the same page of the Pdf file is vertical or horizontal, to make the right section for the page.
    Is it possible?
    Thank you

    Moved to scripting forum...

  • Folder action to package and create pdf Applescript folder action

    Hi
    Does anyone have an Applescript Folder Action to package Indesign CS5.5 files and make pdfs.
    Thanks, in advance.

    Hi Babs
    I ended up paying someone to create the script. They did a fantastic job creating a droplet that has options to package, create PDFs to presets, print to presets, create an IDML file, retrosave this to CS4 and create a thumbnail. Sounds like a lot but that is what I ended up needing for one client and I can use it on anything.
    Thanks
    Mac
    Sent from my iPhone

  • Place PDF

    How can I place a PDF file on my iWeb site for a viewer to take off my site to use for that person's own purposes?

    There are a couple of ways to do that.  If you just want them to download the pdf file and not view it on line then zip/compress the pdf file and upload it to the same directory on the server that you publish your website to.
    Then create a text based hyperlink to the pdf file via the Inspector/Linik/Hyperlink pane.  Select Link to An External Page and enter the URL to the pdf file on your server.  If you uploaded the zipped file to the root directory of your account the url to the file would be http://www.domain_name.com/file_name.zip.
    If you decide to upload multiple zipped pdf files you might upload a folder titled "downloads" to the root directorhy and put the zipped files in it.  The the URL would be http://www.domain_name.com/downloads/file_name.zip.
    If you would like visitors be able to read AND download the pdf file AND it's a one page PDF try the method used in this demo page: Add PDF.
    If the pdf file is multiple pages then add it using this method: Scrollable Text Boxes via HTML Snippet. You can use the download button at the top of the snippet or add a text based link to a zipped copy of the file like was done in the single page example.
    OT

  • Can't place pdf

    Hi All
    There are previous post about this, but none (that i could find) have been resolved.
    Windows 7, CS6 x64
    When i try and place a pdf, i get the error "could not place xxxx.pdf due to a program error"
    error log says:
    2013:06:06 13:12:30 : ..\..\sources\PDFUtilities.cpp : 4152 : REQUIRE failed
    So it seems as if PDFutilities.cpp is corrupt or not in the place PS thinks it is.
    Any help would be much appreciated!
    Cheers
    Corey

    Hi Corey,
    If the place operation is successful on all but one workstation, you're probably right that there's something wrong with that machine, and a re-install is the right course of action. Sorry Photoshop isn't being more helpful in troubleshooting, and it's difficult to venture a guess as to what could be wrong, but there certainly are a number of potential problems that can best be resolved by re-installing.
    Please let me know what you find, and if there's anything I can do to help.
    Paul

  • Place PDF in Indesign

    Hi
    When I place a PDF in my Indesign Document, it's dreadfully blurry.
    What settings do I need to change when I create the PDF?
    Thank you -
    Marion

    I don't know what settings I've been using to create my pdfs, BUT - the High quality setting solved it.
    I should have thought of that - I somehow associated that setting with images.....  but the pdf is probably the same thing as an image.
    Thank you
    Marion

  • I'm trying to find an app that I can easily place PDFs and view multiple documents like a book or presentation folder. Can someone please help. Thanks

    Hi All,
    I have drop box, have used ibook and still looking for a solution. I have a number of PDF documents, some one page, some multiple pages in both landscape and portrait format. I would like an app that I can easily place multiple PDFs into it and show case them like a presentation or slide deck. Is there an easy app that is like a hybrid of drop box and keynote?
    Thanks,
    Linda

    There are some apps for both PCs and Macs that can be used to combine PDFs into one PDF document.Then you could upload the final PDF to the iPad.
    http://www.wondershare.com/pdf/transfer-pdf-to-ipad.html
    http://www.bythom.com/pdffaq.htm
    Apps to Manipulate PDF Files on your iOS Device
    http://www.labnol.org/software/edit-pdf-on-iphone-ipad/
    How to Transfer PDFs to an iPad
    http://www.dummies.com/how-to/content/how-to-transfer-pdfs-to-an-ipad.html 
     Cheers, Tom

Maybe you are looking for

  • Photo album in cs3 dreamweaver

    I am trying to create a photo album on my website in dreamweaver and cannot...what are my easiest choices on building that ... CS3 program

  • Airdrop iPhone to Macbook Pro Retina

    I am trying to Airdrop a photo from my iPhone 6 Plus to my Macbook Pro Retina 15" early 2013 and it is not working. I can Airdrop between my iPad Air 2 and iPhone 6 Plus, but not between my Mac.  My Mac can send to my iPhone and iPad.  I can see my p

  • TopN functionality in OBIEE

    Hi - I am trying to create a report in such a format (say for top selling product) Product salesAmt Biscuits 100 Chocolates 80 Energy Drink 75 Others 100 Total 350 This gives me top 3 sale amount and the remaining products categorized as Others. How

  • Adobe Life Cycle Designer 7.1 Tutorials

    Hi Guys, I am unable to find any general Tutorials for Adobe Life Cycle Designer 7.1. Please forward any helpful links. Christiaan

  • Replace CR with CRLF

    hi all, I have a simple problem, I would like to replace CR with CRLF but I never found any routine... anyone could help me? Thanks.