• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Action to add specific dimension to left and right side of current Artboard?

LEGEND ,
Apr 09, 2017 Apr 09, 2017

Copy link to clipboard

Copied

I have an Action that sizes a single Artboard based on a user-defined rectangle. Later in the Action I want to automatically add 1mm to each side of the Artboard. Is this possible in an Action? I see no way to "add" to the current size since Actions have no variables. As a workaround I have tried to have the Action at least open the "Artboard Options" dialog, but this does not appear to be an "Actionable" event. Right now my only options seem to be a "STOP" directing the user to add to the Artboard size "manually" or have the redefine a rectangle that can be used to update the artboard size.

Any ideas?

Views

3.2K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 11, 2017 Apr 11, 2017

There are just three modifications required to add the dimensions only to the left and right side of the artboard. Example:

artboard_extender_left_right.aia.zip - Google Drive

By the way, I realized that the most recent English versions of Illustrator have some localisation issues with actions that are made with an international non-english version of Illustrator. If the action doesn't work in CC 2017 (english) it probably has to be re-recorded in that version in order to work properly.

Votes

Translate

Translate
Adobe
Community Expert ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

would it be possible to create a rectangle, use that to define the artboard size, then remove the rectangle, as part of the action? since it seems you can both set notes for objects and select objects by their note.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

Hi Doug,

Yes, that'll be my workaround. I was just hoping not to force the user to input more numbers since I simply need to add a specific amount to each side of the the artboard.

Not knowing Javascript is my real challenge.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

ah i see. the initial artboard is not a set size.

i wish i had more time to devote to scripting too. there was a period a few years ago where i learned some basics, but never had a chance to progress further.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

I know the feeling, Doug.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

Can you share the .aia file and include some instructions?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

Kobold Productions sincerely presents Craighead’s Artboard Extender:

craighead_artboard_extender.aia.zip - Google Drive

To test:

- Open a new document.

- Load the .aia file.

- Make sure that Align to Artboard is turned on in the Align palette.

- Play the action.

The sample action adds 5 mm to each side of the artboard. You can modify that value in action step 18.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 10, 2017 Apr 10, 2017

Copy link to clipboard

Copied

Kurt, you're the man! This does almost exactly what I need.

I think with a tweak or two it'll be there. I am actually trying to only expand the left and right sides of the artboard. I will work with the ideas you've given me and see if I can make the adjustment needed.

It really helps to have a fresh perspective! Really appreciate it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

There are just three modifications required to add the dimensions only to the left and right side of the artboard. Example:

artboard_extender_left_right.aia.zip - Google Drive

By the way, I realized that the most recent English versions of Illustrator have some localisation issues with actions that are made with an international non-english version of Illustrator. If the action doesn't work in CC 2017 (english) it probably has to be re-recorded in that version in order to work properly.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

the action works on my end, though as it keeps the German step names it can be a little hard to decipher what it is up to!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

Not that long ago your mother country used to be pretty good at deciphering secret German code.

Sorry, couldn't resist. Thanks for reporting that it works.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

i wonder if one could write an Enigma machine in javascript.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

You can.

Maybe you could even incorporate that in Illustrator scripts 🙂

Enigma-Simulation in Javascript/HTML

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 11, 2017 Apr 11, 2017

Copy link to clipboard

Copied

Works like a charm, Kurt. I am in your debt. I'll try to understand just how you did it and keep learning.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 30, 2023 Jul 30, 2023

Copy link to clipboard

Copied

Sadly, I don't seem to be able to access this. It's hidden behind some sort of controlled area.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 30, 2023 Jul 30, 2023

Copy link to clipboard

Copied

It has something to do with a major change that Google introduced a while ago when it comes to access older download links. Looks like one has to first ask for some sort of unlocking the links. I will take a look for a way to generally unlock them, but that may take some time.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 30, 2023 Jul 30, 2023

Copy link to clipboard

Copied

LATEST

Thanks Kurt.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines