Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Explorer ,
Nov 18, 2023 Nov 18, 2023

 

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?

Untitled-1.png

541
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 29, 2023 Nov 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

image.png

 

Armature style:

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

image.png

 

The only references to I

...
Translate
Explorer ,
Nov 29, 2023 Nov 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2023 Nov 29, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 29, 2023 Nov 29, 2023

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2023 Nov 29, 2023
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 29, 2023 Nov 29, 2023

I didn't see it either, but I was hoping I missed something, or the developers have a newer version of the documentation and they will share the secret. Who knows, maybe it will happen)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2023 Nov 29, 2023

you could make a request.   to report bugs or ideas or wishes to adobe: for applicable apps, use https://helpx.adobe.com/ie/x-productkb/global/how-to-user-voice.html

 

for createive cloud assets:

bugs, https://community.adobe.com/t5/adobe-collaboration-experiences/ct-p/ct-adobe-collaboration-experienc...

 

requests, https://community.adobe.com/t5/adobe-collaboration-experiences/ct-p/ct-adobe-collaboration-experienc...

 

for others, use https://www.adobe.com/products/wishform.html

 

if neither show a place to report the issue, just leave it here. that's the best you can do.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2023 Nov 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

image.png

 

Armature style:

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

image.png

 

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2023 Nov 30, 2023

@JoãoCésar 

 

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2023 Nov 30, 2023

Unfortunately no.

 

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 30, 2023 Nov 30, 2023
LATEST

yikes.  that's terrible (to hear).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines