Batch resize artboard on 400+ files via Actions or Script needed

I have over 400 AI files to process and I need to change the artboard size to the following specifications exactly on all files:
X: 108 px
Y: -108 px
W: 216 px
H: 216 px
Does anyone have a script for this? I did some digging and came up empty. Any help is greatly appreciated. Thank you!

its possible, but someone who can actually script will have to fill in the gaps here. this script accesses the artboard size:
app.activeDocument.artboards[0].artboardRect = [0,0,0,0];
i'm pretty sure the numbers are coordinates for the positions of the corners, but exactly how to translate that into a specific WxH i'm not sure. but if you can work that part out, you can record the script as part of an action (insert menu item), and then use the batch options to target a folder.

Similar Messages

  • Add layers from other psd file via action/batch (Or possibly script)

    Hi
    Brand new to this forum. Quick intro: Eivind from Norway, 32, Photographer, Nikon D300, CS5
    I have tried to make a action where i open 2 files, duplicate the layers from file2 to file1 and it works fine.
    But running the action as a batch i get in trouble, the action saves the from and to filenames when i duplicate the layers.
    Then i found the place function (File - Place..) but i ran in to trouble here also. When i place a psd file containing the layers it becomes smart objects and i can't edit the text layers directly.
    Background: I have a script that copys info from the filename to specific labeled text layers in photoshop. (Name_Age_Title.jpg) so i can batch process lots of files and add info boxes from the filename (Fantastic) Only problem is the i want to make lots of different layouts, logos, fonts. And no i have to adjust the action for every change. Would have been perfect to just have a action/batch/script opening the file, adding the layers from a template1.psd file, running the script adding text to the text layers and saving.
    Any ideas?
    Eivind

    No comments on this one?
    Maybe i have to do the scriping way, any ideas?
    Eivind

  • How can I batch resize images to a file size of 1 meg?

    I'm not the most technically literate mac user and would gratefully receive any help please.
    I have been asked to reduce lots of images of various large file sizes and dimensions to 1 meg. I am using Photoshop CS4 and am aware of the 'Image Processor' function under 'scripts' unfortunately it only allows me to adjust the image dimensions, but I need to reduce the file size so that every image is 1 meg and at 300 dpi, it doesn't matter about the image dimensions.
    Thanks so much!
    Jess

    You omitted to name the file format you want to use.
    If you use any compression the task is far less trivial than you might think.
    Trying to predict the effect of the compression (even if it were non-destructive) is not always sensible so the viable approach may be to save, check file size, if above intended one change dimensions, save, check file size etc.
    I think I have come across thread/s on this in the Scripting Forum but I can’t remember anyone ever posting a finalised Script for this.

  • How to name a layer with the file name - action or script???

    Hi all,
    Can anyone tell me if it is possible to automatically name a photoshop layer to be the name of the file itself?
    I have 600 files to do and need to automate the process.
    Thanks in advance for any advice.
    Marvo.

    Open ExtendScript Toolkit this can be found here:-
    PC: C:\Program Files\Adobe\Adobe Utilities
    MAC: <hard drive>/Applications/Utilities/Adobe Utilities
    Copy and paste the code into a new window and then save the code to:-
    PC: C:\Program Files\Adobe\Adobe Photoshop CS#\Presets\Scripts
    Mac:- [hard drive]/Applications/Adobe Photoshop CS#/Presets/Scripts/
    If photoshop was open, close and re-start it so that Photoshop can pick up the new script.
    Now you can create an action to run the script and do your save so that this action can be batched.
    To add the script to your action:
    File - Scripts - select the script (this will add the new layer)

  • Can Photoshop Batch Resize Tiff Files?

    I have quite a number of tiff files that I want to resize in terms of page dimensions and retain the same resolution / dpi. Can Photoshop batch resize tiff files?

    Yes Photoshop ships with a plugin Fit image you can record an action to re-size an image to fit within some number of pixels.  Image resolution setting and aspect ratio are not changed however the number on pixels the image will have will be less then or equal to the pixels size set.    For example if you set width and height to 2000px the largest size image you could have after the operation would be 1:1 aspect ratio square 4MP 2000x2000.  If your image has a landscape aspect ratio the re-sized image will be 2000px wide by less then 2000px high and if Portrait the re-sized is will be 2000px high be less then 2000px wide.  Bicubic Interpolation for the re-size.
    Once you record the single step action.  You can batch the action.  You can have batch open the image files and save over the original files or have batch save the resized files in a different location. Fit Image and Batch are both found in menu File>Automate>

  • Raw files & batch resizing

    Photoshop CS2 & CS3 will not open my NEF raw files {Nikon D300}.  Both versions have always opened my raw files.  Also, CS3 locks up when I batch resize jpgs.

    Out of curiosity, are the images remaining open in Photoshop as the batch is processing them, or are they closing one by one?
    If the former, you may just be overwhelming Photoshop CS3's abilities to maintain many open documents.  You might be able to correct that by adding a document close operation in the action you're batching.
    Another thought is this:  Recent versions come with a script called Image Processor, which sounds like it can do what you want.  What I don't remember is whether Photoshop CS3 had Image Processor.
    If this kind of work is common for you, and especially if you're seeing things break when trying to process a lot of data, you should consider upgrading your computer, your operating system, and your Photoshop to modern 64 bit standards.  All these things have made great strides in power and reliability in the last decade since 32 bit computers with only a few gigabytes of RAM and Photoshop CS3 were current.
    Another possibility, if you're not wanting to go down that road right away, might be to use another tool to do your resizing.  As one example, the free program IrfanView (for PC) can easily be set up to extract raw file preview JPEGs and to do batch resizing and format conversions.
    -Noel

  • Batch Resizing Based On File Size

    I have a lot of very large (400-600Mb) tiff files (from a scanner) that all have different ratios (some square, some 4:3, some extreme panoramic). Is there a way I can batch resize them all to a certain file size? (eg 200Mb)
    I've been looking everywhere but can't find anyone on any forums trying to do the same thing. Strange because i thought it might be quite a common problem.
    Thanks for any help/advice,
    Lewis

    Resizing is very much dependent on Image compression algorithms (or what ever they are called)… My Guess is that this is beyond the 'average' scripter if you wanted to deal with the open file data size then this can be done. If you want to deal with saved file's system sizes you may well be out of luck…

  • I have Adobe Photoshop 9.  I am a novice.  How can I resize photos in my files using batch resize?

    I have Adobe Photoshop 9.  I am a novice.  How can I resize photos in my files using batch resize?

    In the Editor, use File...Process Multiple Files.  See the Help for more info.
    Ken

  • How to call/Execute a dos batch file via LAN

    Hello,
    Can i execute remotely dos batch files?
    I have to execute bat file via LAN ex
    IP\dir\batfile.bat from abap code, is that possible?
    thanks in advance,
    Michal

    Hi,
    Use CL_GUI_FRONTEND_SERVICES=>EXECUTE method to run any application in your case batch file..
    The batch file you are trying to run should be accessible on presentation system i.e. user's machine.
    Regards,
    Vishal

  • Executing batch files via ODI cmd line tool

    Hi,
    I'm experiencing an issue when trying to run batch files via the ODI Cmmmand line tool with any agent that isn't the local agent. My call is simply the full filepath of the batch file. When I run with local agent everything works fine. However when I run with an agent configured in the Topology the process just hangs in the operator indefinately in a running state but never executes or produces any output and I have to kill it. Any ideas? The agent is installed on the same server as the ODI Studio instance I use when running the local agent

    Sounds like that on the remote agent, the batch job is waiting for a user key input and hence it appears in a hung state. You can add try to trace from Agent logs and echo combinations to know where is this happening
    In unix environment you can send keys programmatically. Not sure how to do that in the Windows environment.

  • How do I batch resize 5,000 photos via PS CS4 Extended?

    I have 5,000 photos that I took with my Go Pro camera in hopes to make a timelapse movie in Premiere. These photos come out of the camera roughly 1900x1200, and I'm interested in resizing all of them. I know that there are ways to do batch resizing, but after searching the web for hours I cannot find a tutorial that is much if any help in this matter. Help? Clearly resizing each photo would take WAY too much time, especially when discussing 5,000 photos.

    I would use Bridge select you photos and then clck on Tools/Image Processor. 
    There you can set the size you want.
    Would suggest you try it with a few before you go whole hog.

  • Batch Resizing within Aperture?

    Greetings-
    I shoot 400-600 images a day, thus I'm beginning to run out of hard drive space. I don't want to create a new vault of pictures on an external drive.  I'm willing to reduce the overall size of my photos in order to create some space on my drive.
    I'm at a loss how to batch resize groups of images in Aperture. It was an easy function in iPhoto.

    Spuds\'n\'Surf wrote:
    I don't want to skip a step, lose sharpness, image cropping/adjustments, or mess up my project/folder/album file structure in this process.
    What's the best way to do this and can it be done safely en masse? (We're talking about 120,000+ images)
    You just perfectly described a Referenced-Masters workflow. It works great for 200k+ images, the Library with its Previews lives on the internal drive and is always accessible. Masters live on external drives. The Library is backed up via Vaults and originals are backed up to redundant locations using the Finder before import into Aperture.
    Personally I have images managed on the internal SSD until editing is complete then convert to Referenced-Masters.
    IMO referenced Masters make far more sense than building huge managed-Masters Libraries.
    • Hard disk speed. Drives slow as they fill so making a drive more full (which managed Masters always does) will slow down drive operation.
    • Database size. Larger databases are by definition more prone to "issues" than smaller databases are.
    • Vaults. Larger Library means larger Vaults, and Vaults are an incremental repetitive backup process, so again larger Vaults are by definition more prone to "issues" than smaller Vaults are. One-time backup of Referenced Masters (each file small, unlike a huge managed-Masters DB) is neither incremental nor ongoing; which is by definition a more stable process.
    Managed-Masters Libraries can work, but they cannot avoid the basic database physics.
    HTH
    -Allen

  • Photoshop CS6 - Batch function will not save files

    OK, I have used the "Automate/Batch" function well over a hundred times, so this situation (first time using it in CS6) is VERY frustrating!
    Running Adobe CS6 extended v. 13.0.1 x32 on a Win XP sp3 OS.
    I have a slew of photos that need nothing done except to resize from the native file size to 6 in x 4 in @ 150 ppi and save into a new folder (to not override the original).  I have recorded the action multiple times now and each time I run the action, the files do not save! Here are the various parameters I've used:
    Attempt #1:
         Action Steps Recorded -
    Open
    Save for web (set size parameters here)
    Close
          Batch settings -
    Play Set: correct folder selected; Action: correct action selected
    Source: folder - selected folder where native files are located (on desktop)
    NO checkmarks next to any options
    Destination: folder - selected folder where small files should be saved (on desktop)
    NO checkmark on override action
    Did not change file naming parameters
    Result #1 - DID NOT SAVE FILES
    Attempt #2:
         Action Steps Recorded -
    Open
    Save for web (set size parameters here)
    Close
         Batch settings -
    Play Set: correct folder selected; Action: correct action selected
    Source: folder - selected folder where native files are located (on desktop)
    Cehckmark override Action "Open" commands
    Destination: folder - selected folder where small files should be saved (on desktop)
    NO checkmark on override action
    Did not change file naming parameters
    Result #2 - DID NOT SAVE FILES
    Attempt #3:
         Action Steps Recorded -
    Open
    Save for web (set size parameters here)
    Close
          Batch settings -
    Play Set: correct folder selected; Action: correct action selected
    Source: folder - selected folder where native files are located (on desktop)
    Checkmark override action "Open" commands
    Destination: folder - selected folder where small files should be saved (on desktop) 
    Checkmark override action "Save As" commands
    Did not change file naming parameters
    Result #3- DID NOT SAVE FILES
    Attempt #4:
         Action Steps Recorded -
    Open
    Image Size (set parameters here)
    Save as (set folder location here)
    Close
         Batch settings -
    Play Set: correct folder selected; Action: correct action selected
    Source: folder - selected folder where native files are located (on desktop)
    Checkmark override Action "Open" commands
    Destination: folder - selected folder where small files should be saved (on desktop) 
    NO checkmark on override action
    Did not change file naming parameters
    Result #4- DID NOT SAVE FILES
    Attempt #5:
         Action Steps Recorded -
    Open
    Image Size (set parameters here)
    Save as (set folder location here)
    Close
           Batch settings - 
    Play Set: correct folder selected; Action: correct action selected
    Source: folder - selected folder where native files are located (on desktop)
    Checkmark override action "Open" commands
    Destination: folder - selected folder where small files should be saved (on desktop) 
    Checkmark override action "Save As" commands
    Did not change file naming parameters
    Result #5- DID NOT SAVE FILES
    Please help!  This has never been a problem before CS6 and I truly am at my wits end trying to figure out why the files will not save.  I have several hundred files that I need to run this on, so doing it individually is not an option.
    Thanks in advance for any and all insights!

    I'm having a problem with Automating > Batch as well. Strange enough, I did a batch of other photos and it worked fine. Selecting a new set of folders is not working at all; the files simply pop open and then close but the destination folder remains empty. It also doesn't appear the actions are occuring since I don't see them highlighting as the automation runs. I have no idea why it would work then not. BTW, "Override Action "Save As" is unchecked.
    ~CG
    UPDATE: I put a "save as" command at the beginning of the action, then checked the "Override Action "Save As" box and it somehow works now, but not before stalling on an image (normally the last in the folder) and complaining that the image was being used in another program. The only other program opened was Bridge so I'm unsure why it had a problem. I closed both programs and ran the automation with nothing else opened and it worked ... ?? Confused, but not complaining (for now).

  • Problem trying to batch resize images from bridge.

    I am trying to batch resize images from bridge. I am on windows 7 desktop and using CC, I select the images in bridge, tool bar>tools>photoshop>image processor. After doing this, photoshop CC opens but no images open.

    open photoshop, open actions pallette, click new action (windows > actions (or Alt+f9)), click record, open your image, resize it, click stop action.
    then use file> automate > batch
    the action you just recorded will be ready to use, select the folder with all your photos (wise to work on a duplicated folder incase you mess up)
    run the action.  wait while photoshop opens and resizes the images one by one.
    check in folder if the images resized how you expected.

  • Problem with Batch Resizing in CS3

    I have a bunch of .jpeg pictures I want to resize.  I created a new action, I went to File - Automate - Fit Image and set the size to 1920x1080, closed but did not save the image. Then I stopped the action.
    Then I went to File - Automate - Batch and set the Action to my new action, set up the source and destination folders and clicked OK.
    However, after resizing the first picture in the source folder, I get the JPEG quality window opening and when I click ok, it just keeps opening the JPEG quality window after each picture is resized.
    Is there anyway to prevent this jpeg quality window from opening each time, so the action just resizes all the pictures ?  I'm using CS3 Photoshop?
    Thanks in advance,
    John Rich

    That could be a video card problem, so run a check on it.
    If changing drives be sure to deactivate CS3 before doing this (in Help menu).  Then activate once installed on new HD.  Best to do this with disks rather than just file transfer.

Maybe you are looking for