Forum Replies Created

Page 2 of 3
  • Rob Mcgowan

    February 24, 2017 at 10:47 pm in reply to: Set guideLayer property for shapeLayer not working for me

    hi, you are quite write however there I have tested this somewhat more and I am none the wiser…

    The code that sets guideLayer is in a library.

    The guideLayer is set fine if I call the fn from within the file that defines the fn.
    The guideLayer is not set if I call the fn from another file that #includes the library.

    If I copy the fn to the invoking script it works.
    If I copy the invocation to the defining script it works.

    It makes absolutely no sense.

  • Wrong again… DUIK sets guideLayers on nulls and solids but not shapeLayers.

  • It’s got to be me. DUIK manages to to set shapeLayers as guides.

  • Rob Mcgowan

    February 24, 2017 at 9:08 pm in reply to: add slider control in script

    Jeff Almasol’s rd_GimmePropPath.jsx script is just amazing.

    I hadn’t used it up to now as I’m on CS4 and I couldn’t seem to find a compatible version at redefinery.

    For the benefit of anyone else on an older version who might not know, there’s a copy of version 2.0 which does work on CS4 to be found at github.

  • Rob Mcgowan

    February 22, 2017 at 9:23 pm in reply to: add slider control in script

    Thanks that works absolutely great.

    I searched the 192 page ADOBE CS6 scripting guide and found about 25 references to ADBE. Thats helpful but its not add anything like a comprehensive overview of the ADOBE class hierarchy that a beginner needs to understand the material. (The 25 references come down to maybe two or three examples mostly involving masks.)

    I’ve tried fiddling around with the data browser thing in the debug tool and it’s helpful here and there but not much.

    So my question is (and I apologize because I have asked it here before in a slightly different form) if it’s not in the docs then where should a beginner progress to understanding this object hierarchy so they don’t have to keep nagging the clever people?

  • Rob Mcgowan

    February 22, 2017 at 8:45 pm in reply to: ADBE Vectors Group documentation

    Thanks. I’ve been opening the docs straight in browser. I’m downloading a proper reader now…

  • Rob Mcgowan

    February 22, 2017 at 8:21 pm in reply to: ADBE Vectors Group documentation

    And regarding the documentation, I have to wonder what bright spark issued several 200 page help files with neither an index or a table contents. It’s deplorable.

  • Rob Mcgowan

    February 22, 2017 at 8:09 pm in reply to: ADBE Vectors Group documentation

    hi, I’m writing scripts to build shape layers. So I’m ending up with stuff like;-

    contents.addProperty(“ADBE Vector Shape – Rect”);
    var myEllipse = contents.addProperty(“ADBE Vector Shape – Ellipse”);
    myEllipse.property(“ADBE Vector Ellipse Size”).setValue([controllerSize,controllerSize]);
    var myShapeFill = contents.addProperty(“ADBE Vector Graphic – Fill”);
    myShapeFill.property(“ADBE Vector Fill Color”).setValue(myFillColor);

    So, extracting the strings we have
    1 ADBE Vector Shape – Rect
    2 ADBE Vector Shape – Ellipse
    3 ADBE Vector Ellipse Size
    4 ADBE Vector Fill Color
    5 ADBE Vector Graphic – Fill
    6 ADBE Root Vectors Group

    Ellipse is Ellipse but Rectangle is Rect. 1 & 2 have “-” signs but 3 & 4 don’t. 1 & 2 refer to ADBE Vector Shape and 5 to ADBE Vector Graphic. In 6 Vectors is plural and Root is added.

    Without a reference it’s a bit hard to determine how the object model in the manual will translate.

  • Rob Mcgowan

    February 22, 2017 at 5:20 pm in reply to: Rename a null in script

    My bad…this is already answered (by Dan) but I didn’t find it when looking.
    see https://forums.creativecow.net/thread/227/19684

    it’s just

    myNull.source.name=”King of the World”;

  • Rob Mcgowan

    February 21, 2017 at 10:40 pm in reply to: Attempt to use new File() in AE CS4

    I’m wrong… #include works for expressions. Bring on the library…

Page 2 of 3

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