Limit a calculateNow script to a single page or pages?
Currently I am using the following script I found by Thom Parker to create a button that toggles automatic calculations on and off:
if(event.target.borderStyle == border.b){
// Perform Push Down Actions
event.target.borderStyle = border.i;
event.target.buttonSetCaption("Turn Calculations On");
// Darken Down Colors
event.target.textColor = ["RGB", 0.8, 0.8, 0.4];
event.target.fillColor = ["RGB", 0, 0, 0.7];
// Turn Calculations Off
this.calculate = false;
}else{
// Perform Pop Up Actions
event.target.borderStyle = border.b;
event.target.buttonSetCaption("Turn Calculations Off");
// Restore Up Colors
event.target.textColor = ["RGB", 1, 1, 2/3];
event.target.fillColor = ["RGB", 0, 0, 1];
// Turn Calculations On
this.calculate = true;
this.calculateNow();
Would it be possible to limit turning the automatic calculations on and off to a specific page or range of pages? I have over 600 radio buttons and limiting the calculation to a single page and/or a range of pages would really speed things up! Thank you for your help!
