Need action to save a copy with original file name with suffix

Hi All,
I am using photoshop 7 (yeah its old, but working fine for me for general purposes). The problem is I have got this new task where I have to provide 3 copies of the same image but with different portions of it. I have several images (.jpeg) which I need to crop two parts of the image and save as two new image files. The requirement is that I need the copy images to bear the same name as the original and with a suffix to identify which cropped portion of the image is it. example, original file name is AB1001.jpg (1600x1200), 1st cropped image name to be AB1001_P.jpg (200x250) and the 2nd cropped image name to be AB1001_Q.jpg(100x180). I have around a 180 files, so need to do it in a batch, pls suggest how can it be done.
Any help in this regard is much appreciated.
Regards
Chhuppa Rustam

While a script would probably be best, photoshop 7 requires
you download a scripting plugin which may or may not install
in photoshop 7 depending on your version.
You can probably do what you want with actions. The file naming part
is not hard, but i have a couple of questions about the cropping.
Are all the images the same size and are the crops in the same position for each?
In other words on the P crop (200x250), is the crop in the same position on each
image or different for each?
MTSTUNER

Similar Messages

  • Appending the Original File Name as Suffix to Receiver File Name

    Been searching and I've seen Michael's blog about creating a UDF to place the original file name in the payload.    Since this is a file->file scenario, I have no mapping. 
    I have the Adapter-Specific Attributes turned on on the Sender to pass the file name in the DynamicConfiguration of the message header and I can see it in the message.
    What I want to do it to have a target file name in the form of:   XXXXX_<i>originalfilename</i>.
    So I have turned on variable substitution and created a variable called 'file'.
    In the File Name Scheme Parameter I have entered: XXXXXX_%file%
    If I set the variable substitution refererance for 'file' to message:message_id, my file name is created as XXXXX_message_id,  or any of the other options from -> <a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">SAP Adapter Help Page</a>
    How can I get the value of FileName as the value for my variable %file%?

    > Actually, what I meant was the mapping will not know
    > the value I have entered in the receiver
    > communication channel - File Name Scheme parameter
    > value.   For example in CC for Target System 1  the
    > FNS = FMRECEIVER1, the CC for Target System 2 the FNS
    > = FM_RECEIVER2 and so on.  
    >
    > Are you saying in the mapping I could access the
    > value of FNS from the communication channel in the
    > mapping?   
    No, you cant read in mapping what you set in CC.
    However, you can ignore the parameter FileName scheme in CC and just set it in mapping runtime.
    The way you are using, you'll have to maintain the prefix for each receiver adapter you have. If you had it in mapping, you could just do something like:
    String receiver = container
        .getTransformationParameters().
        .get(StreamTransformationConstants.SENDER_SERVICE);
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        “http://sap.com/xi/XI/System/File”,
        “FileName”);
    String orgFileName = conf.get(key);
    String tgtFileName = receiver + "_" + orgFileName;
    conf.put(key, tgtFileName);
    and then you wouldn't have to maintain the file name scheme in CC.
    Regards,
    Henrique.

  • Problems with replace file name with starting and ending Bates number

    When applying Bates numbers to a set of Acrobat pdf files I am unable to replace file names with the starting and ending Bates number. This is important
    for me in a legal application.
    The Bates numbers are applied to each page of each of file without any problem as required.
    The Bates log file indicates that the files have been renamed as I wanted.
    I am running Adobe Acrobat Professional 9 with the update to 9.1.9 and Windows XP Service Pack 3 (the last or current service pack)
    In all other respects Adobe Acrobat 9 is running to my satisfaction.
    Has anyone else had this problem and found a solution?
    HRKExon

    Thanks for asking the question, I hadn't heard of Bates numbers before and this gave me a chance to look up something new.
    When I googled for ' bates number legal index ' I found this document:
    http://www.adobe.com/devnet/acrobat/pdfs/batesnumbering9.pdf
    Maybe that will help.
    Scott Bonacker CPA
    Springfield, MO

  • Export copy changed original file name & date

    Photoshop Elements 10.
    I received a digital frame for Christmas.  In order to populate the card, I used the Export as new file, but to copy, not to move.  To fit the files, I had the pictures resized, and to simplify the copies, I had the copies renamed.  the card ended up with what I wanted, but I was left with a big surprise.  The originals had also been renamed.  I can live with that, but I'm not happy.  However, the renaming of the files also touched the file dates, so now I have nearly 5,000 pictures from over 12 years all with toady timestamps.
    I notice that the EXIF dates (picture taken on) are all still there.  Is there a way to set the file dates to the EXIF dates?
    Okay - added notes after my shock.    First of all, files names of the originals were not modified; I just choose a poor folder to look at, and those files names happened to start at xxx0001.  My bad.
    And, while all the pictures I exported/copied were touched and their file dates changed,most of them are still correctly dated in the Elements organizer.  It appears that only those real early files, taken with my first digital camera, which did not have a an EXIF date to begin with, have all been shifted in the organizer to the date/time when the export/copy was made.
    So, while nearly 5,000 files have had their dates changed, in the organizer it is only a couple of hundred that have shifted.
    A) why in the world did these shifts happen?
    B) for those with EXIF dates, any suggestion on correction?

    While a script would probably be best, photoshop 7 requires
    you download a scripting plugin which may or may not install
    in photoshop 7 depending on your version.
    You can probably do what you want with actions. The file naming part
    is not hard, but i have a couple of questions about the cropping.
    Are all the images the same size and are the crops in the same position for each?
    In other words on the P crop (200x250), is the crop in the same position on each
    image or different for each?
    MTSTUNER

  • IDOC to multiple file with dynamic file names with same content

    Hi,
    My scenario is from IDOC to file.
    The number of files which i need to create is dynamic, which depends on the number of plants.
    I have a Z-table where i will maintin list of all plants ( non SAP plant names).
    I need to fetch the data from this z-table and depending on the nunber of plants i need to create the file for each plant and fiel name should contain plant name in it. EX: abc_<plant>_datatype.txt
    I want to use only receiver one CC, and files should be created in the same directory.
    Can we do this without BPM?

    Hi,
    You can use the Mapping lookup concept to fetch the plant names from Z-tables and then you can use the variable substitution technique to resolve your purpose.
    Here you need to create multiple interfaces ie.e per plant to create multiple files. You can use common Communication channel for all.
    Mapping Lookup
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
    Mapping Lookups - RFC API
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/frameset.htm
    Variable Substitution
    An interesting usage of Variable Substitution in XI
    /people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
    SP12 -Variable Substitution option
    Receiver File Adapter:Variable substitution :FATAL  ERROR
    Thanks
    Swarup

  • Creating Action to Save a Copy at Ill 8?

    Illustrator v8 is the magic version for nearly all current 3D applications in the world. Anytime I want to import a vector spline into a 3D app, it'll always want it as a v8 Illustrator file.
    I'm trying to create an Action that'll automatically save a copy of my current open document to v8. But Actions doesn't seem to record any of Options panels when saving a file.
    Any ideas how to do this?

    Nope. Seems like the Action recorded the location and name of the dummy file I saved when recording the Action.
    Anytime I play the Action, it saves a copy to that same folder with the same name.

  • I need to know how to copy pictures to a cd with the captions showing, elements 8 and windows 7

    I need to know how to copy
    pictures to a cd with the captions showing, elements 8, windows 7

    Here are some suggestions.  Perhaps others will have even better ideas.
    1 -- for viewing on a Windows computer,  you can experiment with making a PSE Organizer slide show creation in which you specify to show the captions. Then save the Output of the slide show as a WMV file that the recipient could play on a computer with Windows Media Player.
    If you have a DVD burner on your PC, you can also use that WMV file as input to the Windows 7 DVD Maker program for making a TV playable DVD. And if your recipient(s) who will view on a computer have DVD readers, you could make video DVDs playable on computers or TV DVD players instead of using CDs.
    The limitations of this approach are that this wmv file you create is really a video file so
    -- it advances photo slides at the rate specified when you create the slide show
    -- the choices to save a wmv file are not very high resolution so that recipients who have high resolution monitors will not see the photo images are not getting the benefit of seeing the photos at their best
    -- your recipients can't print from this video slide show
    2 An entirely different approach is to
    -- For each individual photo, make a copy of the photo file and depending on how high resolution your originals you might want to resize down to monitor viewing sizes.
    -- Then use the PSE Editor Text Tool to place the caption on a layer above the photo. (I think that you could display the existing caption and then do a copy and paste so that you don't need to retype everything.)
    -- You should save this photo copy with the text as a uniquely named JPEG file. Use the file names to control the sequence in which you want the viewer to see the photos.  (Don't save as a PSD because others probably can't read the PSD format).
    -- Then use your computers CD burning software to burn a folder containing all those jpeg files with the captions to CD
    This approach is a bit of work for each photo and you did not say how many photo files you will be doing. However,
    -- computer users should be able to display  the jpegs as high resolution photos on their computer as well as optionally print from those photo files
    -- many TV DVD players can play (display) jpg files from a CD disc which also gives recipients the opportunity to view the photos on their larger TV screen
    Process 2 may seem complicated but once you get started I think it will be more of a production line.
    ADDITION
    Do you have any portrait orientation photos included with those you wish to send ? If yes, we might need to discuss some additional processing for them.

  • "Could not save a copy because the file is already in use..."

    I have read previous discussions of this issue, but nobody suggested a solution. Sometimes when I use the Save As command to save an open file with the same name as an existing Photoshop file that is not currently open, I get the dreaded message: "Could not save a copy because the file is already in use or was left open."
    When this happens, I have to save my open file using a different filename, then change the name in the Finder after manually deleting the original file with that name. This happened occasionally in Photoshop CS3, and is now happening more frequently in CS4. If no one can offer a solution, can someone please tell me if there is a way to officially submit a bug report? The simple truth is that Photoshop costs way too much for a well-known problem like this one to be hanging around version after version. Adobe really needs to fix this and I'd like to tell them so. Thanks!

    alansky1 wrote:
    Adobe really needs to fix this and I'd like to tell them so.
    I've run into this and I'm convinced it's not Adobe. Whenever I've gotten around the problem it's often something from Apple that got in the way.
    I use a simple workaround when Finder/QuickLook isn't letting go of the file. First use a free utility like TinkerTool or Onyx to turn on the Quit command in the Finder. Whenever the Finder gives you trouble, if closing the Finder window in question doesn't solve it, just do the ol' Command-Q. It's a little faster (and maybe safer?) than force-relaunching the Finder. This usually releases files for me when all else fails; it also often cures the annoying "can't eject the volume because it's in use" messages when you've already quit every program you can find.
    There's the question of why Photoshop and not others; I'm not an engineer but I think the sheer size of Photoshop files is a factor. In one instance I noticed that quicklookd was using a lot of RAM, and QuickLook has been implicated by an earlier post in this thread. It isn't unusual for a Photoshop file to be very large compared to other types of documents. It's possible that when QuickLook hits a large Photoshop file, and it does its normal thing of generating a big preview for it, it could get tied up reading that huge image long enough to block another program. Sometimes it seems like QuickLook just hangs on them. When it happens, you can try looking at Activity Monitor to see if something like QuickLook, Spotlight, or some other program is using an unusual amount of CPU or RAM.
    Apple Mail (at least in 10.5) is another major offender by the way. If you attach a file to Apple Mail it will hang on to it as "open" even after you remove the attachment. Other programs will not be able to write to the file that was attached or formerly attached. Nothing short of quitting Apple Mail will make it let go of the file. You'll notice it when you delete a JPEG, PDF, Word doc (definitely not just Photoshop) attachment because you realize you need to make a change and attach it again. Attempting to export an updated one over the old one is blocked until Apple Mail is quit.
    In my experience I think what Chris says is true.

  • Save As with suggested file name and folder

    I would like the user to be able to press a save button on the pdf and the "Save As dialogue box" pops up pre-populated with a file name and location choosen. The user can then choose to name the file something otherwise or select a new location. I would just like to save them the steps of copying the field data and finding the correct folder (deeply buried on server) however to place the finished document in.
    This doesn't seem to require a trusted function, but how do I suggest the file name based on a field name in the document. And how do I suggest the folder the document should be saved into?
    Thanks in adavance.

    Hi,
    you need a folder level script to use the browseForDoc method.
    http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf#page=10 4

  • Save For Web - saves original file name not new name

    Hello, when I use Save for Web with slice(s) the original file name (appended with the slice number) gets saved even though I have changed the file name in the save dialog. This only happens about 50% of the time. Sometimes it saves as expected - with the new file name. I am using the default settings in the save dialog all the time.
    Stranger is that if I am saving (for Web) say 10 slices some will be named with the original file name and some will be saved with the name I gave it in the save dialog.
    This was happening on my Windows XP sp2 system when I was saving to an Ubuntu server (local network). So when I switched to a new computer running windows 7 and saving to a new server (windows 7 pro) I thought it might fix the problem - but it has not. So there must be a setting I am missing - though that does not account for the intermittency of the problem. I have changed settings under "custom" in the save dialog and things do change except the original file name is persistent not the new name I have given it.
    The PSD files come from a designer using a Mac.
    My system:
    PS 10.01
    Windows 7
    AMD x2 duo 250
    4 gig Ram
    Thank you for any help you may provide
    jim

    I made an action to save large batches to a designated "pics" folder. Then when I'm done with a big batch, I just move them to the original folder and let the OS overwrite them. May seem like a lot of work, but I can do a batch of 500 gallery thumbnails in about four minutes and it takes about 30 seconds to move them and replace the originals.

  • I just order 8 calendars from iPhoto and they came to me fine. Now I need to order two more but when I go thru the process I get a message  saying:unable to assemble calendar. There is a probleme with the photo with the file name"(Null)"   more........ .

    Would someone be able to explain to me the following issue with Iphoto?
    I ordered 8 same calendars for my soccer team and received them fine. Although a couple of pictures on it are a little off (out of focus). I need to order two more of the same calendars but when I go thru the process ireceive an error message saying:
    "Unable to to assemble  calendar" There is a problem with the photo with the file name "(Null)" The full resolution version of this photo either cannot be located or is corrupt. Please replace this photo or delete it from your calendar.
    How can  I fine this "corrupt" photo? How did it go thru with the first batch of calendars but won't go thru now?
    Thank you for your help.   

    Apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start
    with Option #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Why is the version file smaller than the original file, although I didn't make changes in the file? And why is the keywords don't exporting with original files?

    Hi! Why is the version file smaller than the original file, although I didn't make changes in the file? And why is the keywords don't exporting with original files?

    Wild guess: you're using the the wrong export settings. You'll need to tell us more before we can help you - like the export settings you're usng, the size and format of the originals etc.

  • Changed File Name but reverts to original file name when exported or copied

    I created a folder of 150 photos for a video montage and numbered them all by editing the file name. When I export (or copy and paste) the images to a folder on my desktop, the files all revert back to their original file names. Any ideas?

    In iPhoto what you see originally is the file name as the title. Any changes to it remain in iPhoto unless you export out with the appropriate options to either same the title with the file and/or use the title as the file name.
    When you export the photos via the File->Export->File Export menu option there's a File Name drop down menu at the bottom from which you can select Use Title. That will give you the Titles you changed as the new file name.
    OT

  • When I try to save an email attached file, the file name is automatically convertied to "attachment.ashx" although the correct file type is recognized. How do I retain the original file name?

    This problem occurred after the most recent update to firefox 8.0.
    After right clicking on the attached file, I click on save link as.
    The correct file type is recognized. However the file name is converted to "attachment.ashx".
    When I rename the file, it downloads properly and is opened by the appropriate program.
    However, I should not have to rename each downloaded file.
    In particular, this is happening with Word files and with Scientific Notebook (.tex) files.

    Cor-el, thank you for your advice. I was able to navigate to my Profile Folder and I deleted the mimeTypes.rdf file. I then closed Firefox and restarted it. The problem was still there, and I found that the mimeTypes.rdf file had been re-created.
    I tried your second suggestion, but the files you mentioned were not present so there was nothing to reset.
    Any other suggestions?

  • Tethering in Lightroom with MK III - Can't keep original file names

    Hello,
    I am shooting a Canon Mark III to Lightroom 3.3 with RAW 6.3 on OS 10.5.8.  All I want to do is insert custom text in front of the original file name from the camera.  I cannot even seem to get Lightroom to allow the images to maintain the naming from the camera.  The options "filename", "original file number" and "sequence" all rename the files in accordance with Lightroom preferences.  I want to keep the naming from the camera and simply add custom text in addition to it.  I would be pleased to even learn if Lightroom can accept the name from the camera as it does not seem able to do so.  No matter what I select, input, or leave out, Lightroom seems to rename the file in some way or another. 
    The problem with most of the naming conventions in Lightroom is that the numbers seem to reset when the camera gets turned off.  "Sequence" is the only setting that maintains a consistent and ascending count even if the camera is turned off then back on but it still doesn't reflect the camera settings which most photographers prefer to leave on continuous.  While this affords a temporary solution, it does not fix the issue that we would prefer to see the original filename and number that the camera puts out.  I have tested all the filename settings in Lightroom (including inputting nothing) and can't seem to get the actual original camera written filename to show up.  PLEASE HELP!
    It is hard to imagine that any software this powerful, especially from Adobe, could overlook and fail to execute something so crucial and basic as simply not overwriting the file info from the camera.
    Thank you in advance for your help.
    mb

    Hello,
    original file name is only stored in the lightroom catalog file. This means, the original filename is stored in your LR4 catalog! After you upgraded to LR5 you simply have to open the LR4 catalog and LR5 will convert the catalog into an LR5 catalog.
    I hope, you still have an LR4 catalog backup (before you removed all images)? Otherwise original file name is lost.

Maybe you are looking for