basiljs / basil.js

An attempt to port the spirit of the Processing visualization language to Adobe Indesign.
http://basiljs.ch/
Other
245 stars 30 forks source link

b.MODEHIDDEN forgets current active page #18

Open b-g opened 10 years ago

b-g commented 10 years ago
#includepath "~/Documents/;%USERPROFILE%Documents";
#include "basiljs/bundle/basil.js";

function draw() {
  b.rect(0,0,300,300);
}

// b.go();
// b.go(b.MODESILENT);
b.go(b.MODEHIDDEN);

running the script with b.go() or b.go(b.MODESILENT) will draw the rect to page 2, whereas b.go(b.MODEHIDDEN) to page 1 :(

@bescreen could you look into this?

b-g commented 10 years ago

in the meantime the workaround is to manually setting the current page e.g. b.page(2);

trych commented 4 years ago

This needs to be re-tested in basil v2.0.