Dylan Chatelain
Community Beginner
Dylan Chatelain
Community Beginner
Activity
‎Jan 29, 2024
10:37 PM
1 Upvote
U'r function works but, the first answers by RobOctopus was more easy ahah
... View more
‎Jan 29, 2024
05:57 AM
3 Upvotes
Bonjours à vous mes amis graphiste et developpeurs, j'aurais besoin d'aide pour créer un Script dans Illustrator je m'explique : J'ai 500 fichiers à ouvrir -> Modifier la taille du plans de travail -> Save Exit J'ai cherché quelques scripts qui pourrait m'être utile afin d'automatisé tout ca, bémole je n'arrive pas à récupérer la taille de mon plan de travail avec la console JS : var doc = app.activeDocument; var artboard = doc.artboards[0]; artboard.artboardRect = [0, 0, 300, 200]; > var doc = app.activeDocument; var artboard = doc.artboards[0]; artboard.artboardRect = [0, 0, 300, 200]; Erreur: an Illustrator error occurred: 1346458189 ('PARM') Connaissez vous une technique qui me permettrai de modifié ce "artboard" ? Les scripts d'actions ne reconnais pas les actions éffectué sur les plans de travails. Si quelqu'un à une idée ou la solution je suis preneur ! Bonne fin de journée à vous ! Hello, my friends in graphic design and development! I need help creating a script in Illustrator. Here's what I'm trying to achieve: I have 500 files to open -> Modify the artboard size -> Save and close I've searched for some scripts that could be useful to automate this, but I'm having trouble retrieving the artboard size with the JS console: var doc = app.activeDocument; var artboard = doc.artboards[0]; artboard.artboardRect = [0, 0, 300, 200]; > var doc = app.activeDocument; var artboard = doc.artboards[0]; artboard.artboardRect = [0, 0, 300, 200]; Erreur: an Illustrator error occurred: 1346458189 ('PARM') I'm getting an error: "An Illustrator error occurred: 1346458189 ('PARM')". Do you know a technique that would allow me to modify this "artboard"? Action scripts don't seem to recognize actions performed on artboards. If anyone has an idea or a solution, I would greatly appreciate it! Have a great day!
... View more