Save all action/script automatization

I work with multiple files open at the same time. To save files, I use the file-close-all shortcut and click on the apply-all-check-box. Next, I proceed to accept the save dialog box for each open file.
Is there a way to automate the saving of multiple open files with one action or photoshop script?
So far I have only been able to write an action that works with a constant number of open files. The number of open files at one time varies from batch to batch.

you're welcome.
(you could also create a jsfl file that would extract all the code from your fla though this would probably be of limited benefit.)

Similar Messages

  • Does anyone know why I get the following error message when I select the Save All action?

    New to using Robohelp 10
    Error Message

    Probably, the file root.fpj (in your project root) is read only or
    corrupted.
    Check whether the file is read only and make it readable.
    Perhaps the root.fpj got corrupted. You can fix that with the following
    script: http://www.wvanweelden.eu/product/missing-topics-fixer
    Kind regards,
    Willam

  • Action Script?

    Hi All,
    I have create a Application for transaction VA01. Can anybody tell me how to write Action script ?
    Please Help. ASAP.

    Hi,
    Transaction code for action script is WDK_APPL_REG
    1) There you need to register your Variant transaction and specify your floor plan
    either QAF or GAF or OIF in Applications.
    2) You have to spcify your different Floor Plan States like INI, S01, S01, CFN etc.
    3) For Floorplan states you should assign dynpro assignment ( i.e., Program name and screen number ).
    4) And u need to assign actions for every state.
    5) Next go to Script definition and assign action script and u need to record va01 transaction with SHDB, and submit program, dynpro, bdc filed value in batchinput data.
    6) If u want to raise any messages, click on Message Mapping and submit message name and number.
    Finally you need to save your action script.
    Best Regards,
    Vara Prasad.

  • SJS8EA: Save All button is not active

    Hello folks,
    Just a little bug on SJS8EA: the "save all" action (button in toolbar or item in File menu) never seems active. Files are marked as modified with the *, and if I try to close SJS I am notified of unsaved files.
    My config: WinXP Pro, java 1.5.0_03, working on java files in a Standard J2SE application.

    This issue was filed in netbeans.org issuzilla:
    http://www.netbeans.org/issues/show_bug.cgi?id=71248

  • In action script, how would I be able to capture animation on the stage and save it to a file

    using action script how would I be able to capture video that's playing on the stage and save it as a file

    Are you still using iphoto?
    If so you should NOT move the iphoto library to the TC and use it.
    Apple says you will corrupt the library doing this.
    http://support.apple.com/kb/TS5168
    Although mostly about FAT32  it adds network drives.
    http://support.apple.com/kb/HT1198
    Now what I cannot tell you is if the same rules apply to the new photo app. Apple might have fixed the problem.
    For iphoto you should offload the photos to USB drive plugged into your computer.. or any external drive.. the faster the interface the better.
    Apple have explicit instructions for moving the library.
    iPhoto '11: Move your iPhoto library to a new location

  • How to avoid custom action script link executing for all pages. It should execute for only custom list

    Hello all,
    The below code creates the custom action script link. however this is executing for all the pages.
    I want to execute only to list not on all the pages. How i can acheive this. Please help
    var context =
    new SP.ClientContext.get_current;
    this.oWebsite = context.get_web();
    var collUserCustomAction =
    this.oWebsite.get_userCustomActions();
    var scriptLink = collUserCustomAction.add();
    scriptLink.set_name('Welcome');
    scriptLink.set_title('Welcome');
    scriptLink.set_description('Welcome to new custom script Link');
    scriptLink.set_location('ScriptLink');
    scriptLink.set_scriptSrc('~Site/Scripts/test.js');
    scriptLink.set_group('');
    scriptLink.update();
    Navaneeth

    Then Edit the list page add the script editor web part on the page . Copy the paste the script. Now it will affect the list only. Or else in your script just validate the list id.
    Ravin Singh D

  • How do I use the button states in an action script?

    In my Captivate 8 project I use smart shape as buttons. The buttons have different images presented dependent on the state of the button. I have also created a simple action script that shows what happens when the button is pressed. When the button has been pressed the normal state of the button appear. I, however, want the down state of the button to remain visible util the user presses another button. How do I accomplish this? Is there variables for the buttons different state or how can I create that?
    BR,
    Madeleine

    When you talk about 'actionscript' do you mean advanced or shared actions? You cannot write actionscript within Captivate, only Javascript. If you use advanced/shared actions they'll be converted on runtime to either Actionscript (for SWF output) or Javascript (for HTML5 output).
    The states in shape buttons are the normal way buttons behave (not only in Flash). If you are indeed using shared/advanced actions, and you want the down state to remain until the next shape button is clicked, you'll have to go the way described by iFlashAppsToo. Create shapes that have the look of the down state, make them initially invisible and group all those shapes on one slide. Add two statements to the shared/advanced action (please do use shared actions, you'll save time):
    Hide Group   so that eventual down mimicked states on previously clicked buttons disappear
    Show Im_Downx    to show the down image for that button

  • Data Set Save As Action

    I'm working on learning how to use variables in AI so I can do variable pieces with fancier design layouts than I can do in InDesign.  I've gotten through creating XML files, learning how to run scripts, writing a script to convert an excel XML file to an Illustrator Data Set, and loading and reviewing the multiple sets.  One last problem.  When I create the Save As action, even though I select the Data Set name as the naming convention, it keeps saving each data set as the same file name I created the action with (causing me to have only one file output).  If I select the Override Action commands button, it does save with the proper names, but errors out if I've set it to save as PDF, and if I've got it set to save as EPS, the output files don't have an extension, so I would have to go through each one and add the extension before I can open or combine into a multi page pdf.
    Any ideas on where I'm going wrong?  I just created a new action, recorded going to Save As, and saved the file, which is sweet since it saves with all the proper settings (bleed etc.).  I've tried setting the action by using the Insert Menu Item command, but that just runs an action where I would have to name each file and select the Save As options.

    You can use "Save Copy" instead of "Save As", which will keep your extension, but you must take care not to rename the file in any way when it is saved using this method for the purpose of recording a saving action.

  • File path recorded with "Save As" Action is fixed?

    I am trying to create an action that will save the open file to a JPG (Quality 9, Matte: None), always in the same folder that it came from, as it does when this is performed manually. (The preference to Save As to the Original Folder is enabled).
    What I am finding is that when the action is recorded, the path to the folder at the time is fixed in the action, effectively rendering it useless for further saves of files opened in different folders.
    Is it possible not to save a path when recording the Save As action or make it variable so that adopts the folder that would have been chosen had the command been invoked manually?
    TIA, Joel.
    Photoshop Mac CS5
    Mac OS X 10.6.4
    MacBook Pro 17" 2.4GHz/4GB/320GB

    So it looks like PS cannot automate a manual process in this case though it would be very desirable for it to do so and has all the information necessary for the task.
    I may not quite follow as I browsed the thread rather superficially, but Scripting may be useful in this case.
    You could try this JavaScript (save as a jsx-File in ExtendScript Toolkit into the application’s Scripts-folder).
    But be warned: This would overwrite existing jpgs of the same name without prompting.
    // saves jpg into same folder;
    // be advised: this  overwrites existing jpgs of the same name without prompting.
    // 2010, use it at your own risk;
    #target photoshop;
    if (app.documents.length > 0) {
    var thedoc = app.activeDocument;
    // getting the name and location;
    var docName = thedoc.name;
    if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
    else {var basename = docName};
    // getting the location, if unsaved save to desktop;
    try {var docPath = thedoc.path}
    catch (e) {var docPath = "~/Desktop"};
    // jpg options;
    var jpegOptions = new JPEGSaveOptions();
    jpegOptions.quality = 9;
    jpegOptions.embedColorProfile = true;
    jpegOptions.matte = MatteType.NONE;
    //save jpg as a copy:
    thedoc.saveAs((new File(docPath+'/'+basename+'.jpg')),jpegOptions,true);
    //that’s it; thanks to xbytor;

  • Problem with action script from Schewe and Frasier book.

    I am working on a Photoshop CS3 action script to
    open raw files, do a couple of modifications
    in Camera Raw, exit camera raw and save
    the file as a jpeg.
    I think this should work, because I am working
    on an example out of "Camera raw with Adobe
    Photoshop CS3" by Schewe and Frasier which
    shows the step recorded.
    See page 344 of Schewe and Frasier.
    In figure 9-11 you see, after the open
    statement, 10 lines of details like
    "As camera raw"
    "Model:Canon 350d" etc.
    I get the file path and name line, but
    none of the other details reflecting
    actions in Camera Raw.
    The problem is that in setting up the action, none
    of the steps done in camera raw after I do the
    open get recorded.
    And it works in my old CS version !
    Out of frustration I repeated the action
    script creation in my old CS version and
    it worked fine.
    Any idea where I am screwing up ?

    Crappy format justification:
    I sometimes have a day of family
    type pictures that are in raw format
    that I want to put up on the internet
    quickly. I would like to be able to
    apply the "Auto" feature, as in general
    it seems to be pretty good for something
    quick.
    OK, it sorta works in CS, go here
    http://www.angelplace.net/photos/sample.jpg
    It sets up all of the details and gets the
    "As camera raw" but opens the .dng file
    rather than the Camera raw window.
    The point is, these important settings
    seem to be saved, which does not happen
    in CS3.

  • Save all open images

    I didn't find this when I did a forum search, but I find it hard to believe that there isn't a feature request for this already. Photoshop needs a "Save All" feature. I've seen suggestion to just make this an action, but the problem with that is that you must continually hit the action in order to perform it. Maybe I'm just missing something but I find it odd that a photo editing program, in which it is quite possible that you could have dozens of images open at the same time has no "Save All" or "Autosave" features...still.

    If you want to give it a try paste the following text into a new file in ExtendScript Toolkit (part of Photoshop’s installation, Applications/Utilities/Adobe Utilities - CS5/ExtendScript Toolkit CS5) and save it as a jsx-file into Photoshop’s Presets/Scripts-folder.
    After restarting Photoshop the Script should be available under File > Scripts and can be assigned a Keyboard Shortcut directly, recorded into an Action, (in CS4 and CS5) be used in a Configurator-Panel or started from ExtendScript Toolkit directly.
    // save all open documents;
    // 2011, use it at your own risk;
    #target photoshop;
    if (app.documents.length > 0) {
    var theFirst = app.activeDocument;
    var theDocs = app.documents;
    // psd options for unsaved files;
    psdOpts = new PhotoshopSaveOptions();
    psdOpts.embedColorProfile = true;
    psdOpts.alphaChannels = false;
    psdOpts.layers = true;
    psdOpts.spotColors = true;
    // go through all files;
    for (var m = 0; m < theDocs.length; m++) {
         var theDoc = theDocs[m];
         app.activeDocument = theDoc;
    // getting the name and location;
         var docName = theDoc.name;
    // thanks to xbytor for the regexp;
         if (docName.indexOf(".") != -1) {var basename = docName.match(/(.*)\.[^\.]+$/)[1]}
         else {var basename = docName};
    // getting the location, if unsaved save to desktop;
         try {
              var docPath = theDoc.path;
    // save the file if unsaved;
              if (theDoc.saved == false) {theDoc.save()}
    // if file has not been saved yet save to desktop;
         catch (e) {
              var docPath = "~/Desktop";
              theDoc.saveAs((new File(docPath+'/'+basename+".psd")), psdOpts, false, Extension.LOWERCASE);
    app.activeDocument = theFirst;

  • Writing action script from books or memory?

    hey guys. I mess around with Flash and get into the most
    basic action scripting. My question is, for the most part, do
    designers all copy existing code and modify it to fit thier design
    needs, or do they just write it themselves all the time? I really
    cant imagine the latter. Im hoping that designers always have tons
    of books around.

    "Nicknamenick" <[email protected]> wrote in
    message news:ebue8f$s0c$[email protected]..
    > hey guys. I mess around with Flash and get into the most
    basic action
    > scripting. My question is, for the most part, do
    designers all copy existing
    > code and modify it to fit thier design needs, or do they
    just write it
    > themselves all the time? I really cant imagine the
    latter. Im hoping that
    > designers always have tons of books around.
    Books don't do it for me. It takes too long to get the right
    kind of example from books. What I do is to make folders of Flash
    source code that is categorized. One of the advantages of
    helping people on these forums is seeing so many code examples.
    Whenever
    I run across a good example of something or write a piece of
    code for someone I save it as a reference in one of the folders.
    Now
    when I need any code I either write it from memory if it's
    short enough or go to one of my source code folders for examples. I
    have
    lots of books but that aren't nearly as valuable to me as my
    sorted source code.
    Online website sources such as flashkit.com and others can be
    very counter-productive for me. The examples are often old code
    from
    Flash 4 and 5 and usually written by an amateur with bad
    coding style. The online book recourses like safari.com are great
    though.
    You can search for code snippets through all the Flash books.
    tralfaz

  • DRM Action Script Log Issue

    Hi,
    I am facing a very strange issue.
    When I am running an action script that has around 20K or more records, I am unable to save the log file.
    Sometimes the Save Log window appears after 20-25 mins and sometimes it doesn't appear at all.
    It used to work fine in v9.
    Any help/suggestions will be highly appreciated.
    Thanks

    Hi Shashank,
    Which version and release are you using? 11.1.2.2 version upto the .305 release has this trouble, if i still remember well.
    .306 solves this issue.
    The only thing that could work is by breaking up the number of records into smaller chunks.
    One more thing which can try is ... Running the script from Batch client and see if the log file captures it. not sure about this one though if the log will capture the error records. Try out one record which you think would error out and see if the log file captures it.
    Denzz

  • Error while loading an child movieclip if the child has any action script

    Hi
    I am developing an application where I need to load a child.swf . All works fine when I load the mc but as soon as I add Action Script (lets say trace("test")) to the Child.swf I get a Error #1009: Cannot access a property or method of a null object reference. On the addChild line.
    Code
    trace("Toothpaste click");
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("Child);
    mLoader.load(mRequest);
    mcContainer.addChild(mLoader);

    Sorry.Thanks
    Typo on the forum.
    I can load the child.swf see the image/text in the child  displayed in the parent but as soon as I add as3 to the child page I receive the above mentioned error. If I run the child.swf from the IDE or by itself everything works fine .
    trace("Toothpaste click");
    var mLoader:Loader = new Loader();
    var mRequest:URLRequest = new URLRequest("Child.swf");
    mLoader.load(mRequest);
    mcContainer.addChild(mLoader);

  • Could someone help me with my action script?

    I followed a tutorial on how to make an interactive photo gallery but for some reason the file isn't working. I am new to flash and no very little about action script.
    Would someone be willing to take a look at my file and advise me?
    Thanks

    Did your tutorial have you download XML from a server to feed the images to the gallery? Many people forget to check for errors loading the XML file or forget to "do something" once the XML is loaded. Common things not to look for are IOErrorEvent.IO_ERROR or SecurotyErrorEvents warning you the XML you're trying to load is on a different domain (a webserver online) and it doesn't have permission (a crossdomain.xml).
    In those situations it can appear like it's doing nothing.
    Did you just take the code of the tutorial at the end and try to play it as you went through the tutorial? If you just copy and pasted it all you'lre going to have a hard time isolating the issue. In that case you can always re-do the tutorial until you start to see issues. Then you know where they are.

Maybe you are looking for