Expand my Community achievements bar.

Could someone explain how to use of the object Thermometer?

Avatar

Former Community Member
Hi to all,



please, could someone write a real example explaining how to use the thermometer in order to indicate the progress of a process like to submit a document?



I need to do it exactly to indicate this process in Adobe Reader.



Thanks.



Dan
4 Replies

Avatar

Former Community Member
There's no such thing as a thermometer object in LiveCycle Designer.

Avatar

Former Community Member
There isn't in Designer, but it is supported by Acrobat and Reader through the App interface. Here's a simple sample that shows how to use it.



(Thanks to AALCD for posting the original script I used to make this sample).



--

SteveX

Adobe Systems

Avatar

Former Community Member
Sorry but I surely have explained my problem badly. I understand how to use the object thermometer perfectly.



I need to use this object in order to determine the progress of the document's transference when I submit a PDF form from Adobe Reader.



I'm having problems when I try to do this, and I would like to know if there exists some way to do it.



b I have tried the following:






var t = app.thermometer;





t.duration = 1000;

// How can I know this value?




t.begin();





t.text = "Please wait";









// Is this a madness?





while( event.target.submitForm( { cURL: [...], cSubmitAs: [...] } ) )

{

   t.value++;

}

t.end();






Thank you for your time

Dan