We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Hello everyone, Im having a bit of a problem on my startup script. The script simply scan if the open IND file contains any unwanted layers base on the list that I set on the script then it will show a dialog box with a list of those unwanted layers upon export. The problem is, whenever I press command+c Inside and outside the Indesign this dialog box keeps popping out. Is there any way to fix this? Thanks in advance
Can you show us the event listner that you have put in that code?
If you can share it, then we might get idea why it is behaving in that sense.
@Sunil Yadav Hey man! youre the one who helped me with this script and I really appreciate it, its very usefull. Unfortunately I cannot resolve the problem above. Heres the code:
Can you delete preferences of the application.
And restart your application again. Did you try that?
Yes, Unfortunately the dailog box keeps on showing whenever I copy a text from Indesign and paste it to other application. I have to correct the issue, the dialog box will pop out whenever I hit the command+v or paste any content from indesign to other apps.
just tested your script with InDesign 2021 on my German Windows 10 machine.
The good news: Ctrl + C will not invoke the dialog.
Maybe that's an issue on Mac OS only?
Or a specific issue on your personal machine?
Test with other machines. Also under Windows.
However, if I rename a layer to e.g. "Dieline", the dialog will come up, but it is not showing the offending layer name, if I try to export a selected rectangle on the page to e.g. JPEG. Answering the dialog with OK will invoke the dialog again, because [object ImportExportEvent] is fired twice.
Read out and monitor all property/value pairs of object e, the [object ImportExportEvent] to see, if you find one unique property/value pair in one of the two fired events that are different to find a hook that your function will dismiss the second fired event.
( ACP )
Forgot: I tested with InDesign 2021 version 22.214.171.124 on Windows 10.
What's your version of InDesign? What exact version of Mac OS ?
Is your machine a new one with the M1 chip?
( ACP )
We are using Indesign 2021 version 16.1 and Mac BigSur T2 Chip, and we all experienced the same issues when using commant+c
are there other startup scripts running?
( ACP )
There are only 2 startup scripts that Im currently using, the other script forces the Indesign file to change the visibility of the layers base on a list that I set within the script.