Skip navigation
Currently Being Moderated

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

Apr 30, 2013 3:50 PM

Tags: #illustrator #script #batch #actions #resize #scripts #artboard #ai

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!

 
Replies
  • Currently Being Moderated
    Aug 15, 2013 9:47 PM   in reply to seanplibbert

    Did you ever find a solution to this? Would love to know I'm facing the same situation

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2013 3:32 AM   in reply to seanplibbert

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 16, 2013 3:41 AM   in reply to seanplibbert

    this thread goes in the right direction but meanders on to adjusting the artboard relative to the size of the artwork:

     

    http://forums.adobe.com/thread/287731

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points