Relinking to modified file names is working in CS3 and not in CS2

We are trying to remove a few characters identified as illegal(cannot be used in the file names in Windows) from the file names and then modify the InDesign layout files to relink to the modified file names. We are using the InDesign CS3 server to open up the application and work on the layout files using Java and CORBA mode(used CS3 SDK). First we remove the illegal characters from the file names. Next we will go through all the links in a layout file and will identify the links with illegal characters and relink it to the modified files. The relinking will happen to only those files which has a state NORMAL before the file names are modified. This approach works fine for the CS3 files but for CS2 after the file names got modified the link rolls back to the file path on the original m/c where the link was created and the relinking is not working.
Have anyone did something similar to that, if so can you provide with some details on how to address this issue.
Do let me know if you need any more specific information for providing your inputs to address this issue. Any inputs will be highly appreciated.
Thanks

Thanks. I got it resolved by saving the document by passing in a OptArg.makeFile() instead of OptArg.noFile(). I modified this based on what I read from Adobe Livedocs which said that any CS2 file opened in CS3 will be converted to CS3 and will be considered as a new document.

Similar Messages

  • File name mystery - works in BeanShell - but not in plain java

    I have added a step in a KM with the following:
    <%
    import java.io.*;
    try
    FileWriter tempFile = new FileWriter("newSourceTableList_"+odiRef.getSession("SESS_NO")+".txt");
    tempFile.write(newSourceTableList);
    tempFile.close();
    catch (Exception e)
    out.println(e.toString());
    %>
    When it executes it gets the following error: "java.io.FileNotFoundException: newSourceTableList_2778001.txt (The filename, directory name, or volume label syntax is incorrect) "
    If I put the exact same code in a step using Java Beanshell technology - the file is written correctly. Is the working directory set differently for the different technologies?
    Why does this not work in plain Java technology??

    Sorry for the delay - other projects stole my time.
    I tried this and it produced a parsing error when executed: (looks like the parser is doubling the backslashes - the KM only has one - maybe causing more problems?)
    BeanShell script error: Sourced file: inline evaluation of: `` import java.io.*; out.println("Checkpoint 2 [" + newSourceTableList + "]"); tr . . . '' Token Parsing Error: Lexical error at line 7, column 12. Encountered: "\\" (92), after : "": <at unknown location>
    BSF info: get computed source table names at line: 0 column: columnNo
    import java.io.*;
    out.println("Checkpoint 2 [" + newSourceTableList + "]");
    try
    FileReader(\\u0022newSourceTableList_\\u0022odiRef.getSession("SESS_NO")\\u0022.txt\\u0022); FileReader.read(newSourceTableList);
    FileReader.close();
    out.println("Checkpoint 3 [" + newSourceTableList + "]");
    File tempFileObj = new File("newSourceTableList_"+odiRef.getSession("SESS_NO")+".txt");
    tempFileObj.delete();
    catch (Exception e)
    out.println(e.toString());
    ----------------------------------

  • How can I burn a disk of photos with a modified file name?

    After importing photos from scan device, I use Photos > Batch > Change to rename files.  When burning a disk the changed file names do not transfer with the image but use the original file name.  How can I burn a disk of photos with the modified file name?
    This is what I have done so far with no success.
    Drag selected photos from Event to Burn Folder where the file names were changed. Burn folder lists file with original file name.
    Drag albums to Burn Folder with the same result.
    In Filer I am able to change the iPhoto Library > Master > Date > Filename and then drag to burn disk folder and see the changed name but this is a single file exercise without a view of the file's image, but to use the new file name in iPhoto events I have to repeat the naming convention.

    File > Export.
    In the resulting dialogue note the "Name" section. Choose to use the Title as Filename.
    Regards
    TD

  • I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been dama

    I am using Adobe Acrobat 9 Standard version in Windows 8.1 and when I try to create a .pdf file, I receive the following error message "Acrobat could not open "file name.log" because it is either not a supported file type or because the file has been damaged.  To create a PDF document, go to the source application then print the document to .pdf"  I am going to the source application and printing the document to .pdf yet it's saving the file as a .log file.  After reinstalling the software, I initially didn't encounter this problem but on my second and third attempts to convert files to .pdf format, this error message reappeared.  How do I resolve this problem?

    I have a similar problem which i did not have before...and it exists only in some powerpoint files which i want to print as a pdf file...and i get the same message as above.
    the log says the bellow details...what's the problem and how can i resolve it? thanks.
    %%[ ProductName: Distiller ]%%
    %%[Page: 1]%%
    %%[Page: 2]%%
    Cambria not found, using Courier.
    %%[ Error: invalidfont; OffendingCommand: show ]%%
    Stack:
      %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%

  • Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email a

    Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?

    Obviously your download was not successful.
    What is your operating system?  How exactly do you download such files?

  • How to check file name in local c drive and run exe file

    Hi All,
    I'm newbie user in action script. How can i check sepecific
    file name in local c:\ drive and if file doesn't exist in local
    drive download from server and run and if exist go to frame ..... .
    Please help to me.
    Thanks,

    Dear Marghoob Suleman
    Thank you very much for your kind help.
    Thanks in advance

  • HT5098 How can I read on my Apple Arabic files of Times New Roman or Arial in PC? when I get the files the Arabic letters are separate and not joined. Is there a common font in Arabic that can convert the PC Windows files to  my Apple?

    How can I read on my Apple Arabic files of Times New Roman or Arial fonts made in PC? when I get the files the Arabic letters are separate and not joined. Is there a common font in Arabic that can convert the Arabic  PC Windows files to  my Apple?
    The same with email messages ,
    And when I get Power Point files made in PC Windows, they are like PDF, not Power Point!
    Anybody with a good suggestion?

    Yewtree wrote:
    when I get the files the Arabic letters are separate and not joined
    Do not use MS Word for Mac, it does not support Arabic.  Instead use Mellel, TextEdit, Nisus Writer or OpenOffice.  Try the font Geeza Pro if others do not work.
    What are you using to read email?
    What are you using to read powerpoint?

  • I have CS6 and CC installed on my mac when I'm using CS6 and use bridge CC activates how can I set this to only work on one and not the other

    I have CS6 and CC installed on my mac when I'm using CS6 and use bridge CC activates how can I set this to only work on one and not the other

    If you want Bridge CS6 to open when using Photoshop CS6, you must quit Bridge CC.
    Then File menu > Browse in Bridge will bring up Bridge CS6.
    If Bridge CC is already open, The File > Browse in Bridge for Photoshop CS6 will use Bridge CC and Bridge CS6 will not open.
    I hope that's the answer you were looking for.
    Gene

  • Why does my php export feature work in IE and not firefox?

    Why does my php export feature work in IE and not Firefox? I've written a web application which contains a SigmaGrid. The grid controls reload, add update delete, print and export to csv all work in IE8. The export feature does not work in Firefox.

    I'm not sure what's going on for you. I've had 4 other developers - two on Comcast and two on Fios review my work and they get the control and export action in the IE8 version but not the FF10 version.
    Thanks for looking into this for me, though. I appreciate the effort. '' The operation was a success doctor, but the patient died.''

  • Quicktime plugin works in IE and not in safari

    Hello,
    I'm using Safari 2.0.1 for browsing the web. I'm on Tiger 10.4.2 and have QT7 pro.
    Firewall is set to let Quicktime streaming pass through.
    the following URL is extract from the allocine web site witch is the french movie portal.
    http://www.allocine.fr/video/generation.mov?u=rtsp://a1622.v09806.c980.e.vq.akamaistream.net/7/1622/980 /41891159/quicktime.allocine.fr/nmedia/18/35/52/34/18397590_fa1_vosth.mov
    under safari I've got the big blue Q and that's it. On IE it works fine.
    Moreover on safari the end of the URL (beginning at RTSP) open quicktime player.
    Sound to me like a bug but can't be sure.
    You can check at www.allocine.com click on a movie and try to watch a trailer ("bande annonce" in french).
    Moreover High definition trailer works fine on this site with quicktime....
    really strange
    maxime
    just an add on : Trailers on apple web site works fine

    Sorry but already done that. Quicktime is set to RTSP and SDP in the mime settings...
    A person in the french forum got the salme problem than I and install IE. With IE he can got at allocine web site..
    I'm convinced it's something to do with the HTML interpreter but can't point out.
    On Safari the plugin seems not starting so I assume it's not the connexion and can't see why it would works under IE and not safari in this case...
    Please, I don't want to why IE, get my Safari back to work on allocine web site with quicktime
    maxime

  • Why is my airportxpr only working with Itunes and not with another music program

    why is my airportxpr only working with Itunes and not with another music program??
    I can not select/see other outputs in my sound selector.

    You have not indicated which OS or which music program you have so I have listed a program called Airfoil to try for both Windows and Mac - it may work for you
    for Windows - http://rogueamoeba.com/airfoil/windows/
    for Mac - http://rogueamoeba.com/airfoil/mac/

  • HT3412 impossible to download my book ! I-photo 11 worked last month and not anymore.Download stops in the middle.

    I-photo 11 worked last month and not anymore.Download stops in the middle.I have to shut MAc down and restart to debug.
    What's wrong ?

    Here's a fix that worked for some users:
    Make sure this checkbox is checked in the System/Sharing preference pane:
    If it is, uncheck it and then recheck and try ordering again.

  • Ipad screen went white with gray/black line through it. Worked one minute and not the next. It has not been jailbroken.

    The ipad screen has went white and has a gray line running through the middle of it. It worked one minute and not the next. It has not been jail broken.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after It shuts down, press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10-15 seconds). No data will be lost.

  • How to modify file name with the press of a radio button

    Hello,
    I have a simple task that I am having some trouble completing. This is what my program is doing:
    My VI takes 3 angles between -180 and 180 and computes the XYZ coordinate using a mathscript node. Then every time I press Trigger, the current 3 angles and their corresponding XYZ coordinate are written to a spreadsheet file.
    I need to tweak the VI some more to accomplish the following:
    The first time I select the radio button Point (or Line), I would like the spreadsheet file name to be "Point001" (or "Line001"). Then I want to press the Trigger 10 times, write to that file just created, "Point001" (or "Line001"), and after the 10th Trigger, I would like the radio button Point (or Line) to become automatically unselected.
    The next time I select the radio button Point (or Line), I would like the spreadsheet file name to now be "Point002" (or "Line002"). Then I want to press the Trigger again for 10 times, write to that file just created, "Point002" (or "Line002"), and after the 10th Trigger, I would like the radio button Point (or Line) to become automatically unselected, again.
    And so on...
    Basically, I am trying to increment the filename Pointxxx each time I select the radio button. I want to write to that file 10 times, at which point the radio button Point automatically becomes unselected.
    I hope it is clear to what I am trying to do. Any help would be appreciated.
    r15
    Attachments:
    Untitled 1.vi ‏67 KB

    I attached my working VI.
    Now, the problem is that Trigger is saving to a different file each time as opposed to having the 10 Triggers save to one file.
    This is what is happening now:
    When I have the radio button Point (or Line) selected:
    Trigger (1st time) saves to "point1" (or "line1")
    Trigger (2nd time) saves to "point2" (or "line2")
    Trigger (3rd time) saves to "point3" (or "line3")
    Trigger (10th time) saves to "point10" (or "line10")
    Then, Point (or Line) is deselected.
    What I need is the following:
    When the radio button Point (or Line) is selected
    Trigger (1st time) saves to "point1" (or "line1")
     Trigger (2nd time) ALSO saves to "point1" (or "line1")
    Trigger (3rd time) ALSO saves to "point1" (or "line1")
    Trigger (10th time) saves to "point1" (or "line1")
    Then, the radio button Point (or Line) is deselected.
    Next time I select Point, I want the Triggers to write to "point2".
    Can you fix this for me?
    Thank you
    r15 
    Attachments:
    Test.vi ‏71 KB

  • Getting file name to work in download/upload example

    In the example from
    http://www.oracle.com/technology/products/database/htmldb/howtos/howto_file_upload.html
    I have it all working, but now that I have completed all the steps, when I click on a file to download, it now uses the schema owner as the name of the file without an extension. Is anyone else having this problem? If I save it to a file, it knows the file type, so that is getting through OK, just not the file name and extension.
    Thanks!

    Any ideas on this?

Maybe you are looking for

  • T.code for screen painter

    anybody tell me how to create t.code for my screen created in se51

  • Deleting Time Capsule backups

    We've been backing up a Macbook and IMac to 2T Time capsule for years.  Bought new IMac and rendered Time Capsule 'full' and unavailable for backups.  Q 1:  how to truly delete backups from Time Capsule

  • Object library invalid or contains references to object definitions that could not be found

    I have an excel macro application. It works ok in my machine. Whenever I send it to my colleague and he opens the file and save and send it back to me, I get the below error. But, it is working ok in my colleague machine. Compile error: Object librar

  • Clearing text field after query

    I have seen alot of old post on this but no answers, I am wondering if anyone knows how to accomplish clearing a text field after a query has been executed? Example: User types a query in the search field, clicks submit then the query is returned and

  • How to update safari browser

    I have a macbook pro does anybody can tell me hoe to update safari browser