Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Hi JC,
Oh, nice. Thank you so much for the quick response.
Vietanh.
Copy link to clipboard
Copied
No problem.