ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    JavaScript Code for Adobe PDF

    IT Discussion
    3
    6
    222
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by gjacobse

      I don't code,.. and I have no idea where to start but am searching for some java script that will prompt a person for three or four bits of information when the 'stamp' a PDF document.

      Example:
      d54bc7ec-c08e-44e0-9d5e-76d813527ea0-image.png

      Code would prompt for Name, Data, File number...

      I have gotten so far in creating the stamp itself,.. I just don't know Java to code the needed.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Title says Java. Post says JavaScript. Completely different animals.

        gjacobseG 1 Reply Last reply Reply Quote 0
        • gjacobseG
          gjacobse @scottalanmiller
          last edited by

          @scottalanmiller
          Title updated.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            I didn't even know that PDF documents let you have JavaScript in them.

            gjacobseG 1 2 Replies Last reply Reply Quote 0
            • gjacobseG
              gjacobse @scottalanmiller
              last edited by

              @scottalanmiller said in JavaScript Code for Adobe PDF:

              I didn't even know that PDF documents let you have JavaScript in them.

              It's not the document itself. It's the 'Stamp', much like the mechanical analog method of 'Date Received'

              35c7345c-8023-4263-adf8-504df4ed004a-image.png

              In this case, it pops up a 'form' that prompts the user for data.

              1 Reply Last reply Reply Quote 0
              • 1
                1337 @scottalanmiller
                last edited by 1337

                @scottalanmiller said in JavaScript Code for Adobe PDF:

                I didn't even know that PDF documents let you have JavaScript in them.

                You probably forgot about it. I'm guessing it's been around for 20 years but when I looked it up, it was actually 22 years ago.


                PDF 1.3

                Availability: April 1999
                Matching software: Adobe Acrobat 4.0
                New features:

                • 2-byte CID fonts
                • Support for OPI 2.0
                • Additional color spaces – ICC-based colors are supported. A new color space called DeviceN improves support for spot colors.
                • Smooth shading, a technology that allows for efficient and very smooth blends (transitions from one color or tint to another).
                • Annotations
                • Digital signatures
                • JavaScript actions
                • RC4 encryption – 40 bit (Acrobat 4) & 56 bit (Acrobat 4.05)
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post