i used that one. but it splits every page into its own frame ( all 63 page become 63 independent text frames). and i need to keep the inside sections together/threaded.
OK, just re-checked it again, and can confirm: script works exactly as advertised. Did you read a description?
Your selected frame will be unlinked from its previous frame. But the links from your selection to the end will be kept.
Note the script has no interface at all. Just be careful to select right text frame before running it.
What I would do:
1. Go to first text frame of chapter 4. Select it, run script.
2. Go to first text frame of chapter 3. Select it, run script.
3. Go to first text frame of chapter 2. Select it, run script.
From your screen shot, I see you're using completely different script. No surprise you get different results.
Your applescript is just intended to work that way!