How Create bookmark


hi

can 1 tell me how create bookmark using java script ?

i want create bookmark on billjoy, there problem in parameter of  bookmarks.add() function.

 

 

indesign::_application oapplication;

indesign::document objdoc;

objdoc=oapplication.getactivedocument();

indesign::pages pages= objdoc.getpages();

indesign::page  page =pages.getitem(colevariant((long)1));

indesign::textframes textframes =page.gettextframes();

indesign::textframe textframe = textframes.add(covoptional,(long)1433299822,covoptional);

textframe.setcontents(colevariant(l"billjoy"));

 

// want create bookmark on billjoy

 

indesign::bookmarks bookmarks = objdoc.getbookmarks();

bookmarks.add(

 

parameters destination of type  hyperlinkexternalpagedestination or hyperlinklpagedestination or

hyperlinkltextdestination or page.

 

how use these type of parameter.

 

thanks.



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

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

PProHeadless.exe has stopped working error when opening projects in Adobe Media Encoder CS6

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