View Single Post
I know, it is 2010 and this solution is not in time for your deadline, but at least it is a nice solution for your next projects.

Use AppleScript to create a Table of Contents automatically.

Get it here: http://unitid.nl/2010/07/creating-a-...h-applescript/