SplitStory script seems to be broken
I am typesetting a book that needs to have separately numbered footnotes for each short section; they typically end in the middle of a page, so I might have the last footnote from one section in the upper part of the page and the first of the next in the lower part.
Physically, I can get the result I want by inserting a blank 1-line split-column paragraph between the two sections, which forces the earlier note(s) to precede it. The problem is getting the numbering to start again from 1 in the new section. ID only allows section breaks at the top of a page, so I need to split the story repeatedly (potentially nearly 200 times in the whole book) whenever the section division comes in the middle of a page.
I thought the SplitStory script would do the trick, but it doesn't seem to work. Whether I have an insertion point in the text or select the frame the text is in, the script fails with the error message "AppleScript Error! Error Number: -2741 Error String: Expected "," or "}" but found identifier Engine: Default File: Applications/Adobe Creative Suite CS5/Adobe InDesign CS5/Scripts/Scripts Panel/Samples/AppleScript/SplitStory.applescript".
Any advice?
