Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: Does anybody know how to add group/folder with extend script

$
0
0

Should work like this:

        var elemLoc = new ElementLoc() ;        elemLoc.parent = this.book.HighestLevelElement  ;        elemLoc.offset = 0;        if (nextComponent.ObjectValid())            elemLoc.child = nextComponent.ComponentElement;        var newComponent = this.book.NewBookComponentOfTypeInHierarchy (folderName, Constants.FV_BK_FOLDER  , elemLoc);        

Same for groups.

Hope this helps

Markus


Viewing all articles
Browse latest Browse all 3715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>