Automating using Photoshop Actions & Excel document??

Hi - I'm new to automator and I wanted to know if it was possible to have automator run photoshop actions and also pull info from an excel document. Here is ideally what I’d like to do:
I receive hundreds of images (book covers & interiors) that I’d like to resize and rename automatically when they are Dropped into a folder.
There are 3 different resizes that I’d like to be done. I have the resizing actions in photoshop already. I run the automate>batch command in photoshop, but I’d still like to make it simpler.
Original files – These are how I receive the files and I clean them up to look like this.
- COVERS – i.e. 140394877213_ccvr.tif
- SPREADS – i.e. 140394877213_csp1.tif, 140394877213_csp2.tif, etc.
Here are the different folders
Folder 1(sized for catalog use) – action set up in photoshop cs2 that will size covers, another action to size spreads at a different size.
- covers – bookname.tif
- spreads – 140394877213_csp1.tif
Folder 2 (smallest sized cover) – action in photoshop to resize cover
- covers – 140394877213.tif
Folder 3(sized for powerpoint presentation) – action in photoshop that will resize covers to a certain size, and a separate action that will size spreads to another size.
- covers – bookname.tif
- spreads – bookname_csp1.tif, etc.
5 photoshop actions in total
When the original files are dropped into the specified folders (folder 1, folder 2, folder 3), a photoshop action is run that resizes all the files in the folder and also renames the files.
Can I do this? I have all the books and isbns in an excel document that I’d like automator or applescript to pull the information from the excel doc to rename the files accordingly.
Also, is there a way to record the names of the files I receive in an excel document?
Or even better, after the images are placed in the folder, can a script check the excel document (that has the listing of the booknames and isbns) and mark off which files where received and placed in the folder. I hope that was clear.
Any help or advice would be much appreciated!
MacBook   Mac OS X (10.4.8)  

ngb111,
I know this is possible through AppleScript as I just finished off a script that renames files based on an Excel list.
http://discussions.apple.com/thread.jspa?threadID=871047&tstart=0
It might be also be possible using Automator through some third-party Automator actions.
http://www.hanaan.com/Automatorbookonline/Automator%20Actions%20Download.html

