5 Replies Latest reply on Apr 17, 2013 2:33 PM by doekewartena

    [basiljs] unlock master page items

    doekewartena

      If i make a new page then it adds all the items of my master page (duh).

      However i would like to unlock them so i can use them.

       

      I use basiljs (http://basiljs.ch/) for scripting so this is quite different i suppose.

      Some code of how to do it without basiljs would be helpfull as well since it's possible to combine.

       

       

      #includepath "~/Documents/;%USERPROFILE%Documents";

      #include "basiljs/bundle/basil.js";

       

       

      function draw() {

          // get items from first page

          var items = b.items(b.page(1));

          b.println(items.length);

      }

       

       

      b.go();