Skip to main content
Participant
August 21, 2018
Question

block inDesign to queue a new script while code is still running

  • August 21, 2018
  • 0 replies
  • 194 views

I've created an arbitrary keyboard shortcut (cmd+shift+L) to automatically run a specific script.

If I press the keys 4 times in a row, the script starts running and when it finishes, the second starts right away (and it repeats the process until it runs the script for 4 times). Is there anyway to 'block' this?

I would like to, even if I press the keys multiple times, inDesign runs the script just once and only after it finishes that would allow me to run the script again (by pressing the keys shortcut).

Any ideas?

This topic has been closed for replies.