Similar Messages

  • How do I install and use Photoshop actions

    I downloaded a zipped file with actions.  I've left the file zipped until I learn how to install the actions in Photoshop CC.  Any help will be appreciated.

    The Advanced menu item was removed by Adobe in Acrobat X. Don't know what a plug-in would do. It probably needs an update.
    It's very optimistic to think a plug-in written for one version of Acrobat will run without issues in a future version. The issues aren't usually big, but there's more often something than not.

  • Creating a photoshop action to save a batch of images as patterns

    I am trying to use Photoshop actions to script about a thousand image files into PAT files. I am running into a problem with actions when it comes to defining a pattern. The program naturally selects the filename as the name of the pattern when doing it manually, but when I do this while recording an action Photoshop logs the filename used in creating the action and then uses that filename for all sripted patterns. Is there a way to alter that setting to select the current file's name instead?

    You might want to move this thread to the general photoshop forum if tou want an action.  However your not going to be able to do create the action you want for when you record menu Edit>Define Pattern the "Pattern Name Dialog" will pop up and whatever is used in it will be recorded into the action.
    Also Photoshop Scripting DOM does not have a interface for creating and nameing patterns.  However you should bne ale to write a script to do what you want using code generated with Photoshop Scriptlistner Plug-in and modifying the hard coded name to a variable you set with somthing like the active document name.
    Before defining the patern you may be able to see if the name is all ready use for a pattern name so you can add something to the name to avoid duplicateing name.
    ScriptListner Code difine pattern
    // =======================================================
    var idMk = charIDToTypeID( "Mk  " );
        var desc14 = new ActionDescriptor();
        var idnull = charIDToTypeID( "null" );
            var ref12 = new ActionReference();
            var idPtrn = charIDToTypeID( "Ptrn" );
            ref12.putClass( idPtrn );
        desc14.putReference( idnull, ref12 );
        var idUsng = charIDToTypeID( "Usng" );
            var ref13 = new ActionReference();
            var idPrpr = charIDToTypeID( "Prpr" );
            var idfsel = charIDToTypeID( "fsel" );
            ref13.putProperty( idPrpr, idfsel );
            var idDcmn = charIDToTypeID( "Dcmn" );
            var idOrdn = charIDToTypeID( "Ordn" );
            var idTrgt = charIDToTypeID( "Trgt" );
            ref13.putEnumerated( idDcmn, idOrdn, idTrgt );
        desc14.putReference( idUsng, ref13 );
        var idNm = charIDToTypeID( "Nm  " );
        desc14.putString( idNm, "Pattern 5" );      <------ change "Pattern 5" to be a variable
    executeAction( idMk, desc14, DialogModes.NO );

  • Resize Photoshop actions for blogging

    I found this really useful set of actions for doing quick resize with watermark using Photoshop actions. You can always do a batch inside photoshop.

    I have working knowledge of photoshop and looking for this type of effects for my blog on blogging tips and I found it here .Thank you for the tips.

  • Does XSL create excel document ?

    Hi,
    i'd like to know if xsl can be used to generate excel document from a xml source. If you already did, did you encounter problems ?
    Where can i find some code snipets ?
    Thanks,
    Javamad.

    But you could set the response type to use Excel to open the page and it will read html or comma delimited text, etc.

  • Need help with automating text import/pasting/macro between Photoshop and Excel

    Hey everyone,
    I'm working on a large project now that seems extremely daunting, but I was hoping there would be some way to automate it using either Actions or some sort of macro program.  Here's the gist:
    I've created a template with 24 differently sized text boxes in the photoshop image file.  Each text feild has unique text that needs to be be pasted into it, which has been compiled in excel.  This wouldn't be too dificult to do, except I have to recreate this image and all 24 text fields aproximately 350 times.  None of the text boxes will remain static through all 350 images as text is the title, description, and demographic ratings/percentages/data for the topic of each image.  I did something similar manually last year and it took me about 3, non-stop 18 hour days to complete it.
    (the test template)
    Can anyone think of any way I could automate this process?  I'm thinking some sort of macro that copies cell 1 in excel, switches to photoshop, opens layer 1, pastes, switches back to excel, goes to cell 2, copies, back to photoshop, layer 2, pastes, etc, etc, then does a 'save as' in photoshop and revets to PS layer 1, EX cell 1 (on tab 2) to start the process all over again.  I have no idea if this would work or if there is another way to do this but I would really appreciate any help or advice you guys could give.  I don't have really any expreience using PS Actions or macro programs/scripts, so I may be over my head or overlooking a really simple way to do this.  If there's a way to do it, I'm persistent enough to figure it out and get it working. Doesn't really matter how it gets done, I just need to fill those text boxes as best as I can and as quickly as I can.
    Any help you all could give is really appreciated.

    Have you read up on the Variables support in Photoshop?

  • Automating Photoshop Actions

    Hi:-)
    I need a script which takes a folder of images and gets them ready for a website by
    1) opening each image and saving it for the web
    2) checking if any of its dimensions are above 500 - if not moving on to the next image and, if so,
    3) proportionally reducing that dimension to 500.
    Is this something I can do with Photoshop Actions alone? If not, can I use Applescript to accomplish this?
    Thanks a lot !

    Hi Mark thanks a lot.
    I tried option 2 today. Initially it was returning the filename without the extension (baseName) as a string with a space between each character (as in "f i l e n a m e")so I was getting the error message
    "Adobe Photoshop CS got an error: Folder some object wasn't found."
    I then slightly rejigged the on getBaseName(fName) handler to the following:
    on getBaseName(fName) -- File name without extension
    set x to "."
    set y to offset of x in fName
    set z to y - 1
    set baseName to ""
    repeat with i from 1 to z
    set baseName to baseName & character i of fName as string
    end repeat
    return baseName
    end getBaseName
    Now I get correct filename without the extension bu now I am getting the following error message which I don't understand:
    "Adobe Photoshop CS got an error: General Photoshop error occurred. The parameters for command “Save” are not currently valid."
    I ran the Event log while running the script and pasted below is what it recorded:
    tell current application
    choose folder with prompt "Please choose the folder containing Images" without invisibles
    alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:"
    end tell
    tell application "Finder"
    get every file of alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:"
    {document file "pismall.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppf_large.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppf_small.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa copy.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk, document file "ppfa_large.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk}
    end tell
    tell application "Adobe Photoshop CS"
    get properties of settings
    {color picker:Adobe color picker, interpolation method:missing value, export clipboard:true, show tool tips:true, keyboard zoom resizes windows:true, auto update open documents:false, show Asian text options:false, beep when done:false, dynamic color sliders:true, save palette locations:true, show English font names:true, use Shift key for tool switch:true, number of history states:20, create first snapshot:true, nonlinear history:false, smart quotes:true, image previews:yes, icon preview:true, full size preview:false, Mac OS thumbnail:true, Windows thumbnail:true, append extension:yes, use lowercase extension:true, ask before saving layered TIFF:true, maximize compatibility:ask, recent file list length:10, display color channels in color:false, use diffusion dither:false, pixel doubling:false, painting cursors:brush size, other cursors:standard, grid size:medium, use video alpha:false, gamut warning opacity:100.0, ruler units:pixel units, type units:mm units, column width:180.0, column gutter:11.990478515625, point size:postscript size, guide style:solid line, grid style:solid line, grid subdivisions:4, show slice numbers:true, use additional plugin folder:false, additional plugin folder:missing value, cache levels:4, use cache for histograms:false, maximum RAM use:50, use history log:false, save log items:metadata, edit log items:sessiononly, save log items file:missing value, best type:reference, default type:reference, class:settings-object}
    set ruler units of settings to pixel units
    end tell
    tell application "Finder"
    get document file "pismall.gif" of folder "photos2.fpbf" of folder "Desktop" of folder "bisd" of folder "Users" of startup disk
    alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:pismall.gif"
    end tell
    tell application "Adobe Photoshop CS"
    activate
    set display dialogs to never
    open alias "Macintosh HD:Users:bisd:Desktop:photos2.fpbf:pismall.gif"
    current application
    get current document
    document "pismall.gif"
    get height of document "pismall.gif"
    49.0
    get width of document "pismall.gif"
    116.0
    get name of document "pismall.gif"
    "pismall.gif"
    end tell
    tell current application
    offset of "." in "pismall.gif"
    8
    end tell
    tell application "Adobe Photoshop CS"
    save document "pismall.gif" in file "Macintosh HD:Users:bisd:Desktop:photos3:resized:pismall" of document "pismall.gif" as JPEG with options {quality:10} appending lowercase extension with copying
    "Adobe Photoshop CS got an error: General Photoshop error occurred.
    - The parameters for command “Save” are not currently valid."

  • Can i use automator with photoshop?

    I want to open a Keynote or PPT file select an image, open it in photoshop make the background transparent then save it back in Keynote. is this possible?

    Yes you can use automator with photoshop:
    You might wanna take a look at http://www.automatorworld.com/archives/photoshop-cs-automator-actions/
    But not sure if it does what you are asking for.

  • I have used photoshop for several months now when I login, I have lost all my fonts and actions... it is saying I have zero days left in my trial...

    I have used photoshop for several months now when I login, I have lost all my fonts and actions... it is saying I have zero days left in my trial...

    Hi rachel,
    Please refer to the help document below:
    Creative Cloud applications unexpectedly revert to trial mode | CS6, CCM
    Regards,
    Sheena

  • Use Relative Path for Photoshop Action?

    I have a Photoshop Action that is programmed to open an existing file located in a specific directory.  The path to this directory is an absolute path, i.e.:
    C:\Program Files\Photoshop Actions\filename.jpg
    As long as the Action can find the file in the specified absolute path, everything works fine.
    My problem is that if someone tries to run this Action on a different computer (like a Mac), the path specified in the action does not exist and the Action will not work.
    The simple solution to this would be to make the action open the file located at a relative path.  This way no matter what computer the action is run on, it will always be able to find the file.
    Unfortunately, I don't think Photoshop Actions allow relative paths.  Does anyone know if using a relative path in an action is possible?
    Failing this, how would I use a Photoshop Script to somehow direct the Action to find the correct location of the file?  Or is there a better solution?

    The idea that I use in the xtools installer and else where is this:
    1) Convert the action file to XML.
    2) Package the XML file and the apps/ActionFileFromXML script with your stuff.
    3) An installer script will do a 'replace' (or whatever) on the XML file so that the paths are converted to whatever is needed.
    4) The new XML is saved and then converted to a .atn file which is then loaded.
    There is an xtools forum at ps-scripts.com that may have some info in addition to the PDF file that comes with the package.
    -X

  • How to use the "Actions" in Photoshop Elements 11

    I am wanting to use the "Actions" in Photoshop Elements 11.  But when I get the actions box up, it is only showing a small list of effects to use.  The tutorials I have checked into all show a very long list of actions. When I click on the little arrow and click on "load actions", I am getting nothing. Everything is blank.  It says "No items match your search."  Please help! 

    To use the existing actions, try the following:
    1. Open one of the Action Sets, in this example Special Effects is the Action Set, by pressing the small arrow beside the set name.
    2. Then click on the name of the Action, in this example Faded Ink is the Action name.
    3. Then press the Play button to run the action.

  • I'm wanting to use the "Actions" in Photoshop Elements 11.  But when I get the Actions box up, it is only showing a small list of effects to use.  And no side bar to go any further.  When I click on the little arrow at top and then click on "load actions"

    I'm wanting to use the "Actions" in Photoshop Elements 11. But when I get the actions box up, it is only showing a small list of effects to use. And no side bar. So I can't go any further.  When I click on the little arrow at top and click on "load actions", I am only getting a box with empty space saying "No items match your search".  The folder at the top does say "Actions".  How do I get more effects?  The tutorials that I've checked into all show a long list of effects in their box.  Can anyone help? 

    To use the existing actions, try the following:
    1. Open one of the Action Sets, in this example Special Effects is the Action Set, by pressing the small arrow beside the set name.
    2. Then click on the name of the Action, in this example Faded Ink is the Action name.
    3. Then press the Play button to run the action.

  • Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels. For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one .. Than

    Hello, I use photoshop cc 10 days and I did a lot of files with layers and channels.
    For two days in two different locations that only happens in some documents when you reopen the job done no more .. Example 6 channels on the facts I see only one ..
    Thank you for your attention.
    Annalisa 

    Don't understand what you writing here.  Screen shoots would be most helpful.
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • I am using Photoshop CS5 on a new iMac with a wireless keyboard.  I used to be able to hit F11 to perform a custom sharpening action but now the F11 key is the volume control key and I have tried everything to disable or switch the volume key. I have also

    I am using Photoshop CS5 on a new iMac with a wireless keyboard.  I used to be able to hit F11 to perform a custom sharpening action but now the F11 key is the volume control key and I have tried everything to disable or switch the volume key. I have also tried assigning other function keys to initiate the action. Is there a simple solution to this? What am I missing?

    Try unmounting the volume on your iMac using Disk Utility. Then mount it again. You may need to reboot the laptop or relaunch its Finder process (using the Force Quit window) after remounting the drive on your iMac. Remember that no process may be accessing any files on the drive you plan to unmount, or the unmount will fail. Unmounting and remounting an external drive on my iMac made it become visible on my MacBook Pro after it had disappeared.

  • Opening an Excel document using I_OI_DOCUMENT_PROXY

    Hi,
    I'm currently opening an Excel document using the OPEN_DOCUMENT method of the I_OI_DOCUMENT_PROXY interface. A macro is then run to populate specified columns in the spreadsheet and then proceeds with printing the document.
    Within Excel, we've set Application.ScreenUpdating = False, which hides the document from the user. When launching the document directly from the local drive (not from SAP), it doesn't get displayed.
    However, calling it from SAP seems to bring up Excel, and it shows the processing of the macro as well as the automatic printing and only then will Excel close.
    My question is, is there anyway we'd be able to run the Excel macro and print the spreadsheet without Excel ever opening at all?
    Thanks and regards,
    Adeline.

    Hi,
    I'm currently opening an Excel document using the OPEN_DOCUMENT method of the I_OI_DOCUMENT_PROXY interface. A macro is then run to populate specified columns in the spreadsheet and then proceeds with printing the document.
    Within Excel, we've set Application.ScreenUpdating = False, which hides the document from the user. When launching the document directly from the local drive (not from SAP), it doesn't get displayed.
    However, calling it from SAP seems to bring up Excel, and it shows the processing of the macro as well as the automatic printing and only then will Excel close.
    My question is, is there anyway we'd be able to run the Excel macro and print the spreadsheet without Excel ever opening at all?
    Thanks and regards,
    Adeline.

Maybe you are looking for

  • MS-6570 (K7N2) all memory slots in use?

    Hi folks, and thanks very much for letting me participate on this forum. As a user of the famous k7n2-l (the first one with fsb 333) I use to have two memory sticks of each 256 MB of RAM from Infinion (333) in slots 1 and 3, because I want to take ad

  • Change the 'No data found.' message in a report region

    I've got a report region (PL/SQL source) which sometimes returns no data, giving a 'No Data Found.' message. I couild have sworn there was an option to choose a custom message in the region definition when no data is returned - but I can't see that o

  • Image in header of print (JTable)

    Hello, I have a question about printing a JTable. I use the following code which works well but I want to extend my print with a image (a logo) in the header of every page. What is the best way to achieve this? My second question is how I can change

  • Is it possible to explicitly call a doPost or do get method ?

    Hi, I have a scenario where i need to call a servlets method doGet or do Post explicitly from another class. Is it possible? If not possible then what is the other way of solving my problem. Please find my scenario below.] I have a hashMap set in the

  • MCHBH and MARDH tables are not equal

    Hi, We were trying to find periodic stock for batches, while we realise that MCHBH table total batch stock and MARDH total stock is not equal for an example of a material. Is that can be possible? Which table or bapi function is right for periodic ba