The applescript function "export book" is listed in the library as follows:
I tried this with no success. The red marked statement ("which documents") doesn't seem to work as described.
so a statement like:
will be accepted, whereas "… which theFiles" will not.
But the variable "theFiles" (which should be a list) is completely ignored in the code above, you can supply anything, there is no error message and the entire book with all files contained is exported.
Any idea? Is that a bug?
so it looks like the function should also work with that parameter in Applescript, doesn't it?