addAnnot problem with Acrobat DC on Mac

G ' Day

I have terrible problems trying to get the following JavaScript code to work on my mac, running El Capitan.

With the help of an old Java script "Add Watermark", free barcode Code 128 police attracts as the Arial font. So I will try to use an Annotation, unsuccessfully after two days trying.

I get an error that the Java Script does not include the message "do script".

No indication, please.

Concerning

Santa

the value theNewString to ((character id 209) & "this is a test" & (character id 211) in the text)

# values are text, fonts, font size, Start Page, end Page, text type?, Horizontal alignment, offset Vertical, Horizontal shift, vertical height, Rotation, current Page

set theResult1 to my Add_WaterMarkText (theNewString, "Code 128", 48, 1, 1, 1, 0, 3, 10, 0, 0, 1)

# This Manager uses Java Script

#

on Add_WaterMarkText() cText cFont nFontSize LV don't, nTA nHorizontalAlignment nVerticalAlignment nHorizontalValue nVerticalValue nR currentPage( )

  set Params to ""

the value Params to Params & "cPage:" & currentPage - 1 & "," & return

the value Params to Params "cType:Text" & return

the value Params to Params & "cContents:" & cText & "," & return

the value Params to Params & "cTextFont:" & cFont & "," & return

the value Params to Params "cTextSize:40" & return

the value Params to Params & "cpoint: (300, 100) and"& back "

the value Params to Params 'cWidth:0 '. "& return

the value Params to Params 'cAlignment:0 '. "& return

say application "Adobe Acrobat".

Activate

say document 1

script "this.addAnnot ({" & Params & "});

end say

end say

end Add_WaterMarkText

Replace all semicolons with equal signs (=).

Also, check the order of the parameters to addField.

Tags: Acrobat

