Modified story means it have lot of possibilities.. for example, if you add a cahracter, deleting a character, tracking changes, font change etc..
so every attribute change will give the last modified story..
I hope you have to check all possibilities!!!
I said the modified story means only add a cahracter. Or find the last place story.
Is there a simple way?
var paras = app.activeDocument.stories.everyItem().paragraphs.lastItem();
Thanks for your answer. But it was not that I want..
For example, Three frames and modified in the following order: "First", "Second", "Third".
How to find the last modified "Third" frame?
I want to get storyID of last modidied frame(or story).
Your script result.
It is output in the order in which the frame has been added.
It was resolved as eventListener.