I keep looking at the "InDesign ExtendScript API" and it blows my mind, I can usually change parts of a script line to work when I have the whole line but find it hard to build from scratch.
That's fantastic though, Thank You
Just to further that conversation, would you or anyone else know if there is a command that would 'virtually press' the default or cancel button on any open Dialog box?
Just thinking of things like the DataMerge dialog that doesn't have Presets to run with?
1 person found this helpful
Well generally you would do everything but dealing with user interactions such as clicking on a button via script.
99,99 of InDesign is scriptable so it's likely you don't have to worry of shown dialogs.
I mean "clicking" cancel is basically not running your routine.
But in the extreme scenario, you can use system events on mac. Don't know the alternative on PC
Understood, as you say most of the time you wouldn't need it anyway and it's more inquisitive than required, I am on a Mac so will will have a look at the system events page and see what results I can get.
Thank you, Bren