Place a PDF in CS5 - worked in CS4!

Hello

Here is an excerpt from a script that puts a PDF into an image on a page, he worked in CS4, but it has broken in CS5. Everything works in the development of the PDF - error message indicates error: error-1708 string ' Insert: path to the PDF document "does not understand the message of the place.

Here is the script...


tell the active document
-to make the layers
myLayer to layer with properties the value {name: 'impo-PDF', layer color: red, visible: true}

tell the end

Repeat with x from 1 to pageCountPDF

the value mapping page x of the active document

-to define pdf import options
The page number of the place PDF to x the value preferences
the value of culture PDF preferences place PDF to the media of cultures
set the transparent background of the place PDF false preferences

-begin to place the PDF file
-set the size of the image
lhboxBounds value {0, 0, 312, 111}

say to myPage
myRectangle make rectangle with properties the value {geometric limits: lhboxBounds, fill color: 'None', line color: 'None', accident stroke weight: 0}
-Rotate the pdf?
myPlacedPDF1 to place thePDF with properties the value {rotation angle: + 90 myPDFrotation} on myRectangle
the value myPlacedPDF1 to article 1 of the myPlacedPDF1
-reposition PDF in framework
adapt myRectangle content Center

-dupe framework
move (in double myRectangle) by {111, 0}
move (in double myRectangle) by {222, 0}
move (in double myRectangle) by {333, 0}

tell the end


Any help would be great as I can't find anything on this

Thank you very much

LJ

Try changing to «set myPlacedPDF1 to place the alias thePDF...» "It seems that CS5 will not accept just a path for the command of the place.

The Dictionary says clearly the string or alias, so you should report it as a bug.

That said, provide aliases and files rather than strings is a good habit to get.

Tags: InDesign

