Error Log Contains Path To PSD, I need to open each one listed and SAVE AS with Maximum Compatibility

Hi,
I am looking to create a script that pulls the path of the listed PSD from the attached Error Log file.
The files could not be read. Please re-open the files in Photoshop and save them with the ‘Maximize Compatibility’ preference enabled. (20)
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Sheraton Cypress\PSDs\Sheraton Cypress Court Restaurant.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Sheraton Cypress\PSDs\Sheraton Cypress Rock Garden.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Sheraton Cypress\PSDs\Sheraton Link.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Sheraton Cypress\PSDs\Sheraton Cypress Court Area.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Sheraton Cypress\PSDs\SheratonCypress_Guestroom.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\PSDS\Ballroom.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\PSDS\DiningArea.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\PSDS\Lobby.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\PSDS\Pool.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\PSDS\Meeting Space.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\PSDS\Fitness.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_Guestbathroom.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_GuestSuite.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\FP_London_BusinessCenter.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_GuestroomBathroomTwo.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_GuestroomBathroom.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_GuestSuite_Desk.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_Guestroom.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Four Points London_Guestroom_Double.psd
    \\WDMYCLOUDEX4\imageArchive\Brandon Barre\Bradon\Four Points London\PSD\Untitled1.psd
The text above was created when the PSD was saved with Maximum Compatibilyt turned off and Lightroom will not Import them.
I am looking for guidance or someone to create it as I am willing to pay for it that references the text file, each line opening the file in Photoshop and Saving As in same place with Maximize Compatibility and done sequentially.
Thank you kindly,
Thomas

Something to get you started:
var inputFolderPath = "/path/to/folder",
    outputFolderPath = "/path/to/other/folder",
    templatePath = "/path/to/template.indd",
    inputFolder = new Folder(folderPath),
    outputFolder = new Folder(outputFolderPath),
    template = new File(tempatePath),
    files = inputFolder.getFiles(),
    file, fileString, doc, idName, i, l;
