Skip to main content
neonimator
Known Participant
November 18, 2023
Answered

Can't find it in the JSFL: Apply to pasteboard, Hide editing controls, Bone style

  • November 18, 2023
  • 2 replies
  • 651 views

 

Hello everyone!

I hope it's okay that the topic includes three points. Still, they all belong to the API.

I am working on a small extension for Adobe Animate and could not find information about the three parameters in the "Animate JS API Documentation" on Github.

1. Properties > Doc > Document Settings > Apply to pasteboard
2. Properties > Frame > IK Armature > Hide editing controls and hints
3. Properties > Frame > IK Armature > Options > Style > None/Line

The History panel does not display the code of these operations.
Perhaps someone knows how to access these parameters?

    This topic has been closed for replies.
    Correct answer JoãoCésar17023019

    Hi.

     

    For the pasteboard check, you can run:

    fl.getDocumentDOM().pasteboardColorCheck = true;

     

    But unfortunately everything Ik related seems to be handled internally by Animate.

     

    Hide editing controls and hints:

    /Applications/<ANIMATE>/<ANIMATE>.app/Contents/Helpers/HeadlessAnimateApp.app/Contents/Resources/eve/piIKFrameHdr.eve

     

    Armature style:

    /Applications/<ANIMATE>/<ANIMATE>.app/Contents/Helpers/HeadlessAnimateApp.app/Contents/Resources/eve/piIKFrameOptions.eve

     

    The only references to IK in the JSFL documentation are the layer.animationType, frame.tweenType, and layer.tweenType properties as far as I can tell.

     

    Regards,

    JC

    2 replies

    JoãoCésar17023019
    Community Expert
    JoãoCésar17023019Community ExpertCorrect answer
    Community Expert
    November 29, 2023

    Hi.

     

    For the pasteboard check, you can run:

    fl.getDocumentDOM().pasteboardColorCheck = true;

     

    But unfortunately everything Ik related seems to be handled internally by Animate.

     

    Hide editing controls and hints:

    /Applications/<ANIMATE>/<ANIMATE>.app/Contents/Helpers/HeadlessAnimateApp.app/Contents/Resources/eve/piIKFrameHdr.eve

     

    Armature style:

    /Applications/<ANIMATE>/<ANIMATE>.app/Contents/Helpers/HeadlessAnimateApp.app/Contents/Resources/eve/piIKFrameOptions.eve

     

    The only references to IK in the JSFL documentation are the layer.animationType, frame.tweenType, and layer.tweenType properties as far as I can tell.

     

    Regards,

    JC

    kglad
    Community Expert
    Community Expert
    November 30, 2023

    @JoãoCésar17023019 

     

    do you know an api reference that lists the pasteboardColorCheck property?

    JoãoCésar17023019
    Community Expert
    Community Expert
    November 30, 2023

    Unfortunately no.

     

    I just used JSFL to iterate over the DOM object to look for this property.

    neonimator
    Known Participant
    November 29, 2023

    Hello. After creating this post, my IP was blocked on "community.adobe.com ". Login is only possible via VPN. I'm sorry if you wrote in private messages and I don't answer you for a long time.

    kglad
    Community Expert
    Community Expert
    November 29, 2023

    check your history panel.  you'll find stuff that can't be used has a red x (eg, apply to pasteboard).

    neonimator
    Known Participant
    November 29, 2023

    I checked, but hoped that the "red x" could be bypassed through the API.