Similar Questions

  • Problems with the placement of PDFs in CS4

    I recently upgraded to CS4. I'm having a problem when I place a pdf in indesign CS4. When I place the PDF changes the size of the pdf file. For example, I'm trying to put a pdf file which is in 3.5 by 4.75 in. When I place it in CS3 it keeps the same size. When I put in CS4, it changes the size of 4.515 in by in 6,125. I looked at the preferences options import. I have searched for it and I can't understand how to solve this problem.

    Image by placing the behavior has undergone a radical change between CS3 and CS4. In CS4 when you click and drag a slider to place the image will evolve to adapt to the resulting image. If you click on and release, it will be set to 100%. If you put in an existing framework, it will come in according to the options of adjustment applied to the frame.

  • [JS CS5] Place the PDF pages without displaying alerts

    Hello

    I created a script to place several PDF pages in a document.

    First of all, I need to get the length of PDF pages with a dedicated function.

    Sometimes when you place a PDF page I get an error: PDF import alert: the following fonts are missing...

    Since I use this function just to get the length of PDF pages, is it possible to kill or keep these non visible alert automatically windows?

    Thank you.

    Hi Radelli,

    Will need you this line:

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.neverInteract;

    THX

    csm_phil

  • How can I specify the Page size when exporting PDF in CS5?

    Hi all

    I just upgraded to ID CS5 and I'm really impressed with the improvements. Of course, however, some aspects take a few adjustments that brings me to my question. How can I specify the size of the "printed" page when you export a PDF file? Basically, in CS4 I could set up a document to have, for example a page size of 20x20cm. I could then print it in PDF format and select a page A4 format. This meant that I could get my printer to print the document of 20 x 20 irregular size on a standard paper size and include benchmarks of crop etc. In CS5, I cannot get ID to export the pages that they are configured (i.e. 20x20cm).

    I don't know I must be missing something obvious here, someone has any ideas?

    I hope that I managed to explain my problem clearly enough and we hope to hear from someone soon. Thank you very much in advance for any help you can provide!

    Gavin.Fraser wrote:

    As a student of architecture, I'm pretty new to publication. My main need is for portfolio presentations and also my thesis work. So far, as mentioned earlier, before CS5 I was printing to / check-in PDF directly from ID without problem. For some reason any (and I stil have not thought to it yet) it seems the only way I can get the PDF of ID files is to create a Postscript file, open with Preview (I use a Mac) and then save as PDF.

    Try file > report > Adobe PDF (Print)... to make a PDF file you can print from Acrobat or Reader. You will have several presets of your choice, or you can use your own options if you have settings that you prefer, which will make a PDF suitable for different types of printing scenarios. For digital output instead of a commercial press, a ggod preset choice would be of high quality printing, but you can even use the same jopoptions or settings file you were using to print directly to PDF in the past.

  • Work on CS4 testing

    As I've recently updated my HW, it seemed appropriate to try CS4. That has proved to be a real exercise!

    First of all, I receive a stop message 0 x 50 I started to configure the bridge, when I made a quick exit to see what I put in place in PS. It never happened again I am went. Stop messages now changed to 0x08E. A thorough inspection of the ID of message'd NV4_disp.dll, the nVidia driver which I've updated when I set up the new facility. Bridge CS3 has no problem with it, but a CS4. Since this is a BSOD continually, I drove back from the driver. Now, bridge works ok, CS4 works still OpenGL, but now CS$ don't really seem to like this driver I get as erratic behavior when moving the window float after all windows (I hate the default aperture value!) the image disappears unless I opened another or after moving for a moment and clicking like crazy , I get the picture and it is stable.

    So far, the second problem is Bridge CS4 icon in the start bar. Who is on, I can not open Bridge CS3. Photoshop opens ok, but to be able to open Bridge CS3, I leave Bridge CS4 first, which, either by the way is how I arrived at the 0x08E stop! There is no way to eliminate it definitively to appear because if you open Bridge CS4 at all, it sets the start icon little matter configuration bridge (and msconfig).

    Since I was also BSOD when I installed CS3 (see http://forums.adobe.com/thread/540226?tstart=60), which was also attributed to the starup problems, I cannot conclude that for my system described in the link, shortcomings are permeated to older programs that run on the more recent and some platforms so older devices.

    I have all the updates CS4 and ACR.

    On a positive note, the trial of CS4 installed without a hitch and quick, about 5 minutes or more, which was nice to see. Also, my complaint with the brush endangered values and change color appears to have decreased.

    I guess I'm stuck with CS3 for the foreseeable future. It is not too bad, and I hope, CS5 will cover all these bases nicely.

    The ATI 5870 is really soft, works well with Windows 7 and CS4. The only problem with the 5870 is the screen will be a shake a little at the top when a window is open on the desktop with the Overclocking of the CCC is unlocked. The only reason why I got mine unlocked must rotate at the speed of the fan up to 50 percent to keep it cool as he vents in the case. The contraction is a known issue and I hope that fixed in 10.1 driver set next January. Oh, and the map is long and has a space problem when it appears in a midtower case. It is longer then my 4870 x 2. So I had to place my senior in the case hard drives until I can buy a full turn.

  • Place several PDF files (or a folder of PDF files) into an InDesign document


    Hello

    I know there are several scripts to place multipage Pdf into InDesign.

    Based on these scripts I've done myself who place a PDF file with multiple pages in the form of a chart online where the name of the PDF file is inserted as a Cape.

    Works very well. But when I want to import files PDF 20 I have to run this script 20 times, which is not very practical.

    I'm looking for, so a way choose a folder in which are several PDF files that will be placed inside 1 ID doc.

    Any suggestions?

    . SelectDlg() of use:

    function getPDFs(){
        var f = someFolder.selectDlg ('Select a folder')
        if (f != null){
            return f.getFiles('*.pdf');
        }
        return [];
    }
    

    Peter

  • I created a file in Photoshop CS5 (photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When Photoshop and Illustrator files are placed in InDesign, they seem blurry - read in InDesign, printed or saved as

    I created a file in Photoshop CS5 (photo) and another in Illustrator CS5 (a graph) to place in my InDesign CS5 brochure. When Photoshop and Illustrator files are placed in InDesign, they seem blurry - read in InDesign, printed or saved in PDF format. Can someone give me some advice on how to fix this? Thank you!

    View blurry in InDesign: choose View > display performance > high quality screen

    Blurry printing InDesign: Choose file > print > graphics > Images > data send: all

    Fuzzy in PDF format: fix above points first. make sure that the links are up-to-date; post a screenshot here your PDF export settings.

  • OpenDialog ScriptUI does not downgrade CS5.5 to CS4

    So here's my most recent bit of fun.  The scripts that I have written have been in CS5.5, but I learned today they need work on CS4.

    Almost everything seems to work except one critical piece. Here is a brief summary of what I'm doing.

    I open a window that has two text boxes and two buttons.  The first button opens a file dialog box that allows the customer to choose where their XML file.  When they select it and click ok, it fills the first text box with the path.

    The second button opens a file dialog box that allows the customer to choose the location of their folder of images, and when they click ok, it fills the second text box with the path.

    Everything works peachy in CS5.5.  But when I tried in CS4, it's what he does.  When I choose a file and click OK, is to fill the text box with the word "file".  When I choose a folder, this is the filling of the second box with the word "file".

    Here are the relevant functions:

    F2.onclick = function()

    {

    TF = File.openDialog ("Select your XML file", "*.xml");

    If (tf! = null)

    {

    E2. Text = tf;

    TF = tf.fsName;

    }

    }

    F3.onclick = function()

    {

    var tfol = new file ("~/My Documents')

    TFO = tfol.selectDlg ("Get Folder");

    If (tfo! = null)

    {

    E3. Text = tfo;

    TFO = tfo.fsName;

    }

    }

    As I said, this work is fine is CS5.5, but I need to know what is different in CS4 and how to operate it.

    Thanks in advance for your help.

    Add a line to your code:

    If (tf! = null)

    {

    $.writeln (tf.constructor.name);

    E2. Text = tf;

    TF = tf.fsName;

    }

    And run your script from the ESTK when the console is open. You will see that the file is printed. So tf is not a string but a file object. Use e2.text = tf.fsName to display the path name full access for the file or e2.text = tf.name to show that the name. Is the same for the other function, which shows the folder instead of the folder name.

    Peter

  • Opening a Flash CS5 in Flash CS4

    Hello world

    I just buy Flash CS5 to clean computer. I have CS4 on the computer at work. Unfortunately, I get an error when I tried to open a CS5 project in the CS4 at work. My boss does not purchase of CS5. Is it really so that you cannot open a CS5 CS4 project or is it possible to adjust a project in the two systems.

    Greetings,

    Mila

    In CS5, you can save a file CS5 as a CS4 file.  This will be your only optin to put a file can be used on both machines.

  • Bridge CS5 crashes repeatedly (CS4 too)

    A typical workflow for me is to open 4-5 (.dngs) in Camera Raw in bridge raw files, edit, save as TIFF, return to the bridge and move the raw files to a subfolder. My problem arises usually when I try to move the raw files. Bridge moves them, but at the same time it crashes. I can move 1 file at a time without crashing, but not 2 or more.

    I hoped CS5 would solve this problem, but it didn't. I trashed my prefs, several times. I purged the cache several times. I changed my openGL settings in Photoshop Basic. Every thing I try works for a short time (which means that for about an hour I can come 2 .dngs both in subfolders after backup/editing in Camera Raw). Then it stops working, and I'm back for repeated failures.


    I am under Photoshop CS5 x 64 in Windows 7, with 12 GB of Ram, a quad-core i7 processor and an ATI Radeon 4870 graphics card. Photoshop CS4 and now CS5, work like a dream; and that's of Camera Raw. I know Bridge cannot see most of this RAM, but I would really like that it works as well as it did in CS3, on a much older, slower machine for me.

    Is it a problem other people had? I was not able to find much about it in the forums or Google, only a solution involving a nVidia graphics card, which I did not. Oh-, I have the latest drivers for my graphics card, etc.

    Mary

    To change the compatibility mode to Windows 7

    • right-click on the icon for bridge

    • Scroll the properties to get the box properties of adobe bridge cs5

    • go to the Compatibility tab, in compatibility mode section

    • Select windows 7 in the drop-down list in the menu drop-down

    • Check run this program in compatibility mode in the check from the box.

    • Select apply and exit.

  • Placement of PDF

    Is it possible to change a document page PDF is used after it is placed.  Or a way to select the page when you use drag / move, instead place them?

    Didn't do a lot of drag / move, but it seems to me that if the last series of options that you used when you place a PDF file will be kept and used until you open the dialog box and change, so if you chose 'the art' for crops instead of 'media' you will get all the space on a page , and if you choose page 3, you will continue to get the three page when one exists.

    You can add a link to the PDF file and display options to edit the page, but it's probably a lot more work than just using the dialog box first. Instead of dragging, you can select multiple files in the dialog box and display options for each of them, which will speed up the process, maybe.

  • Scan to PDF doesn't work don't not with J4680 all-in-One

    I can't get the scan to searchable PDF (PDF and PDF) file to work as expected with my new J4680.

    It works very well with other formats (TIF, JPG, etc.), but not with the PDF.

    It scans well request for additional pages correctly, and then try to create the PDF file. This is the process fails.

    An empty PDF file (size 0) is created and it fails with an error message:

    unexpected error, click OK to close the program, and perform the following steps:

    -Restart the program; -start the computer and try again. -Reinstall the software and try again

    8, [(6, 261,-2147417851)]

    (freely translated from the German - except for the error number ;-)

    Of course, none of the suggestions above, or any combination of these, or restart the printer works. Any ideas?

    Thanks, the problem is resolved for now.

    Suppot of HP was somehow in the right direction. I uninstalled the drivers all (!) of the 'old' hardware HP (6110 OfficeJect, ScanJet,...), reinstalled the J4680 completely and from there everything worked.

    Internal error (WIN XP) seems to be related to a conflict with older drivers.

    I hope this help if someone having similar problems.

    Thanks again,

    Alex

  • CS6 serial numbers or CS5.5 (or CS4 for PC) is possible for my mac crossgrade? If so, how can I go about this process?

    CS6 serial numbers or CS5.5 (or CS4 for PC) is possible for my mac crossgrade? If so, how can I go about this process?

    Exchange a product for a different version of the language or platform

    Mylenium

  • I get say error message "an error has caused Photoshop to stop working correctly. Windows will close the program and notify you if a solution is not available "." I got no notification. My old Photoshop CS5 works fine, but as I'm paying for CC2014

    I get say error message "an error has caused Photoshop to stop working correctly. Windows will close the program and notify you if a solution is not available "." I got no notification. My old Photoshop CS5 works fine, but as I pay for CC2014 I would use it. I tried to rename the "sniffer" to "snifferold" as bobmiller4002 has suggested, but the problem is not resolved. Lightroom works fine.

    Update your driver from the website of the manufacturer of the GPU video card to pick up the bug fixes that you are missing...

  • Adobe Creative Suite CS5 works on OS 10.7?

    Hi guys! I bought adobe creative suite cs5 sometime ago and is considering upgrading my mac os, so I can download other software. Does anyone know if older versions of photoshop are toward the front of the environment? I currently have os 10.68. 10.7 or anything beyond that would be able to run the old edition, I? Thank you!

    CS5 works well on Lion 10.7.5.

    My Mac Pro cannot run anything higher than that.

Maybe you are looking for

  • Linux: Impossible to go to Web sites related to google after 35 updated

    Hi guys. I am running Linux Mint and firefox just updated to version 35. Just after the restart firefox for this update, I can't load pages of google-related. I don't get any sort of unable to connect error. When I type the address and press ENTER, i

  • Satellite C660 - USB keys are not mounted

    I have a * Satellite C660 with Windows 7 64 bit *. When I conect a USB stick (2 GB LG or other), Windows install the new USB, but after a few seconds, the USB is disassemble and assemble and disassemble some indefinitely. With my old * Toshiba Satell

  • Help using 'save in the series of files (several files).

    Hello My name is Daniel R. I am a student doing research internship and was put on a project using LabView (with no experience using Labview). I'm using LabView student 2013 version 13.0 edition. Now the VI I created is to get data from a PMT using a

  • Creation of the debugging token error: file has already been signed

    I nuked my PC and could not save my symbolic debugging Moose registration and got a new. I am registered with flash builder 4.6 but failed to create a new debugging token. Whenever I try (FB or from the command line) it gives me the error that the fi

  • ISE 1.4 identity not seen but passes MAB

    Hi guys,. I just built a v1.4 ISE server and configured to work with a WLC to provide both auth 802.1 x to a WLAN internal and Central Web Auth for the WLAN comments The question I have is my authentication of devices as shown test passes by the news