Copy link to clipboard
Copied
Is there a way to tell illustrator to create a shape that is the same size as the art board when creating a new doc?
EX: I'm creating a wall wrap that is 158x103.
- I start by creating a new file with the art board set at those dimensions.
- The I have to create a box that is the same size as the art board.
My Question - Can illustrator create a shape to the art board size automatically without me having to put the document size in twice?
That would be a nice feature for the rectangle tool.:)
Best you can do without scripting, is with any document in correct color mode open
Copy link to clipboard
Copied
yes, it's possible with a script. Are you trying to write your own scripts?
Copy link to clipboard
Copied
Potenitally - Not sure how to set that funtionality though
Copy link to clipboard
Copied
That would be a nice feature for the rectangle tool.:)
Best you can do without scripting, is with any document in correct color mode open
Copy link to clipboard
Copied
Thanks!
Copy link to clipboard
Copied
If all you want is a rectangle the same size as the artboard, that can be done with one line of code.
app.activeDocument.pathItems.rectangle(0, 0, app.activeDocument.width, app.activeDocument.height);