This object is a combined status window and progress bar that indicates to the user that a lengthy operation is in progress. To acquire a Thermometer object, use app.thermometer.var t = app.thermometer; // Acquire a thermometer objectt.duration = this.numPages;t.begin();for ( var i = 0; i < this.numPages; i++){t.value = i;t.text = "Processing page " + (i + 1);if (t.cancelled) break; // Break if the operation is cancelled... process the page ...}t.end();
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/JS_API_AcroJS.88.1178.html