Adobe Illustrator Scripting Tutorial: Create a Basic Script

แชร์
ฝัง

ความคิดเห็น • 77

  • @anwralio
    @anwralio 4 ปีที่แล้ว +5

    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.

  • @annpl1374
    @annpl1374 4 ปีที่แล้ว +8

    Finally something about Illustrator scripting! Thanks a lot!

    • @reiamos
      @reiamos 2 ปีที่แล้ว

      do you know about any illustrator scripting course??

  • @zohaibmalik819
    @zohaibmalik819 4 ปีที่แล้ว +4

    Great start. I am gonna love this series and want to make scripts for Illustrator.

  • @BRODZELi
    @BRODZELi 4 ปีที่แล้ว +13

    Please more scripting tutorials about Adobe Illustrator.

  • @digitaloneup290
    @digitaloneup290 หลายเดือนก่อน

    Love this walkthrough-- thanks!

  • @mkelly01
    @mkelly01 4 ปีที่แล้ว +3

    The timing of this couldn't have been better. I'm just starting to create scripts for Illustrator.

  • @wubingje7859
    @wubingje7859 10 หลายเดือนก่อน

    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!

  • @1WillyDAVID
    @1WillyDAVID 3 ปีที่แล้ว +1

    Awesome, really appreciate this tutorial, it's my first contact with illustrator scripting

  • @deniss1770
    @deniss1770 3 ปีที่แล้ว +2

    Awesome video. Fast, but so informative. Thank you so much.

  • @amdival1823
    @amdival1823 4 ปีที่แล้ว

    Awesome, thanks for the video! There isn't very much Illustrator Scripting content on TH-cam.

  • @i-linedesign4917
    @i-linedesign4917 4 ปีที่แล้ว +2

    This is gold. Thank you Nate

  • @jacobgenet6127
    @jacobgenet6127 3 ปีที่แล้ว +1

    How do I specify the dimensions of the artboard when creating it?

  • @landrew13577
    @landrew13577 3 ปีที่แล้ว +1

    you are amazing, wish you got more subscribes

  • @Artistram3d1
    @Artistram3d1 3 ปีที่แล้ว +1

    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!

    • @NTProductions
      @NTProductions  3 ปีที่แล้ว +1

      I'm not sure that Acrobat has any extensibility unfortunately!

  •  2 ปีที่แล้ว +1

    How to open script editor?

  • @reiamos
    @reiamos 2 ปีที่แล้ว

    thank you! ¿could you recomend me a good full course of adobe illustrator scripting ?

    • @NTProductions
      @NTProductions  2 ปีที่แล้ว

      The one above this comment 🤔

  • @maninzn
    @maninzn ปีที่แล้ว

    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?

  • @harismasood-s1q
    @harismasood-s1q 3 หลายเดือนก่อน

    for bulk exporting i need a svg to eps 10 script please help me ?

  • @ayaxvlogs5984
    @ayaxvlogs5984 3 ปีที่แล้ว

    Thanks, bro! excellent tutorial!!

  • @jawadsikander007
    @jawadsikander007 2 ปีที่แล้ว

    hi would like to make a script but do not know where to start i kind of have plan can you help me please

  • @odnorob
    @odnorob ปีที่แล้ว

    We define a document variable at the very beginning (var myDocument), so why then create another variables (var doc) in each function?

  • @Lreystudios
    @Lreystudios 3 ปีที่แล้ว

    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.

  • @dwarfbard
    @dwarfbard 9 หลายเดือนก่อน

    I just wonder how you can run these scripts with one button press?

  • @timothygrey9900
    @timothygrey9900 4 ปีที่แล้ว

    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
      @NTProductions  4 ปีที่แล้ว +1

      Join our discord and we can probably help you out!

    • @timothygrey9900
      @timothygrey9900 4 ปีที่แล้ว

      Yep, of course)@@NTProductions

  • @rajataudichya895
    @rajataudichya895 2 ปีที่แล้ว

    What if I wish to get a script made from somewhen where should I search for freelancers

  • @อาจารย์ก้อ
    @อาจารย์ก้อ 9 หลายเดือนก่อน

    What program do you use to write?

  • @chandrua100
    @chandrua100 2 ปีที่แล้ว +1

    Could you make script for me pls! After effects!!!

  • @debnathmriganka2010
    @debnathmriganka2010 2 ปีที่แล้ว

    halo can you help me to edit some illustrator script and addition some feature on it.

  • @aidanbenbow6682
    @aidanbenbow6682 ปีที่แล้ว

    This really helps!

  • @scottdalton5591
    @scottdalton5591 4 ปีที่แล้ว +1

    Hey man, have you seen "The Expanse"? You look like James Holden (Steven Strait) aye.

    • @NTProductions
      @NTProductions  4 ปีที่แล้ว

      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

    • @scottdalton5591
      @scottdalton5591 4 ปีที่แล้ว

      ​@@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.

  • @jimmypapas6527
    @jimmypapas6527 3 ปีที่แล้ว

    what is that program youre using to write the script?

  • @meherulsabuz907
    @meherulsabuz907 ปีที่แล้ว

    need dot to dot tools in illustrator

  • @hananafif165
    @hananafif165 2 ปีที่แล้ว

    how to create panel in illustrator like u created on after effects?

    • @NTProductions
      @NTProductions  2 ปีที่แล้ว

      Same method, just use dialog type instead of palette

  • @Rapha_Carpio
    @Rapha_Carpio ปีที่แล้ว

    this is amazing

  • @vidyavasudevan541
    @vidyavasudevan541 4 ปีที่แล้ว

    Is there a way to extract coordinates of selected items and place all those coordinates in an excel file using scripts?

    • @vidyavasudevan541
      @vidyavasudevan541 4 ปีที่แล้ว

      also when I try to run scripts using textedit on mac, it gives me "Error 8: Syntax error Line:1"

    • @tubecronos
      @tubecronos 4 ปีที่แล้ว

      @@vidyavasudevan541 you're saving as Rich Text, you need to save the script as plain text

    • @tubecronos
      @tubecronos 4 ปีที่แล้ว

      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

  • @jbre333
    @jbre333 3 ปีที่แล้ว

    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?

    • @NTProductions
      @NTProductions  3 ปีที่แล้ว

      You just need a script to resize your artboard?

    • @jbre333
      @jbre333 3 ปีที่แล้ว

      @@NTProductions yes

    • @jbre333
      @jbre333 3 ปีที่แล้ว

      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!!!

  • @AskForMrbirds
    @AskForMrbirds 4 ปีที่แล้ว

    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()

    • @NTProductions
      @NTProductions  4 ปีที่แล้ว +1

      Just add an event listener to your window, and if you click outside of the .position of the UI, close the script

    • @AskForMrbirds
      @AskForMrbirds 4 ปีที่แล้ว

      @@NTProductions
      the event listener is 'click', ok but how I define the .position condition with click event

  • @sajjadabouei6721
    @sajjadabouei6721 3 ปีที่แล้ว

    thank you very much

  • @botsmandead
    @botsmandead 2 ปีที่แล้ว

    Супер. Спасибо

  • @fannycarlo9443
    @fannycarlo9443 3 ปีที่แล้ว

    how to select layer by name with illustrator script? please help

    • @NTProductions
      @NTProductions  3 ปีที่แล้ว

      1) Loop through document.layers
      2) if document.layers[i].name == yourName
      3) select that layer

  • @munispranav4763
    @munispranav4763 9 หลายเดือนก่อน

    Great.

  • @AlexandrSpirit
    @AlexandrSpirit 3 ปีที่แล้ว

    How to make a plugin or script in C++?

    • @NTProductions
      @NTProductions  3 ปีที่แล้ว

      Watch my videos on it

    • @AlexandrSpirit
      @AlexandrSpirit 3 ปีที่แล้ว

      @@NTProductionsI would like to see an example of creating a simple plugin for Adobe Illustrator with a GUI interface in C++

  • @jakob3110-o3c
    @jakob3110-o3c 3 ปีที่แล้ว

    Which program do you use to program the script?

    • @NTProductions
      @NTProductions  3 ปีที่แล้ว +1

      ExtendScript

    • @jakob3110-o3c
      @jakob3110-o3c 3 ปีที่แล้ว

      @@NTProductions Thanks for the quick reply.Can I also name layers with the help of a script?

  • @steveross6359
    @steveross6359 2 ปีที่แล้ว

    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?

  • @hakimabelbenyoucef4141
    @hakimabelbenyoucef4141 7 หลายเดือนก่อน

    Hello don.t find the script editor for illustrator

    • @NTProductions
      @NTProductions  7 หลายเดือนก่อน +1

      You can use extend script from the Adobe creative cloud or VSCode

    • @hakimabelbenyoucef4141
      @hakimabelbenyoucef4141 7 หลายเดือนก่อน

      @@NTProductions and then do I need to connect with my illustrator ?
      Thanks for your help btw

    • @NTProductions
      @NTProductions  7 หลายเดือนก่อน

      @@hakimabelbenyoucef4141 yeah both of those have the capability to connect to Adobe programs!

  • @CamiloMonsalve
    @CamiloMonsalve 4 ปีที่แล้ว

    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?

    • @NTProductions
      @NTProductions  4 ปีที่แล้ว +1

      myDocument is not the same as MyDocument

    • @CamiloMonsalve
      @CamiloMonsalve 4 ปีที่แล้ว

      @@NTProductions Awesome Thank you! and Sorry

  • @alexspelt9437
    @alexspelt9437 2 ปีที่แล้ว

    why

    • @alexspelt9437
      @alexspelt9437 2 ปีที่แล้ว

      lifes to short to still use var instead of let and const

    • @NTProductions
      @NTProductions  2 ปีที่แล้ว

      @@alexspelt9437ECMAscript 3 doesn’t support those, so you cannot

  • @danielcrompton7818
    @danielcrompton7818 ปีที่แล้ว

    Here is the new scripting guide abg.ee/wp-content/uploads/2019/10/Adobe-Intro-To-Scripting.pdf