Am 07.09.2012 14:46, schrieb Nicolas Paris: > Hello, > > I use scribus 1.4.1 , and adobe reader v9. > > I want to add to my formular one button. The goal of this button is to > "save as text" the formular (exactly the same as "File/save as text" from > adobe reader). > With a javascript action, I tried to make a new Report: > var rpt = new Report(); > > But the debbug console says : "ReferenceError: Report is not defined.", I > can't create a new report why ? Sorry, you can't do that with Adobe Reader, only with the full version. See the Adobe Javascript Reference.
> Is there a simple way to make a button that "save as text" ? > Where about Report constructor, why not working ? Try to use the doc.exportAsText() method. Greetings, Franz Schmid
