Unlock the power of Acrobat SDK through our community.
Recently active
Hi there,Just a quick check if the method below is suitable for getting a more accurate word count on a page?I do have another method however, I thought I'd try a version with a RegExp.Thanks in advance.var theCount = 0; var myRegExp = /\w+/; var numOfWords = this.getPageNumWords(0); for (var y = 0; y < numOfWords; y++) { if(myRegExp.test(this.getPageNthWord(0,y))) { theCount = theCount + 1; } } theCount;
I've seen this happen for a few years now when converting documents from AI / EPS / or INDD to a PDF that the "I's" look larger almost thicker. I've heard that this is just a viewer issue. I've seen it tend to happen on Sans-Serif fonts like Avenir and Myriad Pro? It looks fine on my system, but co-workers are seeing something completely different? When it goes to print it looks fine, but sometimes it just views badly. I had someone send me a screenshot this morningIs there something on my end that I can do to help prevent this from happening?Things I've tried - Converting fonts to points - Not converting fonts to points Any advice would be greatly appreciated!
Hello,Is there a way to use the Draw free form tool in full screen? You could in 11 but it appears you can't in DC. We have faculty members who export their presentations to PDF and then teach classes using Acrobat in full screen, similar to powerpoint. The loss of ability to annotate slides would be very disappointing.
Hello Community, Is there any way in which we can identify unique Machine IP from within Adobe Javascript? Any help would be appreciated.Thanks!
Why the fck do i have to sign in through 3 different screens just to use adobe, I want to change a fcken PDF the entire point in your sht ass software. sort the fck out of it so i can ucken login you cnts
Hello community, I have been trying to write a JavaScript extension which makes a 'GET' request to a server by passing Access token in the headers in Adobe Acrobat professional. I tried executing the folder level script but it gave an "Failed to get: ({error:600, text:"Authorization is required for this network service", type:"NetworkError"}) error in console. I tried looking for it online but could not found anything helpful. The issue is with the request which is not able to authorize and fetch data.Thanks.
When working with developing applications using vb.net to highlight pdf , I tried Adobe Acrobat SDK . I found out that there are two ways which I could highlight pdf. I could either copy my document to another document and highlight that document (using Page.CreatePageHilite, non-javascript) OR I could manipulate using javascript objects. My priority is to preserve the integrity of the contents of the PDF i.e. ensure that the contents in the PDF are none editable but could be highlighted only. May I check with you all which method is preferable - using javascript OR using the copy method and highlighting on the copied version (using Page.CreatePageHilite) (non-javascript). Thank you very much for the help.
I was fussing around with the preferences in Adobe Acrobat Pro XI (Mac version) and turned off the selected text colour when selecting text. I don't know what preference I changed and cannot seem to find it again to restore the text selection colour. Usually, in Adobe Acrobat Pro XI, when selecting text (note: NOT the text highlighting feature), AAP XI has a colour to show the selected text. What preference restores the selected text colour when using the I-beam selection tool shown to the left of the hand tool?Now, it simply screens the selected text, as shown in the figure below.Again, please, note that I am NOT referring to the Highlighting tool shown 3rd from the left in the image below.
I want to programmatically tag a text of "Hello World" in a sample.pdf and give it the H1 tag so it can be recognized as a title by a screen reader. How do I do that with code? The docs are not clear on that.
Does anyone know if its possible to control (turn on/off) layers with java script?Currently I am using this JS:var layers = this.getOCGs();for(var i=0;i<this.layers.length;i++){if(layers.name == "LAYER NAME")layers.state = !(layers.state);}It displays how I want it too, however when I save the PDF and close it. When the PDF is reopened, The layers reset to the original state Help please
Hi, can anyone help me with the Q in this scenario please?I want to link three different text fields together, Field 1 (Mechanical), Field 2 (Electrical) and Field 3 (job description). Users for the form are supposed to choose between Field 1 and Field 2 to put in the job description, and that will populate into Field 3, so how can I achieve it? Because I have to name Field 1 and 2 differently to make them appear or disappear with radio buttons. Thanks very much Regards,
Boa noite,Não sei se isso é possivel ou não por se tratar de um documento em pdf.Mas gostaria de fazer o seguinte:Tenho uma caixa de lista (Exemplo: Cartão 1, Cartão2, Cartão3)Gostaria de ao clicar em uma das opções o cursor ir directamente para o campo correspondente.
Is there a way to use "map color with specified color values" or create a new option in preflight that would take the CMYK values from C 0%M 0%Y 0%K 0%and change them all to 1% values?
Hello experts. I am having trouble coding this PDF Form.I am trying to have a drop box at the top of my form that gives the option to select a hospital.Field1 has a selection of either Riverside Community Hospital or Los Robles Regional Medical CenterMy text boxes below would need to fill in Field2, Field3, & Field4 information that corresponds to each hospital. Here is what I have so far: I've also tried to paste it in the validate and calculate custom fields and nothing is happening to my Fields below. Please help! 🙂 if(event.value == "Riverside Community Hospital"){this.getField("field2").value = "Adrian Arevia";this.getField("field3").value = "Zach Johnson";this.getField("field4").value = "Adam Rudd";}else if(event.value == "Los Robles Regional Medical"){this.getField("field2").value = "Denise Bell";this.getField("field3").value = "Andrew Lane";this.getField("field4").value = "Natalie Mussi";}else {this.getField("field2").value = "";thi
hi, in my form i want to calculate average in 40 text fields. fields names are AB-1, AB-2, AB-3, etc up to AB-40. i have found bellow code that really works but only issue is that code not ignoring zero values. so can u pls help me edit bellow code to ignore zero. thanks.. // Initialize variablesvar num = 0;var sum = 0;// Loop through the input fields for (var i = 1; i < 5; i++) { var f = getField("AB-" + i); if (f.valueAsString) { // increment the non-blank field counter num++; // add the field value to the running total sum += +f.value; }}// Calculate the averageif (num) { event.value = sum / num;} else { // All fields are empty, so set to blank event.value = "";}PDF Form Field calculates AVERAGE incorrectly (PDF Forms)
Hello,I have a Script that batch Stamps Multiple Files. Would like that at each file the user is propmted to write which Stamp to Use (via a dialog box) this.addAnnot({type:"Stamp", page:0, AP:"MyStamp001", rec[x1,y1,x1,y1],})The idea is that "MyStamp001" is to be inserted by the User ("UserStampString"). If "UserStampString" Exists then Good. Else, if "UserStampString" deos not exists then Apply default "MyDefaultStamp000" for example. Thank you in advance. Kind Regards
I'm a teacher who purchased Adobe Acrobat Pro for my Mac work computer five years ago, spending about $75 on it, if I recall. I have used it a ton over the years and was devastated when they took everyone's Mac a few weeks ago and gave me a PC laptop to work with. Not only am I sad to have lost my Mac, I don't have my Adobe Acrobat Pro anymore. And I already need it. The new cost is $144 a YEAR, which... yikes!! Is there any way I can get Acrobat Pro on my PC without committing to the big cost? Thanks- Brandy
Hi there,When using getPageNumWords to get the number of words on a page I can see things like ‘What and @11075446 are being treat as 2 words (I've done a test for this). The characters ' and @ are being picked up as separate words. It's the same for quite a few others, for example hyphens.I've have a look in the JS Scripting Reference but can't see anything to stop this.Is there a way to disregard characters like this, from getPageNumWords, as they're throwing the figures out?Or, would I have to go through each word found and test?Thanks in advance.
Hi Everyone,I just downloaded Adobe Pro DC and was creating a form that has 3 checkboxes named (DAK, DHS, EC). I need the client to be required to have at least one checked and I don't know the script to write to make that happen. I've looked through a couple different threads and can't find an answer that works for mine. Any help would be greatly appreciated!
Hi there,I have a custom dialog with an edit_text field on it.Is it possible to load the field with some default text?Thanks in advance.
Hi team, I am trying to find out if we can programmatically automate the feature provided by "Compare" Tool? I have large number PDFs to compare. I like what online/web Compare Tool is providing but comparing large number of PDFs one by one will not be efficient. Is there a way I can automate using SDK or anything? I have Acrobat Pro license.
I am using Adobe Acrobat Pro. It keeps saying not responding. When it happens multiple times during the day. I run repair adobe and then have to restart my computer. This is very frustrating with the amount of work i do.
I have a C++ application that at some point display PDF files inside a window. It worked fine for some years now and with several Adobe Acrobat versions.From some time, I get an error in OpenInWindowEx call. I've tested the sample project ActiveViewVC from Acrobat DC SDK package and it fails too.There is an exception thrown COleDispatchException with no message when calling CAcroAVDoc::OpenInWindowEx.It look like it's the same behavior like the one described in https://community.adobe.com/t5/acrobat-sdk-discussions/error-the-server-threw-an-exception-exception-from-hresult-0x80010105-rpc-e-serverfault/m-p/11925602, but reinstalling is not a solution for me.I’m testing with Adobe Acrobat Pro 2022.003.20322, 64-bit, on Windows 10. My Application is 32-bit, but ActiveViewVC fails in both 64, or 32 bit builds.Did anyone have same problem? Any idea where to dig for the cause? Thank you.
Hello, I am having a difficult time calculating the total of multiple fields and having that total display in the total field. The form I am working on has the ability to spawn a new page as well, the image below is a spawned page. I've tried using the following code as a custom calculation but no matter what I do the CurrencyTotal field remains blank.//define strPrefix var strPrefix = ""; var aFieldName = event.targetName.split("."); If(aFieldName.length > 2); { strPreFix = aFieldName[0] + "." + aFieldName[1] + ".";} //give each field a temp name and bring in its value var nA = this.getField(strPrefix + "Hundreds").value; var nB = this.getField(strPrefix + "Fifties").value; var nC = this.getField(strPrefix + "Twenties").value; var nD = this.getField(strPrefix + "Tens").value; var nE = this.getField(strPrefix + "Fives").value; var nF = this.getField(strPrefix + "Twos").value; var nG = this.getField(strPrefix + "Ones").value; //perform calc var nSum = n
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.