CS6 epubExportPreferences property in a book document is returning an error


i seem encountering unexpected error when trying access epubexportpreferences in indesign cs6 (version 8.0.1x403) book.

 

in cs5.5 able access epub export preferences via mybook.epubexportpreferences. in cs6 same line of code returns obscure error:

"error: epubexportpreferences"

 

i have no problems getting @ epubexportpreferences of indesign document (indd) in cs6. in cs5.5 needed access book's epubexportpreferences customize epub export preferences before exporting epub book document. assume method hasn't changed cs5.5 cs6?

 

to further test issue made quick script cycle through available properties in open book document. when run script hits epubexportpreferences property , returns error "error: epubexportpreferences".

 

 

var mybook = app.books[0]; (a in mybook) {           try {                     $.writeln(a + ": " + mybook[a]);           } catch(e) {                     $.writeln(a + " had error: " + e);           } } 

 

any suggestions? have found bug in cs6 dom?

thanks can offer,

/ed guild

can't help, can confirm i've reproduced problem. simply:

 

abook.epubexportpreferences

 

fails, while:

 

adoc.epubexportpreferences

 

doesn't.

 

dave



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support