This content has been marked as final. Show 3 replies
from VB ObjectBrowser - I hope this helps you:
Function Add(FullName As String) As BookContent
Member of InDesign.BookContents
Create a new Book Content / Return value: The new book content / FullName: Full path name of the new book content
I need to do three things in this code.
1) I need to create a book.
2) THEN ADD all the file in that book(This all file are content in a folder).
3) Then save this book in the same folder from where i took the file.
I am trying use
app.bookContents.add(myPath + Save + ".indb");
But i am getting error as object does not support the property.
Can anybody help me to get this three things done.
"books" is a property of the app, so to create a new book, you do app.books.add(...). But bookContents is a property of a book, not of the app. Robin said as much in his post, which you chose to ignore.