Retaining original filenames in Save For Web droplet

Automation from LR to PS is going groovy, but,
The output files are all being renamed by the 'save for web' dialogue box to the filename saved inside the action that the droplet points to..
So file #1 is saved ok,
File #2 renamed as file #1 and replaces/overwrites original file #1..
I have added a sequence 4 digit number to the file name in the droplet creation dialogue box but the final file rename happens after this in the final process of 'Save for Web' export..
This is what I want to do.. Ideally..
LR Raw file edited to taste,
Export as watermarked TIF to PS
Action a high pass filter,
Export through Save for Web @ 1200px long - 75% quality
Close TIF without saving.
Es possible?

Hi JJ,
Nope, I didn't change any names.. or do you mean I automatically/inadvertantly change the name when recording the 'save for web' step?
In your image above, mine looks similar but the filename is that of the file I need to have open in need to record an action..
In my case, using your example, all my exported files would be renamed 'webnamed.jpg'
and overwrite each export one by one...
What is it I'm not getting??? !!
How can you record an action without an open file, that the 'action record process' records THAT filename and makes it sticky in the action..
Sorry to come across as really blonde here but I'm just not getting it..
Here's what mine says..

Similar Messages

  • Filenames getting truncated in Save for Web AppleScript

    Hey all, running CS4 on an Apple Macbook Pro (using OS X 10.5.6). I am creating an AppleScript that saves out a number of files with different filenames using save for web. The problem is that Photoshop CS4 is truncating the filename, and using a shorter filename is not an option (there is identifying info in the filename that I need to retain). Is there a way within the script I can set it to allow longer filenames? My current save for the web script line looks as follows:
    export current document in file filename as save for web with options {quality:60, web format:JPEG}
    What happens is that a filename like this:
    CANON-PRO8000MKII-ideal-ideal-24.jpg
    gets cut down to this:
    CANON-PRO8000MKII-ideal-ideal#0
    I believe that there there is a PShop bug here that has a hard-coded limit on the filename, but which does not happen if you enter  the file name manually: if I go into the save for web dialog and enter the full filename, it works fine.  Any ideas?

    I recall having this problem too, my solution was to truncate the file name in the script prior to the save, then rename the saved file.
    e.g.
    if length of theNewFileName > 31 then
    set theTempFileName to theNewFileName
    set theNewFileName to (text 1 through (31 - (length of theFileExtension) - 1) of theNewFileName & "." & theFileExtension) as string
    end if
    set theNewFile to (saveToFolder & theNewFileName) as string
    -- Save the file here
    if theTempFileName = "" then
    -- File name wasn't truncated
    else
    -- Rename truncated file
    tell application "Finder"
    try
    set name of (theNewFile as alias) to theTempFileName
    on error errMsg number ERRNUM
    display dialog "Error renaming file - " & errMsg
    end try
    end tell
    end if

  • Color management in Save for Web not working

    The Save for Web dialog box in the CS6 Beta is ignoring color profiles, so color is not managed. This has not been a problem in previous versions.

    The saved output is just fine. I was referring to the images in the Save for Web dialogue
    I just checked my settings. CS6 apparently changed my Preview setting from "Use Document Profile" to "Monitor Color." It also changed my Metadata setting. It should not do that!
    Restoring the correct Preview setting solved the color management problem, but ONLY for the Preview image. The Original image is still not color managed.
    I'm on a wide-gamut monitor, so sRGB images come out looking garish if there's no color profile embedded or it's ignored. That's what's happening here with the Original image in Save for Web. I imported an sRGB image with profile embedded, and it looks just fine in Photoshop while editing. Then I went to Save for Web, with the settings Embed Color Profile, Convert to sRGB, and Preview: Use Document Profile. The JPEG preview too looks just fine with these settings, but the Original looks garish, showing a lack of color management. The color in the two views is showing as completely different, though they both represent the same image with the same color profile embedded.
    Going back to CS5, the same image is properly color managed in both Original and Preview. Both images show identical color, as they should.

  • Adobe Save for Web and Devices Error

    I had a problem with Save for Web and Devices in Photoshop CS4 - and am posting the solution for anyone else that might encounter this (posted previously for Mac but not Windows). This problem suddenly occurred - and I'm not sure why. I had the most updated Photoshop CS4 version: 11.0.2.
    Issue: When I tried to overwrite an existing image using Save for Web and Devices, I received an "Adobe Save for Web & Devices Error": "Could not write the file. A file system error has occurred"
    This error prevented any file (originally created using Save for Web &Devices) from being saved again with the same name. I figured out the solution by finding the resolution for Mac Photoshop and adapting it for the PC version. The solution for me was to delete the following files:  "Default Settings.iros" and "Recently Used Optimizations.irs" (the only two files present) in the following directory:
    C:\Documents and Settings\[user profile name]\Application Data\Adobe\Adobe Illustrator CS4 Settings\en_US\Save for Web Settings\
    Note that there were other sub-directories of the "Save for Web Settings" folder - I didn't touch any of those. The problem is now resolved and Photoshop seems to function normally.

    Honestly, I haven't had problems with reading/writing files to/from network drives, but I have read on this forum that there are times when it causes problems for people.
    And yes, if you used the command line NET USE (or the Explorer Map Network Drive) function to create the drive, it is actually using Windows Networking behind the scenes.
    -Noel

  • In Photoshop CS6, Save for Web strips out my filename after a period "." character

    I have a file named label-1.5oz.psd.  In Photoshop CS6 when I use "Save for Web" to save it as a JPG, it only wants to save a part of the filename: label-1.jpg
    I strips out everything after the period "." character.  I know it's incorrectly thinking that's a file extension.
    Any ideas how I can fix this?  Any settings I should tweak?  I'd really love for it to save the full filename without requiring me to retype the last part every time.
    Thanks in advance for any help!

    Oh if only it were that easy...  Unfortunately, they have to be cropped and resized, converting over from a print catalog where much of that work was originally done in InDesign, and now have to convert each individual image to make the web site look like the catalog...  but thanks for the suggestion, have already tried to automate what I could..  But much of this is going to be hands on...  getting my familiar quick keys to function correctly would help greatly.

  • 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.

  • Save for web filename problems

    I'm using a script to export layers to PNGs - but the filenames are getting screwed up.
    Here's the export function:
    function saveForWebPNG(name){
    var docName = activeDocument.name;
    docName = docName.slice(0,-4);
    toWhere = new File(fullPath+"/"+docName+name+".png");
    var opts = new ExportOptionsSaveForWeb();
    opts.format = SaveDocumentType.PNG;
    opts.PNG8 = false;
    opts.transparency = true;
    opts.interlaced = false;
    opts.quality = 100;
    activeDocument.exportDocument(toWhere, ExportType.SAVEFORWEB, opts);
    I end up with things like this:
    _generic_filter_failed_disabl#0
    when it should be:
    _generic_filter_failed_disabled.png
    I have a feeling this might be to do with the settings trying to limit it to 32 characters (so they're unix compatible) - but if I change the settings in the Save for web dialog it makes no difference.
    TIA,
    James

    > I have a feeling this might be to do with the settings trying to limit it to 32 characters
    Yep. It's a hard limit on either the Mac or XP. You may be able to create
    filenames with more than 32 characters, but only the first 32 are significant.
    Back in the earlier MS-DOS days it was far worse.
    >(so they're unix compatible)
    Not a unix problem. You're filenames can be incredibly long on unix.
    >- but if I change the settings in the Save for web dialog it makes no difference.
    I really don't know what that setting controls. I thought it was more like the
    character set or encoding of the filenames. Let me know if you figure it out.
    -X
    for photoshop scripting solutions of all sorts
    contact: [email protected]

  • Original file turns modified after "Save for Web-"

    Hi everyone!
    I'm with a little question.
    What happens to the edited file after saving its copy using the “Save for Web…” command? Why the original, unmodified file turns into “changed” (with * symbol after its name)?
    P. S. The same behaviour is in the Illustrator.

    It's because the original file did get changed, because the Save for Web settings were changed. Photoshop saves most Save for Web settings so that the next time you use Save for Web, you don't have to set all the options from scratch.
    I tested this by opening a file and using Save for Web without changing any settings, and that time the original document did not ask me to save before closing.

  • Make Save for Web overwrite original file

    Hi,
    Has anyone come across a way to make the "Save For Web" function overwrite the existing file rather than export a new one.
    There are a few workarounds I've found but all involve manually finding the original file and saving over it – which is cumbersome in the system I'm using.
    Thanks in advance for any help on this.

    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.

  • Save for web not overwriting original files in cs6

    It doesn't always happen but when I use save for web to save an image it goes through all the motions as normal but when I go to view the image, I find that it hasn't overwritten the original file. Has anyone else experienced this, it has happened to other people in the studio too so it might be something to do with our setup?

    Are you on a mac? If you have a finder window open of the file you are trying to overwrite (or the file is open somewhere else), and it is selected in that window with the preview showing, Save For Web does not overwrite it as it's technically "In Use". Either close the window or deselect the item. This seems to happen to me more when the file is on a server but can also happen on the local disk. I am now in the habit of saving as filename_1 and then renaming them afterwards.
    I would imagine you would get a similar story on a Windows machine but I have no way of testing this.

  • How to save for web AND overwrite original files with Action?

    Hello,
    I want to compress a batch of images with "save for web" using a Photoshop Action, and I also want to preserve my folder structure and overwrite source files. The structure is important because it's complex and needs to be structured this way.
    The Problem:
    When I choose "save for web", I must define a destination. What happens is all optimized files from within the structure are saved in a single location.
    Here's an example of the folder structure
    Folder A
         - Subfolder A1
         - Subfolder A2
    Folder B
         - Subfolder B1
         - Subfolder B2
              -Subfolder B2.2
    Folder C
         -Subfolder C1
    Summary
    Is it possible for me to use a Photoshop Action with "save for web", and overwrite my files without moving them from the structure?

    No need to re-invent the wheel.
    Just learn how to use the Image Processor, Image Processor Pro, or Dr. Brown's Services 1-2-3 in Photoshop and/or Bridge.

  • Gif becomes grainy/pixelated in 'Save For Web'

    Hello! I recently switched laptops and I have been having major issues trying to regain the quality gifs I used to make. After I have my gif set to go, I go to save it in 'Save For Web'. This is where all of my problems start. My gif no longer looks smooth, but the entire thing has a grainy or pixelated look -- and it doesn't change no matter how I fiddle with my settings. When switching from the 'original' to the 'optimized' tab in the save for web page, you can obviously see a loss of quality. It may be slight, but it makes a huge difference to me.
    Here's a side by side reference:
    Not sure if it will help, but here are my settings when saving (I have changed from 'pattern' to 'diffusion' and nothing changes):
    Thank you for any help you can provide!

    First, JJMack is correct: lots of colours (around 32100) in this example do make it harder to convert without grain.
    Second, the quality of the GIFs you produced in Save for Web (SfW) prior to the purchase of the new laptop were never any "better" - it merely means that the previous screen was unable to display the results at a decent enough quality to actually discern the differences between the original and the GIF version with reduced colours. Screen quality does matter.
    Second, Photoshop's Save for Web colour reduction algorithms are quite old-fashioned, and (far) better methods are available. Not in Photoshop, however. For a good conversion you will have to look elsewhere.
    Here is the original version @2x zoom (32101 colours):
    Photoshop's version. The best visual quality I could achieve in SfW (diffusion dither at 81%, perceptual). Obvious banding issues, and a very grainy result.
    Next up: RIOT (Radical Image Optimization Tool). RIOT features a newer "NeuQuant neural-net" colour quantization algorithm. Notice how the gradients are quite nicely retained, although here and there some issues pop up (lips/makeup, building, arm highlight, and greenery are missing colour). Overall, though, the final result is much less grainy looking than Photoshop's effort. At the expense of smaller areas with unique colours.
    Next, let's try Color Quantizer with standard settings,  a two factor gradient priority, and 256 colours. Dithering was set to Shiau-Fan @75%. Slight banding in the lighter areas of the background, and the building and lips are again missing colours from the original. Much less grainy than Photoshop's version.
    Colour Quantizer features a quality mask brush, which allows us to safeguard smaller areas with unique colours from colour degradation. I painted a mask for the lips, the building and greenery in the background, the skin of the woman on the right in the background, the lighter area around the vent, and the forehead to preserve those areas' quality as much as possible.
    I feel this result speaks for itself. There is slight banding visible in the lighter area of the wall on the right, but still much less pronounced compared to SfW's version. The colours are all there, especially the important ones for the makeup and the smooth facial tones of Kate. The shoulder's highlight is also preserved nicely. Even the woman on the right in the background looks spot on (which was yet another sore point in SfW's version).
    Arguably the best version. Far superior to Photoshop's failed effort.
    Fourth, if you are still using GIF to optimize still images: STOP NOW. GIF is terrible in comparison to properly optimized and compressed PNG files. Only use GIF when small animated movies are your goal.
    Here is a 512 colour version produced in Color Quantizer (Photoshop's SfW function lets us down once more, unfortunately: there is no option to reduce an image to 512 colours for PNG):
    This last version is visually (mostly) indistinguishable from the original, and clocks in at only 52kb.
    Of course, if you are saving this as a still image, jpg should have been your choice in the first place, since it is a photo.
    Conclusions:
    - avoid Photoshop's "Save for Web" function if your intention is a quality colour reduction;
    - avoid GIF for still images. Either use PNG or JPG. JPG works best for photos;
    - avoid Photoshop and SfW if your intention is to optimize PNGs well. Sfw cannot save PNG files with reduced colours beyond 256 colours;
    - fall back to external and/or online utilities to optimize PNG and GIF files. Color Quantizer and RIOT deliver better results than SfW. Or use online optimization tools to optimize animated GIFs (Optimize animated GIF). You can also optimize each frame in a tool such as CQ, and then import the individual frames into a animated GIF utility. Remember, each frame can save its own custom 256 colour palette;
    - for optimum quality a quality mask tool, such as the one in CQ, is a very effective and efficient method to guarantee the best possible conversion;
    - file sizes of png files created in external utilities almost always beat the ones generated in Photoshop and SfW;
    - a better choice to export PNG files is Photoshop CC Generator. At least that one allows for 8bit PNG files with full transparency (another missing essential feature that SfW fails to provide).
    Other resources (these refer to png, but are also effective for GIF optimization in Photoshop):
    http://www.smashingmagazine.com/2009/07/15/clever-png-optimization-techniques/
    PNG Optimization Guide: More Clever Techniques - Smashing Magazine
    Color Quantizer: Color quantizer
    RIOT standalone version (no installation required): http://download.criosweb.ro/download.php?sid=R

  • Recording Save for Web in an Action still doesn't work properly in Photoshop CS6 13.0.1

    There is still an issue with making new actions that include saving for web. While recording the action, save for web functions as it should. But once the action is played, regardless of the original format the saved image should be, it gives it an html filename extension. This can be extremely frustating when you have an action that saves over a hundred images from a single action.
    I have seen posts in Adobe forums from many people regarding this very irritating bug, including posts from Adobe employees acknowledging the bug. This was present in the Beta, the initial release, and in this 13.0.1 update. No fix.
    http://feedback.photoshop.com/photoshop_family/topics/ps_cs6_actions_recorded_action_expor ts_html_instead_of_jpg
    The employee acknowledged this bug THREE months ago (as of this post), yet all things considered, this doesn't seem like something that would take three months to fix!
    I have spoken about this bug with a friend that is a computer programmer. Considering that the action is saving the file correctly, and it's only the name that is not saving properly indicates that this is a superficial error, and not an issue that would require rewriting the code completely. Also consider that this WAS functioning properly in CS5, and that this is a very easily reproducible bug. Adobe should have plenty of information required to correct the issue. I understand that this fix may be more or less difficult to do than what I am suggesting, but it should have been fixed by now.
    I don't understand this mentality. Please Adobe... Put CS7 down for a little while, and fix what needs to be fixed in CS6. People (myself included) have paid A LOT of money for your products, it's not unreasonable to expect them to work properly. Bugs happen, it's understandable, but it's not unrealistic to expect a fix for them when the software is as expensive as it is. Is there actually any plan to correct this issue?

    See also:  http://forums.adobe.com/message/4662367#4662367
    -Noel

  • Adding suffix to jpg file name? Save for web?

    Hi,
    I'm very new to Applescript but, with the help of a few others (thanks H), I've managed to successfully write a script to produce various versions of a selected set of photos. However what I would also like to be able to do is to add a suffix of the letter "w" to all the photos which end up in my Webpics folder and the letter "t" to those which end up in the Webthumbs folder. i.e. abc.jpb becomes abcw.jpg and then abcwt.jpg.
    I'm sure this isn't hard but I've had a good look through various forums and tried loads of different things and still seem to be failing. If anyone can help I'd be hugely grateful. My script is below.
    Also, does anyone know if it is possible incorporate a script for Photoshop / ImageReady which does the "save for web" thing? i.e. so that the photos in the webpics/webthumbs folders have been saved for web. At the moment I use an ImageReady droplet which does the job but I'd love to be able to script it in.
    Many thanks, Eddy
    set original_folder to (choose folder with prompt "Choose Folder containing the files")
    tell application "Finder"
    if not (exists folder "Webpics" of original_folder) then make new folder at original_folder with properties {name:"Webpics"}
    if not (exists folder "Webthumbs" of original_folder) then make new folder at original_folder with properties {name:"Webthumbs"}
    set copies_folder to folder "Webpics" of original_folder
    set copies2_folder to folder "Webthumbs" of original_folder
    duplicate every file of original_folder to copies_folder
    set the_files to every file of copies_folder
    repeat with each_file in the_files
    set each_file to each_file as alias
    my dophotoshop_stuff_to(eachfile)
    end repeat
    duplicate every file of copies_folder to copies2_folder
    set webthumbs_folder to folder "Webthumbs" of original_folder
    set the_files to every file of webthumbs_folder
    repeat with each_file in the_files
    set each_file to each_file as alias
    my dophotoshop_stuff2_to(eachfile)
    end repeat
    end tell
    on dophotoshop_stuff_to(thisfile)
    tell application "Adobe Photoshop CS"
    open this_file
    do action "Masterpic to Webpic" from "Set 1.atn"
    close current document saving yes
    end tell
    end dophotoshop_stuffto
    on dophotoshop_stuff2_to(thisfile)
    tell application "Adobe Photoshop CS"
    open this_file
    do action "Webpic to Webthumb" from "Set 1.atn"
    close current document saving yes
    end tell
    end dophotoshop_stuff2to
      Mac OS X (10.4.4)  

    Ok, here is your script, not tested, but seems like it should work. The idea of shortening this script is that instead of duplicating files (simpler but longer, and you may face a timeout if there are a lot of files), you can pass the original file along to your script, that'll resize it and save the new version in folder 1, then resize it again and save the newer version in folder 2.
    Make a copy of the original files before you start testing
    Rookie Developer Hint : Slip in a display dialog followed by a return when testing to check the intermediate output.
    Return stops your script where you slip it.
    set original_folder to (choose folder with prompt "Choose Folder containing the files")
    tell application "Finder"
    if not (exists folder "Webpics" of original_folder) then make new folder at original_folder with properties {name:"Webpics"}
    if not (exists folder "Webthumbs" of original_folder) then make new folder at original_folder with properties {name:"Webthumbs"}
    set Webpics_folder to folder "Webpics" of original_folder
    set Webpics_path to ((original_folder as text) & "Webpics") as string
    set webthumbs_folder to folder "Webthumbs" of original_folder
    set webthumbs_path to ((original_folder as text) & "Webthumbs") as string
    set the_files to every file of original_folder
    repeat with each_file in the_files
    set file_name to (items 1 thru -5 of (name of each_file as text))
    set each_file to each_file as alias
    display dialog "Full path to the file: " & (each_file as text) & return & return & "Short name: " & file_name
    set each_file to each_file as alias
    set WebpicTarget to (Webpics_path & file_name & "W") as string
    my dophotoshop_stuff_to(eachfile, WebpicTarget)
    set webthumbsTarget to (webthumbs_path & file_name & "T") as string
    my dophotoshop_stuff2_to(eachfile, webthumbsTarget)
    end repeat
    end tell
    on dophotoshop_stuff_to(thisfile, saveTarget)
    tell application "Adobe Photoshop CS2"
    open this_file
    do action "Masterpic to Webpic" from "Set 1.atn"
    save this_file in saveTarget
    close current document --saving yes
    end tell
    end dophotoshop_stuffto
    on dophotoshop_stuff2_to(thisfile, saveTarget)
    tell application "Adobe Photoshop CS2"
    open this_file
    do action "Webpic to Webthumb" from "Set 1.atn"
    save this_file in saveTarget
    close current document --saving yes
    end tell
    end dophotoshop_stuff2to
    HTH
    J.

  • File name truncation warning on Save for Web (For Macintosh browsers?) (CS2)

    Image (Line drawing). Save for Web (*gif). Receive following warning:
    "Some names of the files being saved will be truncated to 31 characters for compatibility with Macintosh browsers. To change your filename compatibility options, click the Optimize pop-up menu, choose Output Settings, and select Saving Files."
    I could not find the Optimize pop-up menu. Therefore, I did not do this step.
    After save, I simply went to the appropriate folder and changed the file name to what I originally wanted (i.e., essentially correcting the truncation).
    Big deal or not? Will all be OK?
    Thanks in advance. From a novice.
    K. Glenn Cole, President
    Wilmot Company, Inc.

    You can probably safely turn off that Macintosh compatibility setting now.
    It's a bit tricky to find those settings...  Here's how.
    First, in the Save For Web dialog, hit the little icon at the upper-right and choose Edit Output Settings.
    Then change the selector to Saving Files and look for the settings you want to change as shown here:
    I captured the above from PS CS6, but I think they're substantially the same.
    -Noel

Maybe you are looking for