File batching - publish in batch of 50

hi
My input file contains 500 records, we can use file batching to publish records in order of one. one record will be transformed at a time and inserted in to the database. if i want to publish records in order of 50, whether while loop is the only way to control the transform activity one at a time. this while loop is decreasing the performance. is it possible to handle this in the XSD schema file. I am using fixed length file as my input. please advice.
Thanks
partha

In xsl you may use a for-each to assign the same mappings for each element in the collection to the elements in the database collection.

Similar Messages

  • Playing MP4 files in published Captivate 6.01

    Help!! I have added an MP4 file (7MB) to a slide using Captivate 6 and it plays fine in preview mode but not when I publish the project. I checked to make sure that I have all of the updates for Captivate installed. I am not using a media server as this is a proof of concept for a potential client and I want to just hand them the zipped file to run. There seems to be a lot of issues around this topic. But, I can't seem to see a resolution to this issue.

    Please remove the mp4 and re insert it.
    Go to Edit > Preferences > Project > SWF Size and Quality, uncheck Advanced Project Compression and Compress SWF File.
    Publish the project and select Flash Player version 10.
    Extract the zip output, paste that mp4 in the folder (if not present in the folder) and then re compress it again.
    Let me know the status
    Thanks
    Vikas

  • HT5071 I'm in the process of publishing my iBook to the iBookstore however when I try to choose the the file to publish I can view it but the file is faded out not allowing me to select it?

    I'm in the process of publishing my iBook to the iBookstore however when I try to choose the the file to publish I can view it but the file is faded out not allowing me to select it?

    Did you use the Publish menu to export an .ibooks fle?
    Check to see if you are trying to mistakenly select an .iba file.

  • Subcribers not sending CDR files to Publisher in the cluster.

    HI,
    We have call manager cluster 8.6 version and there are 5 nodes in the cluster.
    I could see CDR files generated in the subscriber nodes but it is not uploaded publisher node CDR repository .
    I am not seeing any CDR files in Publisher preserve folder.
    2014-05-06 19:43:41,517 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:213) - After failure to send files in the previous attempt. Creating new ftpClient object
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:148) - ftpClient constructor
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:150) - host = 166.98.48.155
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:151) - user = ccmservice
    2014-05-06 19:43:41,517 DEBUG [main] sftpapi.ftpClient (ftpClient.java:153) - localDir = null
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:154) - remoteDir = null
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:155) - secureFTP = true
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:156) - permKey = true
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:157) - Component Name : cdragent
    2014-05-06 19:43:41,518 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:216) - After creating the ftpClient object
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:179) - connect()-->
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.ftpClient (ftpClient.java:182) - connect(): connect for SFTP
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:94) - Inside the SFTPConnection Constructor
    2014-05-06 19:43:41,518 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:364) - checkConnection for Publisher using Key Authentication-->
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:365) - checkConnection: UserName : ccmservice
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:366) - checkConnection: hostname : 166.98.48.155
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:215) - getSshClient-->
    2014-05-06 19:43:41,519 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:272) - getSshConnector-->
    2014-05-06 19:43:41,520 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:227) - SSH Connection object obtained
    2014-05-06 19:43:41,566 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:405) - Trying to authenticate using Private Key File : /home/ccmservice/.ssh/id_dsa
    2014-05-06 19:43:41,576 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:428) - The User is Authenticated. Need to get the SftpClient
    2014-05-06 19:43:41,616 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:432) - SftpClient is obtained Successfully
    2014-05-06 19:43:41,617 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:453) - <--checkConnection for Publisher using Key Authentication
    2014-05-06 19:43:41,617 DEBUG [main] sftpapi.ftpClient (ftpClient.java:194) - The status of checkConnection : true
    2014-05-06 19:43:41,617 DEBUG [main] sftpapi.ftpClient (ftpClient.java:217) - connect():Successfully connect to 166.98.48.155
    2014-05-06 19:43:41,617 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:224) - After attempt to get ftpClient connection
    2014-05-06 19:43:41,617 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:237) - Sleeping for 60 seconds
    2014-05-06 19:44:41,628 INFO  [main] cdragent.cdrAgent (cdrAgent.java:199) - waking up
    2014-05-06 19:44:41,628 INFO  [main] cdragent.cdrAgent (cdrAgent.java:384) - handleCDRFiles -->
    2014-05-06 19:44:41,663 INFO  [main] cdragent.cdrAgent (cdrAgent.java:285) - At the moment, # of files ready to be transfered to Publisher is 14011
    2014-05-06 19:44:41,763 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:426) - sendFile(): Try bldSendFileCmds
    2014-05-06 19:44:41,763 DEBUG [main] cdragent.cdrAgent (cdrAgent.java:430) - FtpManager - sendFile() : The Parent directory of the remote directory send the files : /var/log/active/cm/cdr_repository/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:849) - bldSendFileCmds(): -->
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:862) - bldSendFileCmds(): - no need to build command file
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:863) - local directory: /var/log/active/cm/cdr/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:864) - remote directory: /var/log/active/cm/cdr_repository/trans/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:865) - final remote directory: /var/log/active/cm/cdr_repository/tmp/
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:867) - file: cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,764 DEBUG [main] sftpapi.ftpClient (ftpClient.java:869) - bldSendFileCmds(): return <--
    2014-05-06 19:44:41,764 DEBUG [main] cdrrep.Util (Util.java:102) - checkJVMFreeMemory(): -->
    2014-05-06 19:44:41,764 DEBUG [main] cdrrep.Util (Util.java:158) - checkJVMFreeMemory(): <--
    2014-05-06 19:44:41,764 INFO  [main] cdragent.cdrAgent (cdrAgent.java:433) - CDRAgent before sending the file: JVM status: [Max = 227.56MB, Total = 58.44MB, Free = 48.29MB (82.64%), Used = 10.15MB (17.36%)]
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:499) - sendFiles(): -->
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:510) - sendFiles(): file to send = /var/log/active/cm/cdr/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:511) - sendFiles(): remoteDirectory = /var/log/active/cm/cdr_repository/trans/
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:518) - sendFiles():remoteDirectoryFinal(NOT NULL)=/var/log/active/cm/cdr_repository/tmp/
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:519) - sendFiles():remoteFilePathFinal=/var/log/active/cm/cdr_repository/tmp/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:521) - sendFiles(): localFilePath = /var/log/active/cm/cdr/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:522) - sendFiles(): remoteFilePath = /var/log/active/cm/cdr_repository/trans/cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.ftpClient (ftpClient.java:526) - sendFiles(): uploadFile
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:163) - sendFileThroughSFTP -->
    2014-05-06 19:44:41,765 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:174) - Running put command to copy the file
    2014-05-06 19:44:41,767 ERROR [main] sftpapi.SFTPConnection (SFTPConnection.java:194) - Sftp Status Exception : com.maverick.sftp.SftpStatusException: Permission denied.: Permission denied
    2014-05-06 19:44:41,768 DEBUG [main] sftpapi.ftpClient (ftpClient.java:538) - Sftp Status Exception
    2014-05-06 19:44:41,768 ERROR [main] sftpapi.ftpClient (ftpClient.java:539) - SFTP error in transferring file to another machine.
    2014-05-06 19:44:41,768 ERROR [main] sftpapi.ftpClient (ftpClient.java:540) - com.maverick.sftp.SftpStatusException: Permission denied.: Permission denied
    2014-05-06 19:44:41,768 ERROR [main] sftpapi.ftpClient (ftpClient.java:559) - Exception while sending files: com.maverick.sftp.SftpStatusException: Permission denied.: Permission denied
    2014-05-06 19:44:41,768 DEBUG [main] cdrrep.Util (Util.java:102) - checkJVMFreeMemory(): -->
    2014-05-06 19:44:41,768 DEBUG [main] cdrrep.Util (Util.java:158) - checkJVMFreeMemory(): <--
    2014-05-06 19:44:41,768 INFO  [main] cdragent.cdrAgent (cdrAgent.java:443) - CDRAgent after sending the file: JVM status: [Max = 227.56MB, Total = 58.44MB, Free = 47.77MB (81.74%), Used = 10.67MB (18.26%)]
    2014-05-06 19:44:41,768 ERROR [main] cdragent.cdrAgent (cdrAgent.java:509) - sftp failed for file cdr_Dublin_03_201404250000_140996
    2014-05-06 19:44:41,768 ERROR [main] cdragent.cdrAgent (cdrAgent.java:519) - Alarm: Unable to successfully send file to repository node.
    2014-05-06 19:44:41,768 INFO  [main] cdragent.cdrAgent (cdrAgent.java:548) - raising alarm CDRAgentSendFileFailureContinues
    2014-05-06 19:44:41,769 INFO  [main] alarmInf.AlarmSender (AlarmSender.java:107) - alarmName: CDRAgentSendFileFailureContinues
    2014-05-06 19:44:41,769 DEBUG [main] alarmInf.AlarmSender (AlarmSender.java:113) - paramName[0] = CDRRepositoryNodeAddress -> paramValue[0] = 166.98.48.155
    2014-05-06 19:44:41,769 DEBUG [main] alarmInf.AlarmSender (AlarmSender.java:113) - paramName[1] = CDRAgentNodeAddress -> paramValue[1] = DUB2IPTCCMPIN22/166.98.48.157
    2014-05-06 19:44:41,769 DEBUG [main] alarmInf.AlarmSender (AlarmSender.java:119) - sendAlarm ...
    2014-05-06 19:44:41,769 INFO  [main] cdragent.cdrAgent (cdrAgent.java:575) - <-- handleCDRFiles
    2014-05-06 19:44:41,769 DEBUG [main] sftpapi.ftpClient (ftpClient.java:283) - disconnect(): <-ftpClient->
    2014-05-06 19:44:41,769 DEBUG [main] sftpapi.ftpClient (ftpClient.java:287) - disconnect(): SFTP Connection -->
    2014-05-06 19:44:41,769 DEBUG [main] sftpapi.SFTPConnection (SFTPConnection.java:492) - disconnect(): SFTP Connection -->

    Could you please check with TAC whether your CUCM version is also affected by the bug CSCsz99841 as I see "ccmservice" user in your logs too?
    Description
    Symptom:
    Cluster Manager will update ccmservice user SSH security keys whenever a new node is added or removed from the cluster
    Conditions:
    CDR Agent cannot send CDR files from sub to pub using sftp.
    This is because SFTP is initiating a connection using the user 'ccmservice'
    Workaround:
    i) Stop CDR Agent service on Call Processing Node
    ii) Gain root access via remote access support account. And then
    Copy over the authorized keys in the specific user's SSH directory:
    /home/sftpuser/.ssh/authorized_keys file to
    /home/ccmservice/.ssh/authorized_keys
    Root CLI command:
    cp /home/sftpuser/.ssh/authorized_keys /home/ccmservice/.ssh/authorized_keys
    iii) Start CDR Agent service on Call Processing Node.
    Further Problem Description:
    This was caused by changes that were made to tighten up file permissions around the CUCM file structure

  • Do I not get the "open file after publishing" checkbox with the trial version?

    I owned the Adobe Acrobat 8 Professional version on my pc, and recently bought a Mac. Do I not have the option to "Open file after publishing" checkbox with the trial version? Do I have to repurchase the whole program to get that?

    uninstall.
    download from prodesigntools.com.
    if you follow all 7 steps you can directly download a trial here:  New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • Why is rename files at publish still not working properly?

    LR5.5 renames only a few of all files when publishing to hard drive and in a strange way...
    26 files, LR renames 9 of them...
    xxxx_xxx-1.jpg
    xxxx_xxx-1-1.jpg
    xxxx_xxx-2.jpg
    xxxx_xxx-2-2.jpg
    xxxx_xxx-3.jpg
    xxxx_xxx-4.jpg
    xxxx_xxx-5.jpg
    xxxx_xxx-6.jpg
    xxxx_xxx-7.jpg
    _DSCxxxx.jpg
    I read that this issue already existed in 2011... Still not fixed... How HARD can it be???

    Maybe because some people are more interested in being right than in providing solutions?

  • How to ignore diagnostic files when publishing cloud service

    Hello.
    when i am publishing a webRole,
    process is failed because the values in the diagnostic configuration file do not match the Production profile.
    the diagnostic file is for our dev env only.
    is there a flag/attribute that can be used to ignore the diagnostic files when publishing with a specific profile ?  
    Thanks.

    Hi,
    According to your description, you question is related to Web role. I recommend you to ask in the forum below for professional assistance as the members in the Web role would be more familiar with publishing web roles:
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsazuredevelopment
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Replace one file in Published package

    Hi,
    I need to replace one file in published Appv Package.
    Please suggest the most appropriate way/s to accomplish that without disturbing users.
    Do I have to edit the package in sequencer and then update it in AppvMan?
    Or simpler way...?
    Please provide step by step. Don't have time to test and fine the right way.
    So need advice.
    Thx.
    --- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

    The new package will already be enabled but once you're satisfied that the test is successful you can then provide your users with access to the new package. The next time their App-V client syncs it should publish the new package and become available to them. 
    You get the "Copy access and configuration settings" option when you're adding the upgraded package to the Management Console because it will detect a package with the same package ID on the server.
    You're correct to conclude that the new version of the package won't be available (if you don't check that option when adding the new version) until you edit AD access in the package settings (also on the Management console) and add the AD group containing
    all the users you don't want to disturb.
    I certainly wouldn't use the word "independent" for the new package as it will supersede the existing package. If you wanted the option of having both versions available simultaneously, you could do a "Save a new package" in the Sequencer
    once you've made your file changes which would give you a new Package ID. 
    Hope that all makes sense. It's easier when you can see the consoles and options yourself.

  • File Batching in OSB

    Hi ,
    I have a requirement in OSB project where I need to merge files before sending it to target application.
    For some reason we prefer not to maintain either queue/directory/file server to save incoming files.
    Target application will poll the final merged file from the queue which is placed at the end of the process where we store all the files for Target system.
    Can some one please suggest me the best and clean way to deal with this situation?
    Thanks,
    Harika.

    I have a Scenario like this OSB should insert in the table and and SOA should update in the same table
    I have 2 database tables "main" table has columns (rid,rname) and the "reporting" table has id,message,updatemesage
    I used file adapter JCA to create a Proxy Service and created a BPEL One way process in SOA to insert the data in the database "main" table in batches
    Using that BPEL Endpoint URI WSDL, i created a business service and that business service is used in publish to insert the data in the database "main" table
    and used a Database adapter JCA to create a business service and using publish i need to insert id,message in "reporting" table and i need to update"reporting" table last column using BPEL the last column is "update message"
    I completed till inserting the id,message in "reporting" table using OSB and stuck up how to update the same "reporting' table column from SOA(not from OSB)
    Can anyone help me out--->its urgent

  • File batching in SOA 11g for records which has parent-child relation

    Hi,
    We have a requirement to read a huge file and process to DB. We use AIA and Syncread operation to read the file.
    Huge file with more than 40K lines are getting Transaction timeout and current transactiontimeout was set to 5 min in Server.
    I would like to know the option to batch / chunk the records without increasing the transaction timeout setting in Server.
    Input File is a fixed length file has a Header and Trailor. SubHeader lines do not have any count like how many lines are associated with it. Only option to relate DetailLine with its subheader is some Reference number.
    Schema used is native schema builder and the file has structure like below.
    10 123123 123 -- Header
    20 10 *123* 123 -- SubHeader1
    20 20 *123* 456 -- Detail1
    20 20 *123* 789 -- Detail2
    20 20 *123* 890 -- Detail3
    20 10 *234* 567 --SubHeader2
    20 20 *234* 789 --Detail1
    20 20 *234* 741 --Detail2
    90 9 123321 --Trailor
    Regards,
    Dheepika.K

    Hi,
    Thanks for your reply. I just emailed the screen shot to your email . Please verify and let me know your comment.
    Regards,
    Kiran Konjeti

  • Add a Cue marker to 500 files (batch)

    Hello,
    I want to add a Cue marker (at 00:00:00.200,   ie after 200 milliseconds) on 500 .wav files,  with Adobe Audition.
    How can I do this in batch processing ?
    Thanks!
    PS : I use both Audition and Soundforge. Do you know if there is an official forum for SoundForge where lots of users are ? (similar to this forum here!). I tried with SoundForge, but impossible : The BATCH PROCESSING option doesn't propose Marker edition.    Does it exist with Audition ?

    I haven't tried this, but if it's possible at all it will be by creating a favourite that adds a marker to a file, and nothing else, and using this favourite as part of the batch process.
    But like I said - I have no idea whether this will work or not. What I do know though is that it's the only option you've got within Audition.for doing anything like this. Cuelisttool, the other option I wondered about, won't do this as it stands either - but you could try emailing its creator and asking him whether he could add it as a feature, as it sounds potentially useful.

  • File Batch Rename Errors

    I am renaming a lot of files using Bridge Batch Rename and get errors on some of the files.  I have a Windows 7 Professional 64 bit computer running Photoshop CS6.  Bridge version is 5.0.1.23 x64.  I am renaming files using this format - YYYYMMDD-HHMM-XXX-D700, where XXX is a sequence number.  I select an entire folder of images, set the sequence number to 1 and click "Rename".  Most work correctly, but in a few cases I will get several images where the Date and Time number are incorrect.  I know the YYYY is incorrect, but have not looked in enough detail on the other numbers.  I may get 2010 instead of 2007.  If I select these again and Rename I get the correct name. 
    These are NEF files with sidecar files. 
    I will pay more attention to the errors and supply more detail - I have a lot more to rename. 
    Anyone else experience these type errors?

    A card reader was used to copy the NEF file to a folder on the computer.  They were initially renamed using the Batch command in Bridge of Photoshop CS5 using the format YYYYMMDD-XXX-D700, where XXX is a sequence number.  Files were in date order when renamed.  I did not experience any problems with these renames, I only renamed the NEF files.  I also copied the jpg files from the camera, but did not rename them.  I processed the NEF files using Adobe Camera RAW and generated jpg files. 
    I decided to modify the name to allow mixing images from multiple cameras and have them sort in the correct order by date and time shot.  I selected the renamed NEF files in Bridge (Photoshop CS6 now), modified the name to YYYYMMDD-HHMM-XXX-D700 and clicked the rename button.  The sequence number was assigned based on the file order, but the YYYYMMDD and HHMM values were incorrect on a few files.  The incorrect file names were all the same for the YYYYMMDD and HHMM values, sequence numbers were correct, incorrect named files were in sequence order (a group of adjacent files).  The correct YYYYMMDD was 20080630, but the incorrect value was 20100222 and incorrect HHMM was 2042.  The incorrect named files appeared at the end of the list since the date was 2010 instead of 2008, but they had the correct sequence number.  I selected the group of incorrect named files, set the sequence number to the correct value for the first file, clicked rename and they were named correctly.  The number of incorrect named files varies - 5 of 64, 3 of 77, 6 of 59, 12 of 88, 1 of 434.  All of these files have sidecar files since they were processed using Adobe Camera RAW and these files are in the same folder.  The sidecar files are named the same as the NEF file. 
    I also renamed the JPG files that were generated from Adobe Camera RAW and did not experience any problems with names in these files to date. 
    I also tried using Photoshop CS5 Bridge to rename the a group of NEF files and get the same problem. 

  • Raw files & batch resizing

    Photoshop CS2 & CS3 will not open my NEF raw files {Nikon D300}.  Both versions have always opened my raw files.  Also, CS3 locks up when I batch resize jpgs.

    Out of curiosity, are the images remaining open in Photoshop as the batch is processing them, or are they closing one by one?
    If the former, you may just be overwhelming Photoshop CS3's abilities to maintain many open documents.  You might be able to correct that by adding a document close operation in the action you're batching.
    Another thought is this:  Recent versions come with a script called Image Processor, which sounds like it can do what you want.  What I don't remember is whether Photoshop CS3 had Image Processor.
    If this kind of work is common for you, and especially if you're seeing things break when trying to process a lot of data, you should consider upgrading your computer, your operating system, and your Photoshop to modern 64 bit standards.  All these things have made great strides in power and reliability in the last decade since 32 bit computers with only a few gigabytes of RAM and Photoshop CS3 were current.
    Another possibility, if you're not wanting to go down that road right away, might be to use another tool to do your resizing.  As one example, the free program IrfanView (for PC) can easily be set up to extract raw file preview JPEGs and to do batch resizing and format conversions.
    -Noel

  • XMP files batch reset?

    Hi all, a friend of mine is a photojournalist and is having an emergency.  He's telling me that the XMP files for all the RAWs he edited of a particular story have somehow been batch reset, so his edits are gone and he has no idea how this could have happened.  Is there any way this is possible?  Please help!

    Did he copy the images from one drive to another? Depending on the preferences set in Camera Raw: to save xm edits in the ACR database or in sidecar files, the chance of loosing edits exist if you have the prefs set to save in the ACR database and then move tose to a new computer.
    Ih he had the prefs set to the ACR database, he should be able to open ACR and change the the prefs to save in an external .xmp file. The key will be to select all the images and make some really, really minor change in ACR (like a +1 Hue or Sat adjustment then click done in ACR. That should force the writting of all the settings to a new .xmp file. He could even go back and change the setting back and re-click done to undo the temp change.
    After that, as long as the raw files and .xmp files are both copied to a new drive/computer then he settings should be retained.

  • Ok, my problem....merging two unique files batch Process

    Ok, my problem....I have been deconstructing films, so I have thousands of picture files for batch processing in Photoshop (Resizing etc) What I would like to do is batch merge two or maybe three lots of deconstructed film footage image files from different sources, one as a background film image file and one as the forground film image file layer, thousands of images all at once, after they have been processed first in photoshop, so I have seperate folders with the image files in each folder, they need to be combined in sequence as I want the image/frame numbers to match up in each folder, then combined to non merged layers and saved into another folder, I want non merged layers, so I can use an action later to balance the overlay. I know premiere and After Effects could maybe do this, but I am looking for a different kind of effect.....thanks 

    This might help, but very probably one of the more experienced Scripters has a Script (possibly with a more comfortable interface or more features) for that, too:
    #target photoshop
    // dialog for folder-selection;
    var theFolderOne = Folder.selectDialog ("select a folder containing the backgoround images");
    var theFolderTwo = Folder.selectDialog ("select a folder containing the foreground images");
    var theFolderThree = Folder.selectDialog ("select a folder to save the combined images to");
    if (theFolderOne && theFolderTwo && theFolderThree) {
    var theFilesOne = theFolderOne.getFiles(checkFor);
    var theFilesTwo = theFolderTwo.getFiles(checkFor);
    // check if both folders contain the same number of files;
    if (theFilesOne.length != theFilesTwo.length) {
    alert ("the folders don’t contain the same number of images")
    // else do the stuff;
    else {
    // create the psd-options;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = false;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // run through the files;
    for (var a  = 0; a < theFilesOne.length; a++) {
    // open background-image;
    var theFile = app.open(File(theFilesOne[a]));
    theFile.activeLayer = theFile.layers[0];
    // place foreground-image;
    var idPlc = charIDToTypeID( "Plc " );
    var desc6 = new ActionDescriptor();
    var idAs = charIDToTypeID( "As  " );
    var desc7 = new ActionDescriptor();
    var idfsel = charIDToTypeID( "fsel" );
    var idpdfSelection = stringIDToTypeID( "pdfSelection" );
    var idpage = stringIDToTypeID( "page" );
    desc7.putEnumerated( idfsel, idpdfSelection, idpage );
    var idPgNm = charIDToTypeID( "PgNm" );
    desc7.putInteger( idPgNm, 1 );
    var idCrop = charIDToTypeID( "Crop" );
    var idcropTo = stringIDToTypeID( "cropTo" );
    var idboundingBox = stringIDToTypeID( "boundingBox" );
    desc7.putEnumerated( idCrop, idcropTo, idboundingBox );
    var idPDFG = charIDToTypeID( "PDFG" );
    desc6.putObject( idAs, idPDFG, desc7 );
    var idnull = charIDToTypeID( "null" );
    desc6.putPath( idnull, new File( theFilesTwo[a] ) );
    var idFTcs = charIDToTypeID( "FTcs" );
    var idQCSt = charIDToTypeID( "QCSt" );
    var idQcsa = charIDToTypeID( "Qcsa" );
    desc6.putEnumerated( idFTcs, idQCSt, idQcsa );
    var idOfst = charIDToTypeID( "Ofst" );
    var desc8 = new ActionDescriptor();
    var idHrzn = charIDToTypeID( "Hrzn" );
    var idRlt = charIDToTypeID( "#Rlt" );
    desc8.putUnitDouble( idHrzn, idRlt, 0.000000 );
    var idVrtc = charIDToTypeID( "Vrtc" );
    var idRlt = charIDToTypeID( "#Rlt" );
    desc8.putUnitDouble( idVrtc, idRlt, 0.000000 );
    var idOfst = charIDToTypeID( "Ofst" );
    desc6.putObject( idOfst, idOfst, desc8 );
    var idAntA = charIDToTypeID( "AntA" );
    desc6.putBoolean( idAntA, true );
    executeAction( idPlc, desc6, DialogModes.NO );
    // save the combined files;
    theFile.saveAs(new File (theFolderThree + "/file" + bufferNumberWithZeros((a + 1), 4) ), psdOpts)
    theFile.close(SaveOptions.DONOTSAVECHANGES)
    ////// check for psd, tif or jpg //////
    function checkFor (theFile) {
    if (theFile.name.slice(-4) == ".psd" || theFile.name.slice(-4) == ".tif" || theFile.name.slice(-4) == ".jpg") {return true}
    else {return false}
    ////// buffer number with zeros //////
    function bufferNumberWithZeros (number, places) {
    var theNumberString = String(number);
    for (var o = 0; o < (places - String(number).length); o++) {
    theNumberString = String("0" + theNumberString)
    return theNumberString

Maybe you are looking for

  • Can't upgrade Macbook Pro to OSX Yosemite

    Hi - I've been trying to update my MacBook Pro Mid 2009 to OSX Yosemite.  After dowloading and running the installer, it goes through the process of preparing the installation, closing all programs and preparing to restart. Then I get this error. I'v

  • Itunes will open upon startup of windows vista 64, but if closed, it will not open and i must restart my computer.

    Itunes will open initially upon start up of windows vista, but if closes, it will not open up again. I have backed up all itune media files, i have uninstalled and reinstalled all apple products needed to operate I tunes according to apple, any sugge

  • Password should not expire

    Hi, I have profile. its having PASSWORD_LIFE_TIME 90 days, same profile is assigned to all other users. I want to change the password life time unlimited for only one user. Please advise me. Thanks... Bakser

  • Problem with a tab leader

    Got a strange thing going on with a tab leader and wondering if anyone else has come across this. I have a right tab followed by a left tab with a leader.  I'm using this for something similar to what you see on film credits where a role is aligned a

  • Can't view most folders in icon view, it just crashes.

    When I try to do icon view in most folders, finder freezes and restarts. But the strange thing is that icon view works in most sections of my home folder. http://www.youtube.com/watch?v=DjyHbiO_cY4