Skip to main content
Participant
August 1, 2024
Question

[Animate][JSFL] Automatically complete Resolve Conflict

  • August 1, 2024
  • 1 reply
  • 329 views

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.

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    August 1, 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_prompt

    Regards,

    JC

    Participant
    August 1, 2024

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

    JoãoCésar17023019
    Community Expert
    Community Expert
    August 1, 2024

    No problem.