Uh, do you mean Bruno Herfst's: http://www.sauce.nl/downloads/ExportMyBook.jsx?
Or do you have this one but you think it's just for CS3/4 because it says so?
Bruno Herfst 2010
Exports all stories in an InDesign document or book
It will only run the book script if no InDesign documents are open
Based on ExportAllText.jsx from Olav Kvern
Or doesn't it run under CS5/5.5?
... it doesn't run under CS5.5
Ah. Why not?
I have asked Bruno Herfst
he send me the new version
I was hoping you would quote the exact error message.
The scripting language evolves slowly from one InDesign version to another; sometimes, one can re-write the code to avoid the problem altogether, sometimes it's just a spelling change in the scripting dictionary, and sometimes it needs a few lines changed.
Of course it's fine if Bruno sends a corrected script straight to you, but remember this is a public forum where people come looking for solutions. If someone else has the same problem, what should he do? Also try to contact Bruno?