Skip to main content
H31920671tt8e
Participant
March 18, 2026
Question

What can you actually do with the tool Options File?

  • March 18, 2026
  • 2 replies
  • 100 views

I know there’s already the polystar options file but there’s no documentation on what I can actually write in the xml file. I’ve looked everywhere online does anyone know anything about this?

    2 replies

    JoãoCésar17023019
    Community Expert
    Community Expert
    April 1, 2026

    Hi.

     

    I haven't been receiving any notifications.

    As for the questions, I think this is pretty much the documentation available:

    https://github.com/AdobeDocs/developers-animatesdk-docs

    Or you can use the Wayback Machine (web.archive.org) in links like http://www.adobe.com/devnet, but I myself haven’t found anything much different from the current docs.

    The properties defined in the tool XML maps to the ones used in the notifySettingsChanged function in .PolyStar.jsfl.

    PolyStar.xml

    <properties>

    <property name="Style: " variable="style" list="polygon,star" defaultValue="0" type="Strings" />

    <property name="Number of Sides: " variable="nsides" min="3" max="32" defaultValue="5" type="Number" />

    <property name="Star point size: " variable="pointParam" min="0" max="1" defaultValue=".5" type="Double" />

    </properties>


    PolyStar.jsfl

    function notifySettingsChanged()
    {
    // ...
    nSides = theTool.nsides;
    pointParam = theTool.pointParam;
    style = theTool.style;
    }


    So besides defining the variable attribute for each property object, you can give it a name, the type of the variable and a default value.

    I think the bigger mystery here is the type of variables supported. The PolyStar sample only gives us a comma separated list that is interpreted as a dropdown menu by the Properties panel, and a range with a min and max numeric values, which becomes a numeric input in the same panel.

    What I think you could do is to dig for samples in Animate’s installation and configuration folder trying to guess search terms that are related to tools and that are not very generic like “gpubrush” or simply “tool”.

    If you are on a Mac, you can open a Terminal window and search for strings on Animate related folders using grep like this:

    grep -r “rectPrimitive” .


    This command will search for the term “rectPrimitive” recursively in the contents of the current folder.

    Or just use Finder’s built-in search feature.

    Regards,
    JC

    kglad
    Community Expert
    Community Expert
    March 19, 2026

    you can change the polystar tool limits.

    H31920671tt8e
    Participant
    March 19, 2026

    ik that but I’m asking for what attributes I could use in the xml file, the polystar example doesn’t even show that Boolean is a valid type.

    kglad
    Community Expert
    Community Expert
    March 19, 2026

    you can change the listed attributes.