I do not think it should be very difficult
You should post in the ID scripting forum.
It is true, I apologize for my clumsiness.
Be aware that you may not get any answer there if you don't show any attempts of your own.
I 'm a designer for 20 years , I have helped in forums many people to solve problems from Pagemaker to InDesign , Photoshop including Prepress , design, advertising ... but I have no idea programming scripts, so I do not how i can show some attempts of my own.
Sorry for the inconvenience
Don't feel attacked (even if I can understand it). The scripting forum has been polluted with lazy guys asking fanzy stuff for free so now we are more careful to whom we are working to help. And yes it starts with coding attempts or at least a demonstration of an intention to do so
Don't worry, I don't feel attacked, I just thought that aid was offered regardless of the level of knowledge of the user, I also believed that such a script would help many people. As I said, unfortunately inDesign not have any Actions panel as Photoshop, if it had it would be very easy to get what I need.
But don't worry I'll solve it with wit ... as I have worked all my life.
Thank you very much for tour interest, we will keep in contact.
As I said, unfortunately inDesign not have any Actions panel as Photoshop, if it had it would be very easy to get what I need.