Skip to main content
Frip
Known Participant
June 10, 2021
Answered

Resize the object according to the size of the artboard

  • June 10, 2021
  • 3 replies
  • 1589 views

Hello,

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

Could someone help me please ?
Thanks !!
This topic has been closed for replies.
Correct answer Kazem Rahimi

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.

3 replies

Kazem Rahimi
Inspiring
June 12, 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.
Frip
FripAuthor
Known Participant
June 12, 2021

Hello,
Cool ! Where can I find it ?

Frip
FripAuthor
Known Participant
June 14, 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.


Thank you !!

CarlosCanto
Community Expert
Community Expert
June 10, 2021
Frip
FripAuthor
Known Participant
June 11, 2021

Great ! Thank you !!

femkeblanco
Legend
June 10, 2021

Do you have just one artboard?  

Frip
FripAuthor
Known Participant
June 10, 2021

Yes, just one. But a lot of files.