Similar Questions

  • Install the CS4 but problem with Acrobat

    CS4 installed on the new MacBook. Shortly after, had problem with Acrobat. Then uninstalled Acrobat 9 Pro to tried to reinstall from the CS4 downloaded installation disc. I select only Acrobat 9 Pro for installation. The implementation of program remains stuck in the phase "preparing to install...". ».  The installation package works perfectly installation of CS4. Why is now stuck in "Preparing installation...." »

    Walt

    Acrobat 9 is not compatible with Mac OS 10.11, apparently.

  • Addon problem with Acrobat DC 32201 and Firefox 48 under birthday W10 1607

    Hello

    I have two problems with Acrobat DC 32201 Addon and Firefox under birthday W10 48, 1607.

    Not appear in Firefox:
    Adobe Acrobat create PDF file for use.

    (in the W10 in 1511 it was still available)

    1. how the Adobe Acrobat plugin
    turn on again in Firefox 48?

    2 convert selection to pdf

    disp.

    or

    the choice: convert to PDF
    is also available (orange screenshot)

    Auswahl in pdf.jpg

    Kind regards

    32 Bit Firefoxversion die (48) use brought die Lösung zu!

  • Problems with Acrobat XI and a pro version

    I uninstalled Acrobat Pro XI and re-installed with a license key valid (as confirmed by Adope JUDGMENT).

    However, when trying to first open the program, I accept the terms and then a windo opens that says:

    "XI acrobat Pro-Testversion; Tagus 00;

    Der Testzeitraum sit abgelaufen. Sie können Acrobat Pro XI weiter use, indem sie die Software kaufen'... "

    But I already bought the Pro Version...

    Best regards

    I am locking this discussion as it continues on a new thread. Please see Re: problems with Acrobat XI and a pro asking for license key version for additional troubleshooting.

  • Problems with Acrobat 9

    I bought Adobe Design Premium cs4, which included Acrobat 9.  Problems with Acrobat, he tried to reinstall whenever I opened it without success.  I uninstalled the application thinking I could get a new download of the application.  Each attempt to re download the app failed.  I was told that he did not have any download.  I downloaded the most recent as a trial Acrobat because I was desperate to do work there.  Now I really can't afford to pay $ more than 400 for an app I bought previously.  Is it possible I can get Acrobat 9 back on my computer?

    HTH,

    Ben

  • Distill comand does not not with acrobat pro dc - MAC

    HI, using MacOS 10.10

    Installed acrobat pro dc.

    Following script used to convert ps to pdf file.

    Tell application "Acrobat Distiller"

    Distill sourcePath 'path of the ps file' destinationPath 'pdf output file name' adobePDFSettingsPath '.joboption filepath.

    tell the end

    distill command it returns 'false' even the performance order was working with acrobat pro 10.

    Kindly confirm if distilling command is deprecated and any other command should be used for acrobat pro dc. Right answer

    It works for me (DC Acrobat in Mac OS X 10.10.3).) I would try to find out what setting is causing the problem by running the command with just one or two parameters:

    tell application "Acrobat Distiller"
         Distill sourcePath "path of ps file"
    end tell
    

    And this one:

    tell application "Acrobat Distiller"
         Distill sourcePath "path of ps file" destinationPath "output pdf file name"
    end tell
    
  • Baffling problem with Acrobat Javascript

    I hope someone can help me. I tried for hours and hours to find what boredom is but just can not find a solution.

    The following code works, however, this is the confusing part. I need to change / update the code, but the problem occurs when I make changes to the code - indenting of a line. You will notice that the code is not indented and poorly formatted - it is because when I had the code in withdrawal, I had several times a "{SyntaxError: missing} in a compound statement.

    I'm completely baffled as to why, sometimes, I get the SyntaxError and sometimes not. I swear there are cases where the code has worked once and then again causes a SyntaxError.

    Tried to use Adobe Javascript Debugger, tried running the code through jslint.com, tried to create a new PDF file and place this code in this file - still getting SyntaxError if I change or indent the code. The only thing I have not tried yet is to try it on the version of Windows.

    I use Acrobat Pro 10.1.3 (cloud Creative) on a Mac OS X Lion 10.7.4

    Any help would be really appreciated!

    var trackErrors = 0;

    var errorMessage = "Please fill out all required fields";

    If (this.getField('1A').value.length = 0) {errorMessage += 'A wall height'; trackErrors ++ ;}}

    If (this.getField('1B').value.length = 0) {if (trackErrors = 1) {errorMessage += ', length of wall B ' ;} else {errorMessage += "B: wall length"; trackErrors ++ ;}}}}}

    If (this.getField('1C').value.length = 0) {if (trackErrors = 1) {errorMessage += ', C spacing ";}}} else {C: errorMessage += "spacing"; trackErrors ++ ;}}}

    If (this.getField('1-4-radio').value = 'Off') {if (trackErrors = 1) {errorMessage += "and the Type of material - fabric or laminate." ;} else {errorMessage += 'type Mat'; trackErrors ++ ;}}}}}

    If (trackErrors = 0) {}

    var x, y, v, z, kits = ";

    flag of the var = 0;

    this.getField('1D').value = this.getField('1B').value / 2;

    this.getField('1E').value = this.getField('1D').value / this.getField('1C').value;

    this.getField('1F').value = Math.floor (this.getField('1E').value);

    this.getField('1G').value = this.getField('1F').value + (this.getField('1F').value - 1);

    this.getField('1H').value = this.getField('1A').value * this.getField('1G').value;

    var materialType = this.getField('1-4-radio').value;

    Switch (materialType)

    {

    case "F":

    x = this.getField('1H').value / 32;

    y = Math.ceil (x);

    this.getField('bw-kits-required').value = y + 'necessary Kit;

    break;

    case "L":

    x = this.getField('1H').value / 128;

    y = this.getField('1H').value / 32;

    If (flag = 0) {}

    If (x = Math.round (x)) {x += kits + "kit"; flag ++ ;}}

    If (y = Math.round (y)) {kits y += + 'kit'; flag ++ ;}}

    v = Math.floor (x);

    x = v;

    If (v > 0) {if (x < 0.75) {v += kits + "kit"; v = Math.ceil ((x * 128) / 32); kits += "and" + v + "kit" ;}}} Else if (x > = 0.75) {kits += (v + 1) + "kit" ;}}} else {kits += Math.ceil (y) + "kit" ;}}

    }

    this.getField('bw-kits-required').value = kits;

    break;

    }

    } else {app.alert (errorMessage) ;}

    I had no problem on 3 different versions of Adobe Acrobat Pro for Windows. So, I guess that the problem lies in Acrobat Pro for Mac. We have already decided to take Acrobat Pro for Mac and set up a virtual machine with Windows and change our PDFs by script in this way - at least until what Adobe fixes issues with their Mac version - it never occurred to me that it would be a problem for Mac version. I guess I'll be much more cautious in the future. Thanks George to confirm he worked in Acrobat 9!

  • Wireless - problem with the integration of MAC printing

    Hello world.

    Just bought a Macbook pro and can't seem to recognize my printer.

    Network devices:

    -Router Belkin WLAN

    -MFP HP Laserjet CM1312 - with HP 2101nw Wireless G (printing and scanning even works fine without thread!)

    -Acer laptop with XP Home (used to implement the 2101 wireless)

    -Acer Netbook with XP Home (later added to the network, no problem with printing, Setup a 5 min)

    Antivirus software: Avira Premium Security Suite on both XP

    Encryption WPA - PSK, mac filtering.

    The Macbook connect to internet, but nothing happens when I try to print. I tried to stop the argument that Windows is sometimes initially. Frustrating experience with the Mac to date.

    Can anyone help?

    We have found the solution:

    The HP 2101 nw G wireless driver must be installed (we had to try the installation twice).

    There is no 10.6 driver available on the HP site, but we tried the driver available however and to operate. Printing works perfectly well, we have simply not tried scanning so far (I think that it won't work), but the first step is done.

    Would be nice if HP could not work on the drivers updated to 10.6.

  • No problem with Photoshop 6 in Mac OS 10.6?

    I put my computer to OS 10.4 to 10.6 OS level. It's true that sometimes if you try to open a PSD document in OS 10.6 will open it in preview and not Photoshop? Someone had it all

    other problems with Photoshop 6 in OS 10.6?

    Do you mean Photoshop CS6?

    Elissa Schwartz wrote:

    It's true that sometimes if you try to open a PSD document in OS 10.6 will open it in preview and not Photoshop?

    Laughing out loud

    Would occur only if you put your file Healt to open PSD files in preview.

    2 ways to change the default Application for opening files with Mac OS x

  • Customer having problems with Acrobat 11.0.3 and files created in earlier versions

    We see problems with our PDF according to the version of Adobe, they are treated with.

    If the PDF file has been created before 11.0.3 and look you with the 11.0.3 you will see places in the stories of SQL/Oracle text fields.
    If the PDF file has been created with 11.0.3 and you watch with the 11.0.3, it's very good.

    Update.  As with most of the Software Support services / correct information is not always received and must be forced to leave the customers.

    PDF files are created in Adobe Acrobat and stored on a network server Microsoft drawing of car accidents.  The files are then merged within an Application Microsoft Visual FoxPro 9.0 SP2 with data from Microfoft SQL Server 2005 Database via an ODBC driver for FoxPro and then created slider with a form of Visual FoxPro. VFP displaies report form page / print the file PDF is an OLE file object and is created / printed by Amyuni 4.5xx converter to PDF file and then read with Adobe Acrobat 11.0.3.

    There is software that will make these controls. So in this sense, there is a way to check. However, it would be a task of programming and not necessarily simple. So I really can't help you on the aspect of programming (I refer to something like SDK forum for programming).

    To check the file, you would normally open the properties of the document (ctrl-D). The general tab displays the version number and the tab fonts you will tell which fonts are used and integrated.

  • PROBLEM WITH ACROBAT 9 PRO

    My acrobat 9 pro program shows message "serial number already used.

    On the desktop, I had a few problems with the installation of network which has been resolved by the technician.

    I might also accidentally use acrobat 9 pro on my laptop and desktop (THAT RESTRICTION SHOULD BE CLEARLY ORTHOGRAPHIE OUT ON PRODUCT BOX AND NOT BURIED IN AGREEMENT THAT I FOUND ON INTERNET)

    WHAT SHOULD I DO NOW?

    Contact the serial number and activation directly support and have discounts to zero activations.

    Mylenium

  • Problems with Acrobat and application manager

    I have creative cloud on OS 10.6.8.

    I had Acrobat X Pro installed and it was working fine until I tried to open it today. When it opened, I got a dialog box saying:

    "A problem has occurred to the license of this product. Restart your computer and restart the product.

    If this problem persists after restarting, contact Customer Support for further assistance and mention code error displayed at the bottom of this screen.

    ' Error: 131:4 '.

    I tried to reboot twice and it didn't fix it.

    I uninstalled Acrobat, thinking that I could reinstall everything using the Application Manager, but even if I uninstalled and deleted all the files from my drive, the application Manager shows that it is installed, so I can't even re - download and reinstall.

    Help, please. I really need to use it now.

    Never mind. I did a search for 'acrobat' on my computer, and apparently the uninstaller had left a few files. I deleted all the files associated with acrobat, restarted, and then the application manager allowed me to download.

    It's really squirrels, adobe. Thank you for taking an hour and a half of my life that I'll never come back.

  • What is the PROBLEM with Acrobat (randomly drops text)

    I'm at the end of my rope

    with Acrobat CS3. He distills randomly my specifications with all para

    graphs are missing here and there. Sometimes I can restart and get all of the document to print, but once again today, I have a contract which

    not print completely even after a reboot of the entire system.

    Trying to distill in Word 2003. Short documents on a page are generally good, even if I had problems with a few lines of text missing on invoices that I print on Excel. But this 5-page contract gives me headaches... I'll have to resort to printing and scanning the doc from back in the distillation in the form of a chart in PDF format, or copy and paste all in QuarkXpress, which has a PDF Distiller that is 100% reliable. I wish I could use THAT Distiller with Word! I can't stand it. Why Acrobat distiller cannot distill with reliable documents? A contract is a serious thing... missing paragraphs can mean serious legal trouble!

    I need an alternative, unless there is a fix for this problem.

    Mark, it could be that you need to install the MS Hotfix listed here:

    http://support.Microsoft.com/kb/952909/en-us

  • Problem with Acrobat 9 Pro and Word 2007

    I just installed 9 and cannot print on the Distiller I was able to do with 5.  Word generates the error message: "Windows cannot print due to a problem with the installation of the current printer."

    I reinstalled the software and updates, etc.

    Answer would be most appreciated!

    Thank you!

    I think I posted this issue in Windows Server, which would be probably wrong... Please forgive me for double posting.

    This is because the name of the printer is the printer Adobe PDF, not the Acrobat Distiller printer. It is a name change so that confusion does not exist on the print driver and the program to distill. Create the PDF button is a Preprocess to the printer, as it was in use with WORD AA5. This key, officially called the PDF Maker, adds a lot of functionality, but can add things that are unnecessary and cause bloating. Check the preferences to see what you add.

  • Problems with Acrobat Adobe Pro XI for Mac

    Hi, I have just install Acrobat Adobe Pro XI, in my Mac, but all the time, when I tried to run the program, sends me a message that the program has not installed properly and I have to install it again, I hope you can help me, because if I can't install it, I'm going to cancel the subscription, thank you

    Hi eduardom45148917

    Would you please uninstall the previous version of the Acrobat software if its installed on your system.

    Please check with the account of another user with Admin rights to reproduce the problem.

    Kind regards

    Christian

Maybe you are looking for