Action for saving scripts to a folder

We need to create an action in Photoshop CS5 on Windows 7. The action is simply, it just needs to save a file to a particular folder on a file server, then close the file. This script will need to be able to given to several people in the building, all using Windows and with the file server mapps to the same drive (X).
Yet when I try to record this script, it wants to save the file with the filename. How can we avoid this, i.e. just create a script that saves a file in a folder, without saving it with the name of the file that was used to record the script?

FYI, discovered that if you have an imge open, you can doubeclick on the path of the saved folder (in the Actions palette) and choose a new location to save files to and the program will automatically change the path in the script.
Thanks for your help.

Similar Messages

  • Hot Folder for FTP Script

    I'm trying to make a folder on my Mac that is a "Hot Folder." I want this folder to have an action/script that as soon as it sees a new file added it will open Fetch and upload via mirror to an FTP folder.
    I was able to make the Fetch portion of the script without issue, but making the folder "Hot" is a bit more difficult for me. I tried to use some script from the sample script "add - new item alert" but have been unsuccessful. I'm hoping some of you Applescript pros can review this and tell me how to correct. Or perhaps you know of a better way to make this work with automator.
    SCRIPT:
    on adding folder items to this_folder after receiving added_items
    try
    tell application "Finder"
    --get the name of the folder
    set the folder_name to the name of this_folder
    end tell
    -- find out how many new items have been placed in the folder
    set the item_count to the number of items in the added_items
    --create the alert string
    if the item_count is greater than 1 then
    tell application "Fetch"
    activate
    make new transfer window at beginning with properties {hostname:"ftp.hostname.here", username:"myusername", password:"mypassword", initial folder:"/pub/pao/images/"}
    mirror alias "Macintosh HD:Users:Bill:Desktop:test:" to url "ftp://myusername:@ftp.hostname.here/pub/pao/images/" format Automatic without delete strays
    end tell
    end if
    end try
    end adding folder items to
    Thank you all!

    Well, then. I thought wrongly, I haven't used those in a very long time and thought they were saved.

  • Customize Folder Action and Email script

    I have been adapting the below script so if I drop a file on the script, the file will be emaild to the default address. But, I can't figure out how to customize the two below easy tasks into this script. Thanks for any help out there!
    1. A file is moved into folder1 triggers the script.
    2. After the file is email'd I would like it to be moved into folder 2. I have found a script in this forum that moves the file, but I don't know where to add it.
    on adding folder items to theFolder after receiving theAddedItems
    tell application "Finder"
    move theAddedItems to folder "G5:Users:camille:Desktop:folder2:"
    end tell
    end adding folder items to
    The Send File Script that I have been adapting (concept and initial coding by Paul Van Cotthem):
    property this_folder : "G5:Users:camille:Desktop:folder1"
    property emailAddress : "[email protected]"
    global sendAction
    on open fileList
    -- If one prefers to test for folders before the files are created, the enable this code.
    repeat with filePath in fileList
    if (filePath as string) ends with ":" then
    display dialog "Please drop only files, not folder." buttons {"OK"} default button 1 with icon 0
    return
    end if
    end repeat
    enterAddress()
    repeat with filePath in fileList
    set filePath to filePath as string
    if filePath does not end with ":" then -- it's a file
    tell application "Finder" to set fileName to name of item filePath
    tell application "Microsoft Entourage"
    -- This code is faster, but if the user trashed the attached files before sending them, Entourage cannot send the attachtments.
    make new outgoing message at out box folder with properties {recipient:emailAddress, subject:fileName, attachment:filePath}
    -- This code is slower, but attached files are saved into Entourage's message database immediately.
    set theSubject to "File attached: " & fileName
    set newmsg to make new draft window with properties ¬
    {recipient:{address:emailAddress, recipient type:to recipient}, subject:theSubject, content:theSubject, attachment:filePath}
    send newmsg
    end tell -- Entourage
    end if -- file or folder?
    end repeat -- filePath
    end open
    on run
    enterAddress()
    end run
    on enterAddress()
    display dialog "Send to:" buttons {"Cancel", "Send now"} with icon note ¬
    default button 2 default answer emailAddress giving up after 2
    set dialogResult to result
    set sendAction to button returned of dialogResult
    set emailAddress to text returned of dialogResult
    end enterAddress
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  
    G5   Mac OS X (10.3.9)  

    Go ahead and put that chunk of code on a new line at the very bottom of your script. Then between the on adding folder items to theFolder after receiving theAddedItems line and the tell application "Finder" line, insert the word open on a line by itself.
    By putting the term "open" there you are telling the script to run all the code in the "on open" block when triggered by the folder action handler. To make the folder action active you'll need to save the droplet in your ~/Library/Scripts/Folder Action Scripts folder, and then you'll need to attach it to something by control-clicking the desired folder and/or using the Folder Action Setup Utility to connect script to folder.

  • Why can't I save for web in a specific folder using actions?

    I cannot for the life of me figure out how to save in a specific folder desitnations when using Actions and Saving For Web with CS6 PS for Windows. It ALWAYS defaults to last folder used. I am not Batch Processing, just using Actions on one image at a time. I have 3 of these actions. Action one is for "Thumbnail" folder, Action two is for "Full" folder, and Action three is for "Large" folder. All these actions are doing is saving for web into these folders (path displays correctly in Action script). HOWEVER after I successfully  use Action one and save into the Thumbnail folder and move on to Action 2, it wants to save back into Thumbnail AND NOT into Full folder. In short I now have 3 actions saving to the same folder even though my recording designated 3 different locations. HELP!

    Ok...I switched to my home Mac and was having similar issues with the toggle Save for Web window on. Saving to same folder even in Mac OS. Tried your way by keeping toggle off and it worked, saving diff images to different folders. I guess I have to figure a work around for the naming conventions however. My original is a 5 digit number lets say 11111.jpg. When I duplicate / use a sizing action I get two additional photos named 11111 copy.jpg.  That is why I kept toggle window on in CS3 so I could simply paste the 11111 name back in the dialogue window so I'd have three diff size photos in three diff folders named 11111.jpg.
    These steps might seem super basic but I do these steps for a website all day everyday three months straight without issue and I guess I have to adjust. I usually use orignal photos and have to rename.  Is there a way to Duplicate images as the same 11111.jpg instead of 11111 copy.jpg? That way I can just rename the photo at the beginning (red_flower_000ddafjdflj to 11111.jpg) and not use toggle (or rename at all).

  • Tabs: previous versions allowed for saving all tabs in a bookmark folder. The new tab groups do not behave this way. How can I save permanent set of tabs as a group that is available later, like the folder of bookmars was?

    tabs: previous versions of firefox allowed for saving all tabs with a group name, so you could open them all again later at your convenience. The new firefox 4.0.1 has a new tab feature, but the tab groups do not seem to persist once you shut down, and are not saved as a folder in your bookmarks. What am I missing? How can I do what I want (save permanent set of tabs as a group that is available later, like the folder of bookmarks was)? Thanks

    Right click one of the tabs, the "Bookmark all tabs..." option.
    Does it do what you want?

  • How do I change the default folder for saving contacts?

    I have happily used Outlook for several years for POP accounts.  My recent addition of an Exchange account has hijacked several default behaviors that I was used to.  For one,  contacts are now saved by default in the exchange related contact
    folder instead of the folder that is associated with my primary POP account.  How do I reconfigure Outlook to saved contacts to my preferred folder, so that I don't have to constantly move the new contacts after they are saved?  I do not want this
    information on the exchange account.  This bad behaviour occurs no matter what email account is read, from which I am saving the contact info.
    To reproduce the problem:  Open a message in the POP email, right click on the FROM email address, choose Add to Contacts from the menu, find the contact stored in the exchange contact folder instead of the contact folder for the POP account (the folder
    that Outlook USED to save to prior to adding the exchange account).
    Work around: (annoying the first few times, mentally unhealthy after more than a few) Save the contact, then manually move it to the correct folder.

    Hi,
    What version of Outlook are you using?
    I have test this in Outlook 2010/ Windows 7.
    If set POP as default outlook data file(.pst),
    Open a message in the POP email, and right click "Add to Contact" in FROM with External email address, it will save to POP contact folder.
    If the Email address end with @Exchange.com, it always save to Exchange contact folder, no matter what is default email account, maybe this behavior by default.
    Hope this helps.
    William Zhou
    TechNet Community Support

  • With Netscape all of the Webcam shots from live feeds were automatically saved in my cache folder and I could simply open my cache send the saved files into AcDsee and convert them into jpgs, It would save as many as I would allow space for. With firefox

    I cant retrieve my images from webcams that are cached any more with mozilla. With netscape all of the live webcam images from live cams were automatically saved in my cache folder and all i had to do was open it send the files to acdsee and turn them into jpgs. It would save them untill the Cache ran out of room no matter how many files or sites I had running. Mozilla seems to save what it wants when it wants and often dose not save any that I can retrieve because I believe it is bulking them into Cache 123 or 4 and those i cant open to retrieve the files. Sometimes it saves 100 or so and sometimes 2 or 3 sometimes 10 or more but i don't seem to have any control over what it does or does not save to retrieve no matter how much space i allow for the cache to save.
    == This happened ==
    Every time Firefox opened
    == I finally gave up trying to keep netscape due to all the ridiculess popups and continued reminders from you saying i had to switch over

    You have or had an extension installed (Ant.com Toolbar) that has changed the user agent from Firefox/3.6.3 to Firefox/3.0.12.
    You can see the Firefox version at the top and the user agent at bottom of the "Help > About" window (Mac: Firefox > About Mozilla Firefox).
    You can check the '''general.useragent''' prefs on the '''about:config''' page.
    You can open the ''about:config'' page via the location bar, just like you open a website.
    Filter: '''general.useragent'''
    If ''general.useragent'' prefs are bold (user set) then you can right-click that pref and choose ''Reset''.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • Action in Interactive Script for IC Webclient

    Does anybody have experience with creating an Interactive Script action for IC Webclient in CRM 4.0 with SIE?
    According to the cookbook (see thread IC WebClient Consultant's Cookbook) for the Service Industry Extension you can create an action without using Java. In the action definition you can directly enter the name of the ABAP class that contains the method to be executed.
    However, when the script is executed the action does not seem to work. In fact there is no error or dump that shows it has done anything.
    I have followed the instructions as described in chapter 2.2.2. of the document.
    Your help is appreciated.
    Thanks, Nico

    Anyone?

  • How do I remove folder action for folder that doesn't exist?

    I set up a folder action to monitor a folder on a PC server. This server no longer exists but the folder action is still trying to monitor it. When I start the Folder Actions Setup it looks for that folder and cannot find it, throws an error and then tries to find the folder again, it does this indefinetly and I cannot open the Folder Action Setup util to delete the folder in question. I have deleted the plist files com.apple.folderactions.plist and com.apple.folderactionsetup.plist and I cannot

    Did you restart the computer?  If not there may still be a process running.  You can look for the process in Activity Monitor as well as kill it using AM.  It's also possible that installing a folder action also installs a launch agent or daemon, so check inside those folders in the /Library/ folder and the /Home/Library/ folder to see if one is there that is associated with your old folder action.
    Unfortunately, the normal way of uninstalling a folder action requires the old folder to which that action was attached.  I'm not sure just what OS X does when it creates and attaches a new folder action, so you may need to hunt around to find out if there are remaining pieces of it that still need to be removed.  A good search tool for this is Easy Find - MacUpdate or CNET Downloads.

  • Implementing 2 Badis for adding new internal follow-up actions and saving

    Hi Guys
    I would like assistance with the implementations of two badis in EMW.  The one badi is called /SCWM/IF_EX_QFU and is used for adding new internal follow-up actions and the second badi is called /SCWM/EX_QFU_SAVE and is used for saving the new follow-up actions that that have been created.
    Regards
    Maud

    Hi Guys
    I would like assistance with the implementations of two badis in EMW.  The one badi is called /SCWM/IF_EX_QFU and is used for adding new internal follow-up actions and the second badi is called /SCWM/EX_QFU_SAVE and is used for saving the new follow-up actions that that have been created.
    Regards
    Maud

  • Is there a way to save a job action for YouTube upload in Compressor 3.5?

    Is there a way to save a job action for YouTube upload? I have about 25 - ten minute clips I want to upload and they all pretty much have the same description and tags. Is there a way to save/make a preset of the job actions that way I don't have to keep inputing the same usernames, passwords, descriptions, tags? Thank you

    the method mentioned by benwiggy will certainly work.  If you want to an option that would give you more options, you could use a PDF Service.  You could then put a specific job on hold while still allowing others to use the printer.
    You can do this by opening AppleScript Editor (/Applications/Utilities).  You can copy and paste the following into an editor window --
    on open printJobs
    tell application "Finder"
    set trapFile to quoted form of POSIX path of (printJobs as string)
    end tell
    set defaultPrinter to do shell script "lpstat -d | awk -F: '{print $2}'"
    do shell script "lpr -P" & defaultPrinter & " -q " & trapFile
    end open
    Save the file as an Application.  You can name it something like Hold Print Job.  Then just put it in the PDF Services directory in the Library directory of your Home folder <yourname>/Library/PDF Services.  You may need to make the PDF Services directory as it may not already be there.
    Once the file is in place, you can use it by using the PDF drop down menu at the bottom left of a print window.  That will send the file to the printer and put it on hold.  Others can still use the printer.  You can then print your file whenever you want.  Just open the print queue as mentioned by benwiggy.  Highlight the job that is Paused.  You will see a little curly icon at the very right (looks like a reload icon in a web browser).  Just click that icon and the job will start printing.

  • Image Sequences and Batch Processing: Can opening files from different folders as image sequences be set up as an action for batch processing?

    I have an ongoing series of tasks that necessitates opening the contents of a series of folders as image sequences.
    I'm used to setting up some fairly complex actions, including ones that are intended to be applied to all of the contents of materials in various subfolders, but for some reason I cannot get an Open-with-Image-Sequence-Checked action to set up in a way that will batch process correctly.
    Complicating matters is that the file prefixes (i.e., the letters before the sequential numbers) and the folders will always have different names from the last time the process had to be carried out.
    The steps I would like the action to carry out would be the following:
    1. Open Subfolder 1 - that is, Photoshop shouldn't be looking for a specific folder. It's just *any* subfolder to the current parent folder.
    2. Select first file in sequenced set of files.
    3. Open as an image sequence.
    4. Open Subfolder 2.
    5. Select first file in sequenced set of files.
    6. Open as an image sequence.
    ...rinse and repeat until Photoshop runs out of subfolders to check.
    Am I asking the impossible?
    Thanks!

    I'll look around there,  because I had posted something about this and was told to look here ps-scripts - Browse /Image Processor Pro/v3_0 at SourceForge.net  
    then this is the image here:
    is the result I received.  Granted I'm new to using scripts and actions for image processing large amounts of files.  

  • Creating an action for a template

    Hi, I'm in the middle of creating an action for a template I've created but have hit a couple of snags.   The template I have created has a few blank layers that I wish to fill with different images by importing them and clipping them to the blank layer.   My issues: 1) When I run the action I need to specifiy a folder and file location which gets stored in the action - when viewing that particular action will show up the full path of where to find that file - I do not want this. I would like the action to present to 'open' window to me to allow me to select a file of my choosing without having a predefined folder to go to...  2) When opening an image it will open on its own project window. When I select the image and copy + paste it into my template it requires me to select the template project. This action will insert a 'selection 2' action step when recording. Playing this back will cause a failure as it cannot find the project for an unknown reason. Is there a way of specifiying the project window name I wish to go to during recording?  I hope that is clear enough to understand. Hope someone has some solution for me.  Thanks, MJ

    You may want to look at my Phtoshop package "Photo Collage Toolkit"  It has four rules to follow when creating templates and some Photoshop Scripts.  Scripting is much more powerful then actions.  In the package there is a scripts to test templates your developing,  A script to build a template, a script to populate a template with you images, a script to interactivly populate a template with your images, a script to batch populate a template with your images and a script to batch populate a single image template with your images.
    Photo Collage Toolkit UPDATED Aug. 14, 2011 added a modified version of Rags Gardner www.rags-int-inc.com Copyright (c) 2006 CollageBuilder script.
    Documentation and Examples
    Download
    Optional templates 8.5x11 - 16MB
    Optional templates 8x10 - 51KB
    Optional templates 11x14 - 23MB
    Optional templates 12x12 - 12MB
    Optional templates 13x19 - 37MB
    Optional templates 16x16 - 4MB
    Optional templates 16x20 - 91MB
    Optional templates 20x24 - 125KB
    Optional templates Multi-Image - 113MB
    Optional templates One-Image - 106MB
    Optional templates PhotoBoard-11x14 - 231KB 

  • HELP PLEASE!! Acrobat will not recognise my csv file for a script

    Hi,
    I have this script which is below which I need to split a 300 page document which I need to split into 50 documents and name them with a csv file provided. I have the excel spreadsheet with column headed "filename" with 50 file names.
    When I select the data file to import after being asked to enter text at start of filename etc I see the message 'No filenames found - using "file-XX.pdf". Press Escape after continuing to cancel.'
    and then the error -
    RaiseError: The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.
    Doc.extractPages:83:Console undefined:Exec
    ===> The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder.
    file-0
    I have checked the number of rows in the csv with the one which i created the merge in Indesign and it is the same. I have also tried using google docs spreadsheet but acrobat doesnt recognise the URL.
    Thank you.
    script I am using -
    var CSV = function (data, delimiter) {
        var _data = CSVToArray(data, delimiter);
        var _head = _data.shift();
        return {
            length: function () {return _data.length;},
            adjustedLength: function () {return _data.length - 1;},
            getRow: function (row) {return _data[row];},
            getRowAndColumn: function (row, col) {
                if (typeof col !== "string") {
                    return _data[row][col];
                } else {
                    col = col.toLowerCase();
                    for (var i in _head) {
                        if (_head[i].toLowerCase() === col) {
                            return _data[row][i];
    function CSVToArray( strData, strDelimiter ){
        strDelimiter = (strDelimiter || ",");
        var objPattern = new RegExp(
                // Delimiters.
                "(\\" + strDelimiter + "|\\r?\\n|\\r|^)" +
                // Quoted fields.
                "(?:\"([^\"]*(?:\"\"[^\"]*)*)\"|" +
                // Standard fields.
                "([^\"\\" + strDelimiter + "\\r\\n]*))"
            "gi"
        var arrData = [[]];
        var arrMatches = null;
        while (arrMatches = objPattern.exec( strData )){
            var strMatchedDelimiter = arrMatches[ 1 ];
            if (
                strMatchedDelimiter.length &&
                (strMatchedDelimiter != strDelimiter)
                arrData.push( [] );
            if (arrMatches[ 2 ]){
                var strMatchedValue = arrMatches[ 2 ].replace(
                    new RegExp( "\"\"", "g" ),
            } else {
                var strMatchedValue = arrMatches[ 3 ];
            arrData[ arrData.length - 1 ].push( strMatchedValue );
        return( arrData );
    function isInt(n) {
        return typeof n === "number" && n % 1 == 0;
    var prepend = app.response("Enter any text to go at the START of each filename:");
    var append = app.response("Enter any text to go at the END of each filename:");
    var pathStr = app.response("If the PDFs should be saved in a sub folder, enter the relative path here:", "", "pdf/");
    this.importDataObject("CSV Data");
    var dataObject = this.getDataObjectContents("CSV Data");
    var csvData = new CSV(util.stringFromStream(dataObject, 'utf-8'), ',');
    var pagesPerRecord = this.numPages / csvData.length();
    if (isInt(pagesPerRecord)) {
        for (var i = 0; i < this.numPages; i ++) {
            var pageStart = i*pagesPerRecord;
            var pageEnd = (i+1)*pagesPerRecord - 1;
            var recordIndex = (i + pagesPerRecord) / pagesPerRecord;
            var filename = csvData.getRowAndColumn(i, "filename");
            if (!filename) {
                app.alert('No filenames found - using "file-XX.pdf". Press Escape after continuing to cancel.');
                filename = "file-" + i;
            var settings = {nStart: pageStart, nEnd: pageEnd, cPath: pathStr+prepend+filename+append+'.pdf'};
            this.extractPages(settings);
    } else {
        var message = "The number of pages per row is not an integer (" + pagesPerRecord;
        message += ", " + this.numPages + " pages, " + csvData.length() + " rows).";
    (which I found from another forum, but noone has answered me and I am desperate)
    Thank you in advance.

    As Thunderbird has already tried the password it has for the account, obviously none of those will work when you enter them. Often disabling anti virus scanning of email allows the download to occur without interruption.

  • How to create a single action for adding a border and signature for portrait AND landscape images???

    i would love to be able to create a single photoshop action for adding a border, plus a signature in the bottom right corner, that works for both portrait and landscape images.
    need i say more?!
    i already have an action that adds a signature in the centre of the border at the bottom of the image e.g. the image below. what i want though is for that signature to be on the RHS and for the same action to work for portrait images as well.
    supplementary info: reason for this is that I want to be able to export 300 wedding images (mix of landscape and portrait images) from lightroom in my pre-selected order (meaning the files are labelled from 001 to 300, ordered according to how the wedding day unfolded) and then use PS to add the border and the signature, in the same place, and for it to work for both orientations.
    i need this to work for full sized exported jpeg images, i.e. i want the files that i give on CD to my clients to include my signature in this manner. so I don't want to copy the initial layer and then reduce the second layer size to leave a border around the second layer.
    i hope i've been clear and that someone can help me here. I think that this sort of presentation makes such a difference to final printed image, and I DONT want to have to go to all 300 images picking out the landscape from portrait ones (although this may be what I have to do and wouldn't really take that long but surely there's a better way!!!!).
    Thanks in advance photoshoppers ...

    It is actually quite easy to do if you have a good understanding of how Photoshop works.  To be able to handle any size Landscape and Portrait you need to scale the document to a known width or height.  Once the document is resized to the width or height it easy.  When yot resize the document you use Image size with resample NOT checked.  Not a single image pixels is changed all the happens is the documents DPI is set to the proper DPI resolution to print that size.  This lets you add a border sized for and document.  You can use Canvas Size check relative and  leatve the anchor point centered and set width and height to 2" this will add 1"on all sides. Use Canvas size a second time move the anchor point to the top center check relative and set height 1" the will add an additional 1" border on the bottom.  You then record a text layer with your Name title or what ever to the top left of the image. Select all ant the align the text layer to the selection to move it to the bottom right.
    Adding a couple of scripts to the action you can make sure there is a background layer so the added canvas will be filled with pixels.  You can restore the document to its original DPI resolution to retain the images print size. Down load my crafting actions package it contains a dozen scripts to be used within actions. There are text file with tips and guidelines additionaly there is one on dealing with document size and includes a sample action set with a watermarking action the can watermark and size image. The Action set is also saved as a text file with additional comments I added my downloads can be found here http://mouseprints.net/Photoshop.html

Maybe you are looking for