[CS3][JS] Batch

Hello,
I've found my first response. Now, How do you specify fileNaming whithout extension ? In UI i'm a value "Sans/None" but not by script.
#target photoshop
app.bringToFront();
displayDialogs = DialogModes.NO;
//Tableau contenant les images
var dossier = new Folder("C:\\detourage\\image");
var dossierSortie =  new Folder("C:\\detourage\\sortie");
var arrImg = dossier.getFiles("*.*");
//Enregistrer les fichiers après traitement dans un autre dossier
var mesOptions = new BatchOptions();
mesOptions.destination = BatchDestinationType.FOLDER ;
mesOptions.destinationFolder = dossierSortie;
mesOptions.overrideSave = true;
mesOptions.fileNaming = [FileNamingType.DOCUMENTNAMELOWER];
mesOptions.windowsCompatible = true;
mesOptions.macintoshCompatible = true;
try
        app.batch(arrImg, "ouvrirFermer", "Test", mesOptions);
catch(err)
        alert("échec : "+err.description);

I don't think that Batch will let you leave off the extension using either the script or GUI version. You would need script your own batching type script to have no extension, but why no extension?

Similar Messages

  • Photoshop CS3 Actions Batch mode bug?

    I posted this in the Mac forum but received no responses after a couple of days, so I am trying it here.
    Photoshop CS3 Actions seem to have a bug such that when used in Automate > Batch mode it will use the name of the first file opened in the batch session for every file processed in that session. Since that name is used in Save step, this means having to deal with the "File Already Exist" dialog for every file in the batch because it is attempting to save at the designated location with the same file name. If the continue option is chosen each time, the final result is one file with the first opened file name, but with the contents of the last processed file.
    To confirm that this is a problem particular to the opening step, I have disabled all processing steps as well as the saving step by toggling them in the Actions panel. I then ran the action in batch mode on a folder containing 4 files. This resulted in 4 opened files all with the same name but different image content.
    This was with the "Override 'Open' Action Commands" checked/not checked, and the "Suppress File Open Options Dialogs"  checked/not checked. The  problem described also occurs when using a Droplet.
    By comparison, Photoshop CS exhibits the expected behavior: when an action is used in batch mode to process an entire folder of files, the name of each file is retained after opening and used after processing in the save or export step.
    The above described behavior of CS3 is a change acquired along the way to the CS3 version (I do not have the CS2 version to test). But more importantly, can someone please report if the CS4 version behaves as I described for CS3, or if it has been returned to the CS behavior?
    OS X 10.4.11
    G4 800 MHz 2 MB L3/processor 1.25 GB SDRAM
    Is this a known bug?
    Al

    Hello Miguel,
    I was going to come back to post some of my findings, one of which relates to your staement:
    "- The open command created by Photoshop 6 doesn't keep the file's name, it is a much simple open command, and so it opens the file with the own file's name."
    In my case I found that my CS version of the "same" action worked, while the  CS3 version failed, precisely because the earlier one records less detail for the open step.
    My need is to convert dozens of Quark pdf files to GIF and JPEG files for the web. What I found after several days of testing is that it is best to record the opening step in CS3 NOT using a pdf file, so that the "Open As Generic Pdf with 'Name____' " would not be coded into the opening step. Instead I recorded the whole action using a PSD file. Then I can proceed to run it in Batch mode choosing a folder of Quark pdf files as the source location with "Override 'Open' Action Commands" checked, and the "Suppress File Open Options Dialogs"  checked, and it opens all the pdf files just fine in some background process, not getting stuck in the details of the file name, and proceeds to cary out the flattening, saving, and closing steps to my chosen target location and uses the finder file name of each pdf files in the source folder to save a filename.ext in the Target folder.
    Contrary to what I stated in my original post, "Override 'Open' Action Commands" checked/not checked does indeed make a difference. If it is not checked, the files do open in batch mode, but the other steps are not performed. There is much more about this that I would like to know, and this may not be a general solution for all types of files that a user may wish to process in batch mode, but it works for my case. The main trick is to use as simple an opening step as possible when recording the action, and then letting Photoshop use whatever background process it requires to open a particular file type. I tested this by manually saving a pdf file to each of the twenty some odd formats available in the save as dialog to a Source folder, and then proceeded to batch process that folder with the action described above, and it worked for all except one.
    So while there may not be a bug involved in this problem, there certainly is a lack of documentation about how the "improvements" in the opening step in newer versions of Photoshop affect using Actions in Batch mode.
    Please comment if you can further explain any of the reported results. In particular, what is the situation in CS4?
    Thanks,
    Al

  • CS3 Bridge - Batch Image Resize

    i am new to using Bridge. I need to Batch resize images for my daughters yearbook. I need to resize pictures that are 36" x 27" and resolution of 72 dpi and change them to about 2" high but keep a high resolution (300 dpi) for printing. I tried to batch change them but they stayed at 72 dpi and became fuzzy.
    Can you give me a tip to complete this process.
    Thanks you
    Molly

    Look at this link. http://www.adobeforums.com/webx/.3c05a3c5/14
    In case that address does not work the discussion is on next page labeled "Bridge won't apply crops on save".
    P.S. Click on "Show all messages" after question to get full story.

  • Batch processing "save for web" color shift problem

    In Illustrator CS3, when batch processing "save for web and devices," there is a dramatic color shift in resulting files.
    Is there a workaround for this problem?
    Thanks!
    Karen.

    Make sure the color mode of your documents is RGB (not CMYK) and that your workspace is sRGB.

  • Files wont convert with sidecar information

    Hello, I have been trying to convert camera raw files to jpgs with updated color correction, exposure, etc working from Bridge to CS3 using batch processing. The application runs the script with sharpening but will not apply the updated camera raw information. The jpgs looks the same as the raw files without any correction. This process was working fine up till now but for some reason it won't covert anymore. Any help would be greatly appreciated. Thanks, David

    You must purchase the Quicktime MPG-2 Playback Component from Apple ($20 US) for MPEG Streamclip be able to convert mpg-2 encoded content.
    Programs like DVDxDV and VisualHub run in a demo mode and don't require that purchase.
    Since i know i did this before without having to pay to download anything, i wonder what i am doing wrong or has it changed in the last few months?
    Nothing has changed. Perhaps you used the demo mode of one of the other apps I mentioned.
    F Shippey

  • Batch won't run unless Illustrator CS3 is active window?

    I'm hoping someone can help me out with this as it's driving me nuts. Basically I'm trying to batch an action I made in CS3 to run on about 700 illustrator files.
    Everything runs just fine and dandy until I switch from Illustrator to another program (Firefox, photoshop, bridge, anything other than illustrator), once illustrator is no longer the active window, the batch process stops. When I make illustrator the active window again, the batch starts again. This worked perfect in CS2 and I never had this problem until CS3.
    This is a huge pain as I can't work on anything else while keeping the batch running in the background.
    Here's the nitty gritty details:
    XP SP2, Illustrator CS3, smoking fast machine
    Action was created in actions palette to do the following:
    Unlock All > Select All > Create Outlines > Convert to Grayscale
    Ran the batch via the actions palette, choose "Save and Close" and "log errors to a file".
    I've restarted Illustrator, restarted the machine, recreated the action, broke the folder into smaller folders with less files. It's making my Tuesday feel like a Monday.
    I've search all over and found nothing. There was one post here on the adobe forums, but it was from October and it never got answered. If you have a solution you will be my hero!
    Thanks!

    Yes, I have absolutely seen this! At our office we batch process Illustrator files to JPEG very frequently, and it's a huge nuisance to have Illustrator block the system during the batch processing. Everyone here is on XP SP2 as well, and we all have this issue. In fact, trying to switch in and out of Illustrator while it's batching can cause the application to crash fairly regularly for us.
    I can confirm that the Mac version of Illustrator CS3 does *not* have this problem, as I am batch-exporting right now with Illustrator in the background on my Mac. (Mac OS X 10.5.2, Illy 13.0.2)
    A fix for this would be most appreciated, Adobe!

  • Photoshop CS3, wanting to batch re-size JPGs, going: file-scripts-image processor, the batch images are greyed out can't be highlighted

    Hi - I am trying to batch re-size JPGs in CS3.  I go: file-scripts-image processor and select a batch of JPGs but these are greyed out and can't be highlighted, therefore can't be re-sized. This function worked in the past and suddenly does not. Reading forums on this topic I find I should remove/trash 'Photoshop Preferences'. But I am struggling to find Photoshop Preferences. Really would appreciate simple instructions written for the layman not a computer savvy individual, on how/where to locate these, please. Many thanks.

    A few things to try.
    1)Since jpg's are finiky with bit modes, make sure your mode is in 8-bits per channel only. (found in the image>mode menu)
    2)you could try resetting the preferences by using the 3 modifier keys at startup. ctrl-alt-shift(windows) cmd-opt-shift(mac) Hold these three keys down when you start photoshop if done right when photoshop starts you should get a dialog box asking if you want to reset the preferences)
    3)If these do not help specify the version of photoshop, what OS you have and its version. Then someone can tell you the location of the preference files since it is different on windows vs. a mac.

  • Batch Convert InDesign Files to PDF: Acrobat 9 Pro Opens CS3

    A question came up in the InDesign forum about batch converting InDesign files. I've never really needed to do it but I was aware of the batch convert command. The OP reported errors so I tried it myself and while it worked, for some reason Acrobat 9 Pro is opening InDesign CS3 even though I have CS4 and CS5 installed.
    I can't seem to find any way to change the default for INDD files. I tried launching ID CS5 first, but Acrobat still launched ID CS3. If I double click an INDD file in Windows Explorer, it opens in CS5 so the operating system has the default correct.
    Any ideas?
    Thanks,
    Bob

    Thanks,
    I just found that out, too.
    What I'd like to find out is how to fix this.
    Bob

  • Photoshop CS3 Batch fails to rename - saves as original name for every file?

    I have created the following action:
    Open (File from folder on desktop - original is JPG)
    Image Size (resize image to 1024xXXX)
    Save (Save as PNG)
    Close
    I run the action via Batch:
    Default Actions
    PNG 1024xXXX (action created above)
    Source folder on desktop
    Destination: Folder under root C:
    File Naming: yymmdd (date + Document Name + extension
    Starting serial#: 1
    Errors: Stop for Errors
    When I run the batch, I get one file in the output folder named after the original file used to create the Action. All subsequent files that are opened to be processed do not get saved as reduced PNG files in the output folder.
    The following is a screenshot of the batch as it is running:
    http://www.mpecsinc.ca/images/08-02-20PhotoshopBatch.jpg
    The image in the top left corner is the original image that was used to create the action. It was closed after it was processed and the output file was created.
    The file at the bottom right is the second file that was opened to be processed.
    But, for some reason, the original file keeps showing up after each subsequent file is opened for processing! It is the only file that is saved to the output folder.
    I hope I am explaining myself well enough. This is very frustrating as I have tried all manner of action combinations along with batch combinations and keep coming up with the same or similar results.
    Thanks for any help.
    Philip

    Boy, do I feel like an idiot . . . I was trying to run this script from Bridge (batch action-select images from Bridge) . . . If I just run the batch action in Photoshop CS3 only. . . everything works great . . .
    Many Thanks for all the help!!!

  • CS3: Any way to Batch convert files from different directories?

    Using CS3. I want to open a bunch of TIF files and re-save using different file options. The only way I know to do this is with File > Automate > Batch. But that only works if the destination folder for all files is the same. It's not.
    Ideally I would not need to first open the files in Photoshop. Perhaps something with Bridge will work. Tools > Photoshop > Image Processor looks promising. There's even an option called "Save in same location", which does not do what it says so is totally useless.

    >Bridge and Finder. They might both be running, but they are two programs that aren't Photoshop to do one simple thing Photoshop should do already by version 11.
    The whole point is that Bridge is supposed to be used as an integral part of the CS4 SUITE.
    I keep Bridge CS4 running at ALL times (it uses a minute amount of resources when it is just in standby mode) and I consider it to be an essential adjunct to Photoshop particularly if you deal with digital camera files.
    I use its "Get Photos from Camera" to download from my card reader in preference to Nikon's download program; and I open whole batches of RAW files for processing in Bridge-hosted ACR 5.2.
    ACR 5.2 also handles scanned Tiffs and JPEGs.
    And I use Bridge to output Web Galleries; attach files to e-mails; collect aliases of all the files of any kind (and from any folder) that are needed for a particular project into a single Collection: and generally to organize file storage throughout my System.
    The only thing that I can't yet do directly from Bridge is to burn a Collection to a CD or DVD.
    Hopefully, someone like David Franzen will create a Script to do that too?

  • Export xml in Batch with CS3

    Hi All
    Anybody have any script batch export in indesign cs3 which export the xml with using the option of "Remap, Break, Special character"
    Thanks in Advance
    Pramod Pant

    I am not a Resolve user, but could it be that Resolve has been set up for a 25fps project? And maybe the lite version restricts your frame size?
    Just curious.

  • Fireworks CS3 Batch unresponsive (Intel Mac)

    Hi all,
    I just bought an Intel Mac and CS3 with Fireworks.
    I batch processed several photos last night. Then when I went
    to batch process a second group, I got the eternal spinning
    beachball. ;) I had to force quit Fireworks. Batch Processing
    refuses to work now.
    Any help would be appreciated!
    Chill Rob G.

    ChillRobG wrote:
    > Hi all,
    >
    > I just bought an Intel Mac and CS3 with Fireworks.
    >
    > I batch processed several photos last night. Then when I
    went to batch process
    > a second group, I got the eternal spinning beachball. ;)
    I had to force quit
    > Fireworks. Batch Processing refuses to work now.
    >
    > Any help would be appreciated!
    If any of your images are over 6000 pixels wide ot tall, FW
    won't
    process them.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • CS3 to CS5 Conversion - Is it possible to batch convert?

    Hi, the company I'm working for is doing the move to CS5 from CS3 Indesign.
    When resaving the old CS3 documents in CS5, instead of just saving over the current file, it's bringing up a 'save as' type of dialog.
    As we have literally thousands of documents to rework and they are mostly in different locations, I was wondering if anyone knew of a way we can speed this process up. Is there a setting that will bypass 'save as' in this situation? Maybe a good batch converter we could try?
    Help would be much appreciated.
    Cheers,
    Emile.

    It's probably scriptable (and I think maybe Peter Kahrel has actually already written a script to do it), but the last thing you want to do is bypass the save as and overwrite the CS3 versions. There are occasional problems with converted files, and if you've destroyed your CS3 versions you'll have no backup position.
    In fact, I strongly recommend that you do any of these conversions in two steps. First convert to .inx, then convert those to CS5 for the most trouble-free files after conversion. Personally, I would not convert any files until necessary, but I don't know your workflow. For minor edits you are probably just as well off to leave old files in CS3 and do new projects in CS5 going forward.

  • CS3 saving from actions & batch error, what to do?

    Hello!
    I am trying to edit a big bunch of my photos using actions and the batch script in Photoshop CS3 Extended on Windows Vista. The whole thing falls apart when PS is trying to save during an action sequence (or even if the saving is bypassed by the batch script) and displays an error message: "Could not save as 'file location/file name...' because the file could not be found." And this happens while the file actually is already open in Photoshop!
    Not only does it make the batch command completely useless but also makes editing a large number of photos very frustrating since the only way of saving them is to do it manually one by one.
    Anyone have any ideas on what I could do to make it work again as it should?
    Kind regards,
    Olli

    Photoshop open a file and read it in memory and converts it into a Photoshop document in Photoshop data structures and closes the file.  There are no open files in Photoshop there are active documents in Photoshop. Some Active documents may be associated with files while others may be new documents where no file exists yet.  You may be getting a miss leading message about a file not existing where the real cause may be something else like the device  or folder does not exist or the folder or file is locked with a read only attribute or something like that.   Batch Scripts and Plug-in save files all the time without problems its what batching is all about.

  • Batch Processing Issues - RAW to JPEG in CS3

    Hi folks,
    I recently upgraded to CS3 form CS2. Over the weekend, I spent several hours tweaking/adjusting about 200 RAW images in Bridge, that I need to convert to JPGs. I used a Photoshop Batch action that I created some time back in CS2 to convert the images from RAW ("Save As" as JPG), but it didn't include any of the adjustments that I made to the images during the conversion process, because I had Ignore/Suppress Open Dialog checked. I unchecked that, and re-ran the action but am now being prompted to open each image. I then modified the action to include the "Open" command. Running the script now still doesn't quite seem to work as I'd expected. The only adjustment that is incorporated is cropping, but it doesn't process any of the tonal/color balance adjustments. All images have the modification icon on them, indicating that changes were made, but the Photoshop Batch command isn't incorporating them when opened via the Batch Processing command. Any suggestions on how to get this to work?
    I'm also very open to any other suggestions one may have on converting adjusted Camera RAW images to JPEG.
    Thanks,
    Kappabear

    <[email protected]> wrote in message <br />news:[email protected]..<br />>I am having the same issue as the user above (kappabear)... I am going to <br />>try the same options that PShock (Phil) gave...but what if I need to call <br />>someone for assistance..(I'll even pay for support, because when I called <br />>Adobe...they had no idea of what I was talking about)... Is there someone <br />>that can give pay support???<br />><br />> I too just upgraded to CS3 and have a wedding to get out today, and 700 <br />> images to save from RAW to JPG with many changes... Problem, I have a 6:00 <br />> am flight to catch in the morning and I still need to pack.. (ANY HELP <br />> from ANYONE would be greatly appreciated..)<br /><br />Ron,<br />Due to news server propagation time issues, I'm seeing your post before the <br />original one.  I'm guessing others may be experiencing the same thing.<br /><br />Normally, I'd just wait for the earlier post to show up, but you're in a <br />hurry.  If you post again, and include enough of the post you are replying <br />to, you may get more responses before your flight in the morning.<br />-- <br />Mike Russell  - www.curvemeister.com

Maybe you are looking for

  • Refreshing one frame only in a frame page

    Hi all, Pls help....i have this frame page with 4 frames. each one when click targets to another one on the same page...The last frame is a page which has 2 buttons Delete and Confirm and it has checkboxes.....when the checkbox are clicked and user c

  • RFC response -- Email

    Hi  , I am creating a scenario in which response from RFC is sent to sepcific mail ids.. Can you provide helpful links.. Thanks, Vishal

  • Java 8: Pb with new java.time api

    Hello, I'm trying to use the new java.time api that comes with Java 8 (I already know joda-time). I'm using the latest build B124. I've a String "01/08/2012_00:00:01", I know that the time ref. is UTC, and I want to convert it to an 'Instant'; I trie

  • HT1533 My MacBook Pro doesn't recognize any key during startup!

    I press and hold option, nothing. C, nothing. D, nothing. Of course, one at a time, on different startups. Nothing happens! Any ideas? Thank you.

  • How can I hard reset my PRIMO 91 ? or pass a forgotten password ?

    My tablet had a password which I forgot it . Can you help me pass this password or tell me how to hard reset the tablet .. Thank you