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

Resize the object according to the size of the artboard

Explorer ,
Jun 10, 2021 Jun 10, 2021

Hello,

I would like to resize automaticaly my object (a square) to the size of my artboard.

Could someone help me please ?
Thanks !!
TOPICS
Scripting
1.2K
Translate
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 2 Correct answers

Community Expert , Jun 10, 2021 Jun 10, 2021
Translate
Explorer , Jun 12, 2021 Jun 12, 2021

https://www.dropbox.com/s/0a9e4jlq7ubvhkt/Fit%20to%20Artboard%20Ai.jsx?dl=0

 

This script is multi finctional.

if you select Only 1 object or one group of objets,  make fit to Active Artboard.

if you select 2 objects and run the script, fit under object to the top object.

try it.

Translate
Adobe
Guide ,
Jun 10, 2021 Jun 10, 2021

Do you have just one artboard?  

Translate
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
Explorer ,
Jun 10, 2021 Jun 10, 2021

Yes, just one. But a lot of files.

Translate
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 ,
Jun 10, 2021 Jun 10, 2021
Translate
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
Explorer ,
Jun 10, 2021 Jun 10, 2021

Great ! Thank you !!

Translate
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
Explorer ,
Jun 11, 2021 Jun 11, 2021
Hi .
I develope an script for execute this.
For do this just select object a s run the script . Dimension of the object
fit to the selected artboard.
Translate
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
Explorer ,
Jun 11, 2021 Jun 11, 2021

Hello,
Cool ! Where can I find it ?

Translate
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
Explorer ,
Jun 12, 2021 Jun 12, 2021

https://www.dropbox.com/s/0a9e4jlq7ubvhkt/Fit%20to%20Artboard%20Ai.jsx?dl=0

 

This script is multi finctional.

if you select Only 1 object or one group of objets,  make fit to Active Artboard.

if you select 2 objects and run the script, fit under object to the top object.

try it.

Translate
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
Explorer ,
Jun 13, 2021 Jun 13, 2021
LATEST

Thank you !!

Translate
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