Java Script Adobe Acrobat 5.0

O Adobe Acrobat 5.0 suporta java Script?
O que eu posso fazer com o java Script dentro do Acrobat?
Daniel
[email protected]

Acrobat 5 has been obsolete for more than 10 years! It sounds as if this was an upgrade looking for an even older version.
Let's forget that and look at the problem with Adobe Reader. What is the problem there?

Similar Messages

  • Where can I download Java and Adobe acrobat for games

    Where can I download Java and Adobe Acrobat for games?

    Sorry you can get  flash player for iPad  has flash player is dead
    Not sure about java  may be some one else can help you on that

  • Java Script in Acrobat

    I am trying to make a popup Menu under a button in Acrobat X. For this I added a Javascript in the Button menu.
    I get the impression that there is a limit to the amount of lines Acrobat can manage because I get error messages that are not logical and when I delete a random line everything is ok.
    Is there anybody with experience in this matter?

    It gives diverse SyntaxErrors. Missing spaces or other things in diffenet lines. There is really no logic in that. And when I reduce the ammount of lines, no matter what line I delete, it functions.
    I can give you the script on a point where it doesnot function anymore. The thing I added last was the second submenu. And thank you for reacting!
    var cChoice = app.popUpMenuEx
            {cName: "Tg. Winterberg",oSubMenu:
            {cName: "De Jazzbarones",cReturn: "2"}
            {cName: "Maas",oSubMenu:
            {cName: "Cash.",cReturn: "3"}
            {cName: "DOX - I Have a Dream",cReturn: "4"},
            {cName: "BonteHond/Pompei - Dutch Vinex Wonder Boys",cReturn: "5"},
            {cName: "BEER Muziektheater",oSubMenu:
               [{cName: "Dali, of hoe word ik beroemd",cReturn: "6"},
               {cName: "Ik ben niet bang",cReturn: "7"}]
            {cName: "BonteHond/NTjong - Zebra Zebra",cReturn: "8"},
            {cName: "BonteHond - Harig Hondje",cReturn: "9"},
            {cName: "De Toneelmakerij - KoudVuur!",cReturn: "10"},
            {cName: "De Toneelmakerij/Firma Rieks Swarte - De Storm",cReturn: "11"},
            {cName: "Esther de Koning/STIP",oSubMenu:
            {cName: "H.O.T.-het begin",cReturn: "12"}
            {cName: "Het Houten Huis",oSubMenu:
            [{cName: "Hotel Perdu",cReturn: "13"},
            {cName: "Beet!",cReturn: "14"}]
            {cName: "Het Laagland",oSubMenu:
            [{cName: "WIM IS WEG",cReturn: "15"},
            {cName: "ROBIN HOOD",cReturn: "16"},
            {cName: "KOFFERS OP REIS",cReturn: "17"}]
            {cName: "Hetpaarddatvliegt",oSubMenu:
            [{cName: "Later als ik dood ben",cReturn: "18"},
            {cName: "Rooi kop",cReturn: "19"}]
            {cName: "Maas",oSubMenu:
            [{cName: "Alleen op de Wereld",cReturn: "20"},
            {cName: "Wild Thing",cReturn: "21"},
            {cName: "De Nieuwe Jetse",cReturn: "22"},
            {cName: "Helaas Pindakaas",cReturn: "23"}]
            {cName: "Raaijmakers & Geerlings/STIP - Niet Huppelen!",cReturn: "24"},
            {cName: "Theater Gnaffel",oSubMenu:
            [{cName: "Apenstreken",cReturn: "25"},
            {cName: "Peter Pan en de verloren jongens",cReturn: "26"}]
            {cName: "Theater Sonnevanck",oSubMenu:
            [{cName: "Tijl Uilenspiegel",cReturn: "27"},
            {cName: "Engel met vieze voeten",cReturn: "28"}]
            {cName: "Tg. Winterberg/STIP - Op een klein stationnetje",cReturn: "29"}

  • Scripting in Adobe acrobat

    Hi
    Is there anyway you can script Adobe acrobat to automatically scan a document, i am using it to scan all incomming snail mail, but it annoys me i have to do it inside the program. is there a API?
    Regards,
    Allan Bogild Pedersen
    www.allan-bogild.com

    Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk

  • Can java script be executed inside Acrobat reader 7

    Hello All
    I am quire new to Acrobat. Please tell me if I can execute a java script in Acrobat reader.
    I am using itext library to add java script to a pdf and opening the pdf in reader and get the error
    NotAllowedError: Security settings prevent access to this property or method.
    Global.addWatermarkFromText:1:Document-Level:0000000000000000
    First question can I execute this javascript with Reader itself. If yes how should i get rid of this error

    The Acrobat SDK cannot be used to change the information shown for
    each method in the quick bar in the documentation. If that says the
    method does not work in Reader, then it does not work in Reader...
    I do not think there is any similar method for Reader (adding a
    watermark) - very much an Acrobat function. Unless you can pre-create
    the watermark as a form field, so you only have to change the text at
    runtime.
    Aandi Inston

  • Java scripting-linearized PDF

    Hi, 
    I m working with Acrobat X.  I don't know how to prepare java scripts for the below desired functions. Hoever i want to import some java scripts through Acrobat X "Action Wizard" for batch processing. If you can share these scripts, pls. provide .. 
    1) Java script for setting bookmartks as "Inherit Zoom" 
    2) Java script for initial page view "Bookmarks Panel and Page" only when book marks present in the document. 
    3) Java script for enabeling the PDF files for Fast web view as "Yes" 
    With Regards, 
    B..

    Hi Johnson,
    Thanks for update. Well, i have seen some off the self plug ins or softwares available for the batch processing of PDF files for the said functions. However there may be another way (other than Java scripting) for completing the task.
    Any idea......
    Regards,
    Bhaumik

  • Java script‐「GetTrackchange」について

    お世話になります。
    現在Win7にてInDesign CS5.5 を使用しております。
    「GetTrackchange」というスクリプトを
    adobeの公式スクリプティングガイドから見つけ出しました。
    http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/indesign/cs55-docs/In DesignScripting/InDesign-ScriptingGuide-JS-JP.pdf
    このガイドの212ページ目のスクリプトです。
    そのページの指示通り、
    アーカイブからダウンロードした完全版スクリプトは、
    最下部の通りです。 
    このガイドによると下記のスクリプトにより、
    「トラックされた変更点に順次移動できる」ということです。
    さっそくこのスクリプトを実行すると、
    新らしくInDesignドキュメントが作成され、
    「This is a story.」の文字が入ったボックスが作成されます。
    何度実行してもこの操作が繰り返され、
    「既存のドキュメント内で、順次変更点に飛ぶこと」ができません。
    確かに記述でそのように書かれていそうですが、
    その部分を消去したり、真ん中のnextItem関連のブロックだけ残して実行しても、うまくいきません。
    adobeの窓口にも問い合わせましたが、
    スクリプト開発がアメリカのためらしく、
    有力な情報はいただけませんでした。
    Java scriptについては初心者でして、
    ここで質問させていただくことにずっと躊躇しておりました。
    しかしadobeの公式スクリプティングガイドのスクリプトであること、
    Web情報を一定期間念入りに調べてもまったく情報が得られないこと、
    adobeへの問い合わせでも有力情報が得られなかったこと、
    以上を踏まえましても、解決にいたらなかったため、
    恐縮ながら、こちらで質問させていただくことにいたしました。
    私が希望する動作が可能なようでしたら、
    皆さんのお力をお貸しいただけると嬉しいです。
    ※2行目にInCopyの記述がありますが、
    InDesign上のアーカイブからダウンロードしております。
    実際のスクリプト
    //GetTrackchange.jsx
    //An InCopy CS5 JavaScript
    //Shows how to get Track change from doc.
    main();
    function main(){
    mySetup();
    mySnippet();
    myTeardown();
    function mySetup(){
    function mySnippet(){
    var myDocument = app.documents.add();
        var myTextFrame = myDocument.textFrames.add({geometricBounds: [0, 0, 12, 12], contents: "This is a story."});
    myGetChangeFromDoc();
    function myTeardown(){
    function myGetChangeFromDoc()
        //<fragment>
    var myDocument = app.documents.item(0);
    var myStory = myDocument.stories.item(0);
    //Story.trackChanges   If true, track changes is turned on.
    if(myStory.trackChanges==true)
      var myChangeCount = myStory.changes.length;
      var myChange = myStory.changes.item(0);
      if(myChangeCount>1)
       var myChange0 = myStory.changes.nextItem(myChange);
        //</fragment>
    function myGetChangeFromDoc1()
    var myDocument = app.documents.item(0);
    var myStory = myDocument.stories.item(0);
    //Story.trackChanges   If true, track changes is turned on.
    if(myStory.trackChanges==true)
      var myChangeCount = myStory.changes.length;
      var myChange = myStory.changes.lastItem();
      if(myChangeCount>1)
       var myChange0 = myStory.changes.previousItem(myChange);
    なにとぞ、よろしくお願いいたします。

    これでどうでしょうか。
    #target indesign
    #targetengine "session"
    (function () {
        function getChanges (stories) {
            var changes = [];
            for (var i = 0, storiesLength = stories.length; i < storiesLength; i++) {
                var story = stories[i];
                Array.prototype.push.apply(changes, story.changes);
                var tables = story.tables;
                for (var j = 0, tablesLength = tables.length; j < tablesLength; j ++) {
                    Array.prototype.push.apply(changes, tables[j].changes);
            return changes;
        function selectItem (item, activePage, zoom) {
            app.activeDocument.select(item);
            if (activePage) app.activeWindow.activePage = activePage;
            if (zoom) app.activeWindow.zoomPercentage = zoom;
        (function () {
            var changes = getChanges(app.activeDocument.stories);
            if (changes.length === 0) {
                alert("変更が見つかりません");
                return;
            var index = -1;
            window = new Window("window", "");
            stext = window.add("StaticText", [0, 0, 100, 20], "");
            stext.justify = "center";
            var group1 = window.add("Group");
            group1.orientation = "row";
            var prevButton = group1.add("Button", undefined, "前の変更箇所");
            var nextButton = group1.add("Button", undefined, "次の変更箇所");
            var group2 = window.add("Group");
            group2.orientation = "row";
            var zoomCheck = group2.add("CheckBox", undefined, "ズーム表示");
            var zoomList = group2.add("DropDownList", [0, 0, 100, 20]);
            zoomList.enabled = false;
            zoomList.add("item", "50%");
            zoomList.add("item", "100%");
            zoomList.add("item", "200%");
            zoomList.add("item", "500%");
            zoomList.selection = 3;
            zoomCheck.onClick = function () {
                if (zoomCheck.value) zoomList.enabled = true;
                else zoomList.enabled = false;
            var select = function (index) {
                stext.text = (index + 1) + " / " + changes.length;
                var zoom = (zoomCheck.value) ? parseInt(zoomList.selection.text.replace("%", "")) : false;
                var change = changes[index];
                selectItem(change.storyOffset, change.storyOffset.parentTextFrames[0].parentPage, zoom);
            prevButton.onClick = function () {
                index -= 1;
                if (index === -1 || index < 0) index = changes.length - 1;
                select(index);
            nextButton.onClick = function () {
                index += 1;
                if (index === -1 || index >= changes.length) index = 0;
                select(index);
            window.show();

  • Need help with Java Script to perform a calculation in Adobe Acrobat Pro 9 form

    I have a form (test) that I am creating in Adobe Acrobat Pro 9.
    I need help creating custom Java Script so I can get the desired answer.
    1) There are several questions in each group that require a numerical answer between 0-4
    2) There is a total field set up to sum the answers from all above questions
    3) The final "score" takes the answer from Step 2 above and divides by the total possible answer
    Any help on what Java Script I need to complete this would be greatly appreciated!
    I've attached a "spreadsheet" that shows it in more detail as well as what formulas I used in Excel to get the desired end result.
    Thanks in advance.

    Have you tried the "The field is the average of:"?

  • Java Scripting in Adobe Acrobat Pro

    Company that I work for wants to create a form using Acrobat Pro with Java Scripting that allows access to data source. Is that possible? It is only being sent out to 350 people. Would we have to purchase LiveCycle still? Would really appreciate any input. Thank you

    Depends on a couple of things.
    Do you have Acrobat X Pro or Acrobat XI Pro?
    If you have Acrobat X Pro then you also have Adobe LC Designer and can use an XFA based form with OLEDB to connect to your data source.
    If you have Acrobat XI Pro then Adobe LC Designer is no longer included and you would be creating an AcroForm.  In that case then "No"  an OLE database source would not be directly available.  But you could use a webservice to achieve similar results with Acrobat JS if you were using a web server.

  • Java script created in Adobe Acrobat not working in Reader

    Hello,
    This is my first post, so I hope I chose the correct path for it
    Let's get to the point:
    I created a java script in Adobe Acrobat according to your tutorial page:
    search.matchCase = false;
    search.wordMatching = "BooleanQuery";
    search.bookmarks = false;
    search.query("Mytxt","Folder","../My directory");
    which I found to be working as a let's call it a relative link, beacuse, after copying my file into another folder it would still work. But when I opened the same file in Adobe Reader I got a Console message:
    Acrobat EScript Built-in Functions Version 10.0
    Acrobat SOAP 10.0
    GeneralError: Operation failed.
    Search.query:4:Link undefined:Mouse Up
    Folder does not exist
    As I mentioned before the same file does return the results of the search.query in this folder in Acrobat. Any ideas? Suggestions? What might be the problem?

    Thanks to your suggestion I started digging into the directories, so here's what's funny:
    Title Page - main folder
    Page 1 - sub folder
    Searched PDFs - sub sub folder
    I open the Title Page, then using a bookmark I open a new file in the same window: Page 1. There i have site links that allow me to perform search.query()
    And now to the funny part:
    In Acrobat:
    If I open the "Title Page" and from there go to Page 1 my directory has to be:
    ../Main Folder/Sub Folder/Sub Sub Folder
    to perform the required search
    However If I open the "Page 1" manually my directory for the same java script has to be:
    ../Sub Folder/Sub Sub Folder
    otherwise I get an error.
    Anyway
    Both don't seem to work in Reader....

  • Using Java Script in Adobe Acrobat

    I am attempting to create input forms using Adobe Acrobat. I've got the form created, and most of the functionality works. The only issue I'm having is that my end users need to be able to fill out the form, click the Submit button, and the form data needs to be sent to an e-mail address for processing. I don't need the form to be saved and sent as a PDF attachment, I just need the form data to be submitted as the BODY of an e-mail. I was told I needed to write a Java Script for this, but I don't know the first thing about that. Can anyone help me out with a Javascript they already use? I've got a week to make these forms work.

    Most web hosting services will have a mailform type script installed and available for use. If you're running your own web server, such scripts are freely available. The form just needs to be configured correctly to work with the server script. When the form is submitted to the web server, the server-side mailform script reads the incoming data and generates an email that includes the name/value pairs in the body of the email. There are literally thousands of such scripts available, to you'd have to refer to their documentation for information on setting up the form to submit to the script you want to use.
    No scripting is necessary in the form in order to submit to the web server, thought the submitForm method can be used and offers a bit more flexibility. For example, you can use a script to check the form for completeness/correctness before submitting and abort if something is wrong.
    A major advantage of submitting to a web server is it is generally far more reliable than the alternative of relying on the user's system to send the email. It can also be secured relatively easily with HTTPS/SSL, though that just covers the form submission and not when the server sends the email.

  • Can I balloon engineering prints in Adobe Reader or Acrobat? Create a dynamic stamp w/ Java Script?

    I am trying to establish a very simple way to balloon prints with character numbers; below I have uploaded an example screen shot.  My end goal is for the user to select a dynamic stamp (a circle with a number in the center) and it start numbering with 1 and then increment by 1 yet the user is placing each balloon in its respective location, resetting for each PDF document, one addition would be to allow the balloon numbers to be edited like a text box after they have been created in case there is an error in balloon placement etc.  Is this possible? I have programming experience in other languages, but have only built a few dynamic stamps with time stamp information provided by java script code.
    Any assistance is greatly appreciated!

    Yes it's possible with dynamic stamps, but the code is rather messy as it has to keep a running total.
    See http://www.pdfscripting.com/public/department53.cfm for some samples (and the definitive book on creating your own dynamic stamps), and Rick Borstein's blog for some basic samples that put exhibit numbers on legal documents.

  • Acrobat 9 - how do you create a dynamic stamp to include the current date (java script)

    I have seen my question multiple places and times but the resolutions provided have not worked for me.
    I am running Acrobat 9 Pro, cannot run X or XI due to the use of ProSystem fx Engagement.
    I want to create what I thought would be a simple stamp. My initials and the current date. i.e. "crm 01/10/13".
    Simple right? I created a PDF of my initials. Now I just need the text field with the proper Java Script to insert the date, correct?
    I have tried opening "Dynamic.pdf" and copying and pasting the text field that includes the Java Script:
    " event.value = (new Date()).toString(); AFDate_FormatEx("h:MM tt, mmm dd, yyyy"); "
    The date does not update, it stays static.
    I have manually entered the Java Script.
    I have edited the Java Script to remove the "Ex".
    I have edited the Java Script to revise the "yyyy" to "yy".
    I have edited the Java Script to remove the " h:MM tt, " trying different formats to get "dd/mm/yy".
    I have selected "Use single-key accelerators to access tools" in Preferences/General.
    I have tried PDF files, PNG files. I have created the image files from Word and Excel.
    I am at my wits' end. Can someone PLEASE assist me to resolve what should be a simple issue (I hope).
    Thank you in advance.

    Thank you for your response.
    Your script works well, but I still have the same issue.  The date is remaining static to the system date when the stamp is created.  My initial idea was to create a pdf of my initials "crm" and then add the text field with the java script for the date behind my initials.  "crm" + (TEXT FIELD with JS).  I wanted 3 stamps, red, blue and green.  The colors correspond to specific processes in our workflow.
    Your script adds my initials as well as the date.
    My machine is running Windows 7.
    My stamps are located:
    C://Documents/Acrobat Stamps/...
    Acrobat templates:
    C://Program Files (x86)/Adobe/Acrobat 9.0/Acrobat/plug_ins/Annotations/Stamps/ENU/...
    I have no problem creating stamps, just a stamp that will use the current system date.  I HATE using the typewriter for my initials and the date.  I guess I can stamp my initials and then type the date...but what is the point?
    Do you have any further thoughts or suggestions?
    Thank you very much.
    crm 01/11/13 

  • Acrobat standard 9.0 error while enabling commets option using Java script object

    I'm using the below java script code in my VB 6.0 application for enabling commets options in the PDF file
    Dim oJSO As Object
    Set oJSO = mPDDoc.GetJSObject
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    It is working fine till Acrobat 8.0. Now I'm trying with Acrobat 9.0 standard edition, it is throwing scripting error 'An unhandled Win32 exception occured in Acrobat.exe[308].
    Can anyone suggest the way to enable 'comment' options in Acrobat Standard 9.0 using Java Script Object?
    Thanks

    I get much the same problem with VB6, Acrobat 9 Pro and WinXP SP3. When I single step the line:
    oJSO.Collab.showAnnotToolsWhenNoCollab = True
    in debug I go to the error handler for my Sub. Inspecting the VB Err object has Number = -2147417851 and Description = "Automation error
    The server threw an exception." I get a Microsoft crash notice about Acrobat a short while later.
    I've experimented with the JavaScript debugger in Acrobat and you can execute Collab.showAnnotToolsWhenNoCollab = True and reference the value of Collab.showAnnotToolsWhenNoCollab in the console. The problem appears only when accessing Acrobat Javascript through the Interapplication Communication API.
    If anyone can help it would be appreciated. I tried Adobe's Acrobat support and they were no help at all.

  • Do I need to pay anything to Adobe if I inject java script using some open source library?

    Hello,
    I want to restrict PDF reader to achieve Digital Rights Management (DRM).
    Do I need to pay anything to Adobe if I inject java script to achieve so using some open source library?
    Basically I want my PDF documents to be restricted such that I can: 
    Limit printing
    Prevent screenshots
    Restrict access by license expiry date
    Restrict distribution of downloaded PDF (i.e. the document should run on specific machine only)
    Restrict copy and paste within PDF document
    I came across below links from which I suspect Adobe expects one to pay if he/she attempts to restrict reader functionality in some way?
    http://www.adobe.com/devnet/reader/topic_drm.html
    http://www.adobe.com/devnet/acrobat/overview.html
    Am I correct in my assumption?

    I think it is a vain hope to imagine you could implement DRM via JavaScript. Remember it can be turned off.
    Printing is either enabled or disabled according to document security.
    Working with PDFs does not require permission from Adobe but
    * adding functionality to Adobe Reader definitely does; a DRM development license is a major investment.
    * if the file is Reader-enabled, all third party tools will disable that.

Maybe you are looking for

  • Not able to get the maintainance cost

    Hi all, I m stuck with a critical issue. I m not able to get the cost of maintainance. while creating maintainaince order I m getting ERROR - MISSING FORMULA IN WORK CENTER and a warning message NO PRICE COULD BE DETERMINED FOR INTERNAL ACTIVITY . I

  • MS Access 2013 - There isn't enough free memory to update the display

    In Office 2013, in MS Access, I have only created a few Linked tables & queries, but encountered the following error:  "There isn't enough free memory to update the display. Close unneeded programs and try again"

  • How do I delete mass email?

    How do I delete mass email.

  • Shpmnt cost based on tariff zone

    Inbound Delivery while doing transp shipment doc , and cost execute . getting the error "No tariff zone could be determined for combination ZKCC 0000000335 01 IN Message no. VY125" but i have maintained it . tariff assinment made like , 2 stages for

  • Registration and activation via ntlm proxy

    used to be able to do this by bypassing NTLM authentication on a proxy for adobe.com, adobeconnect.com & adobelogin.com. It no longer works. Any idea what else needs to be bypassed?