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

[Animate][JSFL] Automatically complete Resolve Conflict

New Here ,
Aug 01, 2024 Aug 01, 2024

Hi masters,
Have a good day,

I'm working with some automation tasks with JSFL.

In my script, i copied(clipCopy()) a library from ScreenA.fla and pasted(clipPaste()) the library to ScreenB.fla. A Resolve Library Conflict dialog appears and blocks my process. 

I'm curious if there is a way to interact with the dialog by JSFL script. 

I'm looking forward to your support.

 

Thank you so much,
Vietanh.

294
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 ,
Aug 01, 2024 Aug 01, 2024

Hi.

 

There's no way to interact with the prompt as far as I can tell.

 

You'll need to workaround it by checking if the item exists in the Library first and if so do what you need.

 

The example below replaces an image without prompt by moving the existing file to a temp folder first.
https://github.com/joao-cesar/adobe/tree/master/animate%20cc/jsfl/import_to_library_without_replace_...

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
New Here ,
Aug 01, 2024 Aug 01, 2024

Hi JC,
Oh, nice. Thank you so much for the quick response. 
Vietanh.

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 ,
Aug 01, 2024 Aug 01, 2024
LATEST

No problem.

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