outputFolder.create();
for (i = 0, l = files.length; i < l; i++) {
    file = file.open('r');
    idName = file.displayName.replace(/\.[^\/.]+$/, '') + ".indd";
    fileString = file.read();
    file.close();
    doc = app.open(template);
    doYourStuff(doc, fileString);
    doc.save(outputFolder + "/" + idName);
    doc.close();
This would name the versioned InDesign files the same as the input text file but with the ".indd" extension. You might need to consider filtering the files in the getFiles() call, if you have filetypes in your input folder you don't want to process. It's clearer to just re- open the template file on disk, rather than reverting, and amounts to the same thing.
Jeff

Similar Messages

  • Having installed an upgrade for Photoshop Elements 13, I cannot open the application. I get an error message saying "Adobe Photoshop Elements Editor cannot be opened because of a problem. Check with the developer to make sure Adobe Photoshop Elements Edit

    Having installed an upgrade for Photoshop Elements 13, I cannot open the application. I get an error message saying "Adobe Photoshop Elements Editor cannot be opened because of a problem. Check with the developer to make sure Adobe Photoshop Elements Editor works with this version of OS X. You may need to reinstall the application. Be sure to install any available updates for the application and OS X".
    I have since uninstalled and reinstalled the app, but get the same error message.

    Which version of OS X do you have? It's not clear from your post whether "installed an upgrade" means you just installed PSE 13 as an upgrade or you installed an update to PSE 13, like ACR 9 or 13.1. Please clarify.

  • I need to transfer up to 200 pages and keynote files from my macbook to my PC. Is there any way I can convert all of the files to word-friendly documents as a batch change or will I have to open each individual file and re-save it as word-friendly?

    I need to transfer up to two hundred Pages and Keynote files from my macbook running on Mac OS X 10.6.8 to my PC running windows. Is there any way I can convert all of the files to word-friendly documents as a batch change or will I have to open each individual file and re-save it as a word-friendly file?

    I need to transfer up to two hundred Pages and Keynote files from my macbook running on Mac OS X 10.6.8 to my PC running windows. Is there any way I can convert all of the files to word-friendly documents as a batch change or will I have to open each individual file and re-save it as a word-friendly file?

  • HT4796 will turbotax transfer from my broken hp laptop to a new mac or do I need to buy turbotax for mac and start over with my pc 2011 turbotax file

    will turbotax transfer from my broken hp laptop to a new mac or do I need to buy turbotax for mac and start over with my pc 2011 turbotax file

    You'd have to ask Intuit. They might give you a cross-license to download and install the Mac version.

  • I have CS4 installed on two computers however none of the applications will now open on one machine and I get the error message 150:30

    I have CS4 installed on two computers however none of the applications will now open on one machine and I get the error message 150:30

    Your best bet is probably to start over by cleaning off the old software with the Adobe Cleaner tool:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Then reinstall from your original media, or download it here:
    http://www.adobe.com/downloads/other-downloads.edu.html

  • Needs help to know the different versions of forms with their compatibility

    Needs help to know the different versions of forms with their compatibility with different databases and operating systems.
    Kindly give the details or any suitable link for the same.
    please consider it as on urgent basis.
    regards,
    rajesh

    Rajesh,
    the certification matrix is available on metalink.oracle.com. You need a support contract to access this information.
    Frank

  • Need explanation on prerouting post routing and translation rouitng with examples

    Hi ,
    i need explanation on prerouting post routing and translation rouitng  with examples.can anybody help me out ?
    thanks in advance
    regards
    bala

    Hi,
    prereouting: call comes in, hits ICM, script is run, telling the routing client (PSTN) where to route the call to (so the call is routed before (pre-) connection, or rather, establishment).
    Postrouting: call comes in, is connected and then it hits ICM (so the call is routed after begin connected).
    Translation routing is an interesting hybrid: call comes in, is connected but the party the call is connected to, is being monitored by ICM (so it sends the call away but it keeps an eye on it). When it's necessary, call is transferred to a different destination.
    Examples:
    Prerouting: PSTN -> ICM (script) -> PSTN -> destination phone answers
    Postrouting: PSTN -> call is answered -> ICM -> transfer to destination phone, answered
    Translation routing: PSTN -> call is answered -> ICM transfers to IVR port, then transfers to final destination phone (agent).
    G.

  • TS3694 I have an unknown error labeled -42210. I don't see it anywhere in the list and I have no clue what it does either since everything seems to run just fine. Does anyone know what the error means?

    I have an unknown error labeled -42210. I don't see it anywhere in the list and I have no clue what it does either since everything seems to run just fine. Does anyone know what the error means?

    Try the following user tip:
    iTunes for Windows 11.0.2.25 and 11.0.2.26: "Unknown error -42110" messages when launching iTunes

  • HT2237 I am trying to delete unwanted files from an external drive and am getting error code -50.  What do I need to do to clear this and delete the files?

    Can someone tell me how to clear this error.  I am trying to delete unwanted files from an external drive and get error code -50.  How do I clear this so I can delete these files?  Thanks.

    Re: Error Code-50 when trying to copy or delete files on external hard drive

  • Need script to read a list and compare it to the contents of a folder...

    I need a script that will read all of the file names within a tab delimited list and then compare them to the files within a directory (named IMAGES) and delete the files of this IMAGES folder that are not included in the list.
    Thanks in advance.

    It won't work because of what you're comparing.
    Consider if files_list does not contain (image_file as string) then.
    Your script defines files_list as the contents of the specified file like:
    "file1.jpg
    file2.jpg
    file3.png"
    and image_file is a list of files which, when coerced to a string looks like:
    "Cabezon:Users:cochino:Desktop:images:file1.jpgCabezon:Users:cochino:Desktop:ima ges:file2.jpgCabezon:Users:cochino:Desktop:images:file3.png".
    There is no way files_list is going to be in image_file.
    Instead you're going to have to iterate through one or other of the lists and find matches.
    Since the list of files you want to keep is around 1,000 items long, and there are 6,000 files in the directory it would be quicker to iterate through the list of files to keep (a loop of 1000 iterations) than it would be to loop through the files to see which ones to delete (a loop of 6000 iterations).
    Therefore your best bet is something like this (untested):
    tell application "Finder"
    --define the source directory
    set sourceDir to folder "Cabezon:Users:cochino:Desktop:images:"
    -- create a temp dir for the files to keep
    set filesToKeepFolder to (make new folder at (path to temporary items) with properties {name:"TempImageDir"})
    -- get the list of files to keep
    set files_list to paragraphs of (read file "Cabezon:Users:cochino:Desktop:Workbook2.txt")
    -- iterate through them
    repeat with eachFile in files_list
    try
    -- move the file to the temp folder
    move file (eachFile as text) of sourceDir to filesToKeepFolder
    end try
    end repeat
    -- by the time you get here all the matched files
    -- have been moved to the temp dir
    -- so now you can throw away the rest of the files
    delete every file of sourceDir
    -- and copy the files you want back in
    move every file of filesToKeepDir to sourceDir
    -- and clean up
    delete filesToKeepDir
    end tell
    The comments should give you some idea as to what it's doing, but in short it walks through the list of files looking for matching files in the specified directory. If it finds a match it moves that file to a temporary directory. At the end of the 1,000 iterations, what's left in the directory are the files that did not match the file read in at the beginning, so these files can be deleted.
    Finally, to clean up, the files you want are copied back into the images directory and the temporary directory is deleted.

  • My Robohelp html 8 project won't open after one warning and error message

    I'm currently using Robohelp HTML 8 and when I open my project  I first get the following message:
    After I click OK, I get this error message:
    The project won't open after that. When I look ate my files they seem to be intact even though the message says the folder is missing from
    Your help is greatly appreciated.
    Thank you,
    Joy

    Hi Joy
    Unless I'm mistaken, K would be a network drive, no?
    Unfortunately RoboHelp is only one of a host of applications that doesn't fare well if you try to make edits to a project while it resides on a network drive.
    Try copying the project to your local C drive. Perhaps create a folder named Projects and copy your project to a folder named Primo Intranet inside that folder so it looks like this:
    C:\Projects\Primo Intranet
    Once you do this, try opening your project again and you will likely have better luck.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Need to open existing .pdf files and add footer, then save files again

    I would like to know how to go about opening a folder containing .pdf files, adding a footer to each file, then saving the file.
    I wanted to check first and see if this would be possible and if so, how to go about doing so.  Is this something that can be accomplished in a batch file?
    We are using Acrobat 5.0 to create the .pdf, but I don't know if we need a newer version to accomplish what I am looking to do.
    Thanks for any info you can give me.

    Hi,
    fwiw - Acrobat 5 (full) supported Batch Sequences.
    The "facility" was provided as an add-on available on the installation media.
    Be well...

  • I tried to play my iTunes and suddenly get an error message that says "The song (name) could not be used because the original file could not be found.  Would you like to locate it now?"  It happens on all my tunes and each one I select ends up with a "?"

    I tried to play my iTunes and suddenly get an error message that says "The song (name) could not be used because the original file could not be found.  Would you like to locate it now?"  It happens on each tune I select and a "?" appears beside the song.  Does this sound familiar to anyone?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • Error on Mac- A copy of firefox is already open. only one copy of firefox can be open at a time.

    error message on mac - a copy of firefox is already open. Only one copy of firefox can be open at a time.

    This worked, I used the method described in this link http://forums.mozillazine.org/viewtopic.php?t=365156, and opened the Mozilla profile screen with the terminal on my mac, using the language given in the links. Then I duplicated my original profile to save the bookmarks, etc. Put them in a folder listed Duplicate profile with the date. With the open profile screen, I deleted my original profile, created new profile folder and then a new profile. Note that profile cannot be created in the system library, it must be created on the disc, because the library will not allow writing into it. After I created my new profile folder, I dragged all my old information into it, and it worked. Firefox closed and the error disappeared. You must be VERY careful to make sure Firefox is closed anytime you are doing anything with the profile folders. I think that is what caused my original problem.

  • Everyone needs to check their Watch List and Forum Settings

    Recently Sun's Java and Developer forums were consolidated into a single, large instance of the Jive forums infrastructure. Some users are no longer getting automatic email notifications on topics they have posted to. If your settings in Developer forums differed from settings in Java forums, then some settings may not be what you expect. Log into any forum, then verify your Forum Settings and Watch List options. In the Forum Profile and Settings, make sure your Watch List Preferances are correct, especially the Email My Watches Updates setting. In Your Watch List, make sure each topic has the Email Updates option set correctly.

    Thanks for the info.
    K

Maybe you are looking for