11:50 this is written in the document "Scripting Guide " For the artboard, the default coordinate origin, (0,0), is the top-left corner, reflected in the ruler origin property of the artboard object. X coordinate values increase from left to right, and Y values increase from top to bottom. This changed in the CS5 release; to maintain script compatability, a document created by a script still uses the older system, with the origin at the bottom left of the artboard, and the Y value increasing from bottom to top. The page origin property of a document object defines the bottom-left corner of the printable region of the document as a fixed point.
Hi, thank you for the series of illustrator scripting tutorial videos. It's a life saver for understanding everything behind the scene. And, I wonder if it is possible for use to can create/modified charts that created in the illustrator? I have search through the internet, and it seems to be no such option if you do need to do automation on this. Thank you for the help in advance!
Brilliant tutorial. I may try some of this out. Hopefully, I don't do any damage to my computer or Illustrator functionality! =) I work in the graphics dept. of a company that specializes in trade shows. We work with Illustrator and Adobe Acrobat on a daily basis. The Acrobat files have line drawings and panel specs in them. We have to tediously type panel dimensions into our Illustrator file (or copy and paste). What I would like to do (or have someone else with coding experience) do, is to bring boxes into Illustrator according to their specified dimensions into my Illustrator file. So, in the end, my Illustrator file will have several boxes according to their sizes, including dimensions next to each one, along with the substrate, and quantity. Does this sound like something that can be done, or is it just wishful thinking? Thank you, Liked and Subbed!
Thank you for the video, will wait for more) Unfortunately, there almost no tutorials about scripting for AI. I'm not sure whether anyone can answer this question, but is there any way to restrict brush strokes to a specific vector? I know we can restrict strokes by 45 deg. by holding SHIFT. It'd be cool to be able to restrict strokes to custom vectors. Is there s scripting API for such restriction? I'm a newbie in scripting for AI, I've looked through the Scripting Reference, but haven't found the solution...
@@NTProductions hehe, think they're taking the piss if its the character I'm guessing. Anyhow good video man, finally see how its meant to flow. Really helped get me unstuck.
not to excel but you can write to csv. Check this tut where NT saves to JSON, you'll need to save as comma separated text instead. th-cam.com/video/gGFjkzX6y6g/w-d-xo.html
I am a designer who does not know scripting and do not have time while at work to learn this skill right now. I have learned how to use Actions to make repetitive tasks easier, but I have to resize my artboard, sometimes dozens of files a day(one at a time), to 8.33"W x 3"H to create proofs for customers. Is there somewhere I can go to have someone write one for me, for a reasonable price if required?
UPDATE: With the help from another TH-camr, I was able to create an action that draws a rectangle the size I need then convert that to an artboard. Not the ideal way to do it, but I figured it out. Thank you very much for your videos!!!
please do you know a way to make a script closes with a mouse click outside the script window, I searched and I can't make it work with addEventListener()
You say its how to begin, but wow just a few mins in totally lost... anything but easy by the looks of it... isn't there any drag & drop script editor tool?
I'm working with the version 23.0.1(64-bit) And I get Stocked creating the layers names. Check out the print screen: prnt.sc/tv9doy ¿What I'm doing wrong?
11:50 this is written in the document "Scripting Guide "
For the artboard, the default coordinate origin, (0,0), is the top-left corner, reflected in the ruler origin property of the artboard object. X coordinate values increase from left to right, and Y values increase from top to bottom. This changed in the CS5 release; to maintain script compatability, a document created by a script still uses the older system, with the origin at the bottom left of the artboard, and the Y value increasing from bottom to top. The page origin property of a document object defines the bottom-left corner of the printable region of the document as a fixed point.
Finally something about Illustrator scripting! Thanks a lot!
do you know about any illustrator scripting course??
Great start. I am gonna love this series and want to make scripts for Illustrator.
Please more scripting tutorials about Adobe Illustrator.
Love this walkthrough-- thanks!
The timing of this couldn't have been better. I'm just starting to create scripts for Illustrator.
Hi, thank you for the series of illustrator scripting tutorial videos. It's a life saver for understanding everything behind the scene. And, I wonder if it is possible for use to can create/modified charts that created in the illustrator? I have search through the internet, and it seems to be no such option if you do need to do automation on this. Thank you for the help in advance!
Awesome, really appreciate this tutorial, it's my first contact with illustrator scripting
Me too
Awesome video. Fast, but so informative. Thank you so much.
Awesome, thanks for the video! There isn't very much Illustrator Scripting content on TH-cam.
This is gold. Thank you Nate
How do I specify the dimensions of the artboard when creating it?
you are amazing, wish you got more subscribes
Brilliant tutorial. I may try some of this out. Hopefully, I don't do any damage to my computer or Illustrator functionality! =) I work in the graphics dept. of a company that specializes in trade shows. We work with Illustrator and Adobe Acrobat on a daily basis. The Acrobat files have line drawings and panel specs in them. We have to tediously type panel dimensions into our Illustrator file (or copy and paste). What I would like to do (or have someone else with coding experience) do, is to bring boxes into Illustrator according to their specified dimensions into my Illustrator file. So, in the end, my Illustrator file will have several boxes according to their sizes, including dimensions next to each one, along with the substrate, and quantity. Does this sound like something that can be done, or is it just wishful thinking? Thank you, Liked and Subbed!
I'm not sure that Acrobat has any extensibility unfortunately!
How to open script editor?
thank you! ¿could you recomend me a good full course of adobe illustrator scripting ?
The one above this comment 🤔
Great stuff! Here you showed how a script(.jsx) when executed outputted a .ai file. Is there a way to export/serialize an .ai file into .jsx?
for bulk exporting i need a svg to eps 10 script please help me ?
Thanks, bro! excellent tutorial!!
hi would like to make a script but do not know where to start i kind of have plan can you help me please
We define a document variable at the very beginning (var myDocument), so why then create another variables (var doc) in each function?
I just want to know how I can take a path or object and calculate sqft of object and print it to the screen with an arrow to the object.
I just wonder how you can run these scripts with one button press?
Thank you for the video, will wait for more)
Unfortunately, there almost no tutorials about scripting for AI.
I'm not sure whether anyone can answer this question, but is there any way to restrict brush strokes to a specific vector? I know we can restrict strokes by 45 deg. by holding SHIFT. It'd be cool to be able to restrict strokes to custom vectors. Is there s scripting API for such restriction? I'm a newbie in scripting for AI, I've looked through the Scripting Reference, but haven't found the solution...
Join our discord and we can probably help you out!
Yep, of course)@@NTProductions
What if I wish to get a script made from somewhen where should I search for freelancers
What program do you use to write?
Could you make script for me pls! After effects!!!
halo can you help me to edit some illustrator script and addition some feature on it.
This really helps!
Hey man, have you seen "The Expanse"? You look like James Holden (Steven Strait) aye.
Haha I have I my seen the first few episodes, but that’s a new one! Most people say I look like someone from breaking bad
@@NTProductions hehe, think they're taking the piss if its the character I'm guessing. Anyhow good video man, finally see how its meant to flow. Really helped get me unstuck.
what is that program youre using to write the script?
need dot to dot tools in illustrator
how to create panel in illustrator like u created on after effects?
Same method, just use dialog type instead of palette
this is amazing
Is there a way to extract coordinates of selected items and place all those coordinates in an excel file using scripts?
also when I try to run scripts using textedit on mac, it gives me "Error 8: Syntax error Line:1"
@@vidyavasudevan541 you're saving as Rich Text, you need to save the script as plain text
not to excel but you can write to csv. Check this tut where NT saves to JSON, you'll need to save as comma separated text instead. th-cam.com/video/gGFjkzX6y6g/w-d-xo.html
I am a designer who does not know scripting and do not have time while at work to learn this skill right now. I have learned how to use Actions to make repetitive tasks easier, but I have to resize my artboard, sometimes dozens of files a day(one at a time), to 8.33"W x 3"H to create proofs for customers. Is there somewhere I can go to have someone write one for me, for a reasonable price if required?
You just need a script to resize your artboard?
@@NTProductions yes
UPDATE: With the help from another TH-camr, I was able to create an action that draws a rectangle the size I need then convert that to an artboard. Not the ideal way to do it, but I figured it out. Thank you very much for your videos!!!
please do you know a way to make a script closes with a mouse click outside the script window, I searched and I can't make it work with addEventListener()
Just add an event listener to your window, and if you click outside of the .position of the UI, close the script
@@NTProductions
the event listener is 'click', ok but how I define the .position condition with click event
thank you very much
Супер. Спасибо
how to select layer by name with illustrator script? please help
1) Loop through document.layers
2) if document.layers[i].name == yourName
3) select that layer
Great.
How to make a plugin or script in C++?
Watch my videos on it
@@NTProductionsI would like to see an example of creating a simple plugin for Adobe Illustrator with a GUI interface in C++
Which program do you use to program the script?
ExtendScript
@@NTProductions Thanks for the quick reply.Can I also name layers with the help of a script?
You say its how to begin, but wow just a few mins in totally lost... anything but easy by the looks of it... isn't there any drag & drop script editor tool?
Hello don.t find the script editor for illustrator
You can use extend script from the Adobe creative cloud or VSCode
@@NTProductions and then do I need to connect with my illustrator ?
Thanks for your help btw
@@hakimabelbenyoucef4141 yeah both of those have the capability to connect to Adobe programs!
I'm working with the version 23.0.1(64-bit)
And I get Stocked creating the layers names.
Check out the print screen: prnt.sc/tv9doy
¿What I'm doing wrong?
myDocument is not the same as MyDocument
@@NTProductions Awesome Thank you! and Sorry
why
lifes to short to still use var instead of let and const
@@alexspelt9437ECMAscript 3 doesn’t support those, so you cannot
Here is the new scripting guide abg.ee/wp-content/uploads/2019/10/Adobe-Intro-To-Scripting.pdf