Forum Replies Created

Page 1 of 5
  • Meng Zhiqun

    January 11, 2024 at 1:09 am in reply to: batch import via CSV file

    HyperImport does that.
    https://aescripts.com/hyperimport/

    It allows local / online import, with .csv as well. Hope it helps!

  • Meng Zhiqun

    December 3, 2021 at 7:51 am in reply to: AE links to wrong Illustrator layers

    Hi Maarten,

    Something I realized from the ai to ae workflow is that if we have already animated the vectors, going into the ai file and changing the layer indexes will screw things up. For eg.

    If there are currently Layer1, Layer2, Layer3 in the ai file, adding a layer in between Layer2 and Layer3, naming the new layer “Layer3” and renaming the previous “Layer3” to “Layer4”, will break things. However if you add a Layer4, on top of the currently existing Layers1 to 3, it works fine.

  • Could there be a chance that your keyboard keys have been pressed? While drawing the mask using the pen tool, if the key “n” is pressed, the blending mode will be changed to none. If other keys are pressed, the mode will cycle through any modes that start with that letter. You can try pressing “a” to get it back to add.

  • Meng Zhiqun

    November 23, 2021 at 11:12 am in reply to: incrementing numbers line by line

    To explain the expression,
    “var valAry = value.split(“\r”);”
    This sets a variable name to the value.split(“\r”);

    “value”
    This is the property value, in this case, whatever text you enter.

    “value.split(“\r”);”
    This searches for any line breaks you have entered and split the value from a string to an Array.
    An array is like a group of objects and array indexing starts from 0 instead of 1.
    So if I have a basket of apples, the basket would be the Array, and the first apple would be basket[0], the second apple would be basket[1] and so on.

    “var curLine = “”;”
    This sets a variable name “curLine” and give it an empty string to be filled later.

    “for (var i=0;i<valAry.length;i++){
    //something
    }”
    This is generally called a for loop which I will break down more in the bottom.

    “var i = 0;”
    It sets a variable “i” to be 0. 0 because array indexing starts from 0.

    “i<valAry.length; i++”
    This sets valAry.length as the total number of loops to be done.
    for example, if your text has 2 lines, valAry.length would be 2, so if i starts from 0, it would finish the loop and see if it is still smaller than valAry.length. If it is smaller, i ++ plays out and i becomes 1 now and loops again..

    “curLine += i+1 + ” ” + valAry[i] +”\r”;”
    This sets the string for the variable “curLine” which was set earlier.
    Since i starts from 0 and I would like the first line to start from 1 instead, I added a i+1.
    valAry [i] is each line of text before each line break.
    “\r” is the line break.

    I hope this helps you understand things more! 🙂

  • Meng Zhiqun

    November 23, 2021 at 10:52 am in reply to: incrementing numbers line by line

    Actually you don’t really need sliders for this.
    You can paste this expression into the source text and each line you enter will add an index in front of the line. Just make sure you start a new line with “enter” or “return”, not “shift+enter” or “shift+return” as the latter causes problems. Have fun!


    var valAry = value.split("\r");

    var curLine = "";

    for (var i=0;i<valAry.length;i++){

    curLine += i+1 + " " + valAry[i] +"\r";

    }

  • Meng Zhiqun

    November 22, 2021 at 5:44 pm in reply to: Use script to freeze on last frame for 2 seconds

    Hey Rob,

    Of course! My examples were done in a rush. So I’m glad u could proof read it. 🙂 Have fun!

  • Forgot to add. I did the demo. You can download it here! Enjoy! 🙂

  • You can create a checkbox control. In this case, I named it “UpperCaseControl” and put this expression in the text expression field. Hope this helps!

    if(effect("UpperCaseControl")("Checkbox") == 1){

    text.sourceText.toUpperCase();

    }else{

    text.sourceText.toLowerCase();

    }

  • Meng Zhiqun

    November 19, 2021 at 3:16 am in reply to: Convert a 3D position to 2D position *and scale*

    Hi Gabriel,

    .toComp() is generally used for 2d layers. Have you tried .toWorld(), which is used for 3d layers?

  • Glad I could help! Have fun! 🙂

Page 1 of 5

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy