Unlock the power of Acrobat SDK through our community.
Recently active
Hi, I have a two text boxes, one is the users input for a serial number and the other text box checks what was writtin as a serial number and changes what is written in it depending on the range. the serial numbers are like this:AHB15000 - AHB15999BHB15000 - BHB15999CHB15000 - CHB15000 as there is a serial number break at KHB15103 everything before should say one thing and everything after should say something else. Other than writing the following code im not sure what to do: else if (/KHB15000/.test(s)) event.value = "option 2";else if (/KHB15001/.test(s)) event.value = "option 2";else if (/KHB15002/.test(s)) event.value = "option 2";else if (/KHB15003/.test(s)) event.value = "option 2";etc. Sorry im quite new to this so dont have a huge amount of knowledge! this is the code I am useing:var s = this.getField("Serial No").valueAsString; // insert actual field nameif (/KHB15//.test(s)) event.value = "Option 1";else if (/MHB15/.test(s)) event.value = "optio
I subscribe to Creative Cloud. A month or so ago I was in a pinch and when CC Acrobat DC didn't work, I downloaded the trial version. Now that has expired and I can't get DC to work in full. My account is paid. Help !!
SDKを使い始めるビギナーです。 目的としては、アプリを開発しその中でSDKを使ってPDFの3Dモデルに3D注釈を自動でつけることです。またツリーの操作で、表示非表示もしたいです。AcrobatProの契約とSDKのダウンロードをして試しましたが、3Dモデルを操作するところまで辿り着けませんでした。 そこで質問ですが、以下の状況で目的は達することはできるでしょうか?また必要なライブラリ(dll)のファイル名は何になるのか、ダウンロードしたSDKにあるのか、ご教授よろしくお願い致します。 OS: windows8 または windows10開発:visualstudio2019Professional または Visualstudio2013Express言語:C♯ または VB製品:AcrobatProSDK:Acrobat_DC_SKD_Windows_2021_v3
Good morning -I have, through internet searches, created an Excel macro that prints numerous workbooks to pdf, combines them into one file and prints that file. I have been searching for the last piece, which is adding bookmarks, but have not had any luck getting any of it to work. The following is the code that I am using to add the bookmarks -Dim avdoc, pddoc, app As ObjectDim stFile As StringDim btitle As BooleanDim PDBookmark As CAcroPDBookmarkstFile = "D:\Test\Test.pdf"Set app = CreateObject("AcroExch.app")Set avdoc = CreateObject("AcroExch.AVDoc")Set pddoc = CreateObject("AcroExch.PDDoc")pddoc.Open stFileSet avdoc = pddoc.OpenAVDoc(stFile)Set PDBookmark = CreateObject("AcroExch.PDBookmark", "")app.MenuItemExecute ("NewBookmark")btitle = PDBookmark.SetTitle("Test Bookmark")This code does insert a bookmark on the first page of the document. The bookmark title displays as Untitled instead of Test Bookmark as the code states. Can someone answer the following q
Hi, i am struggling to come up with a solid code for checking that certain dropboxes/ text boxes have been filled in before the form will submit if the submit button is hit. i am also having issues with the code only doing something (changing the colour of a textbox) only after all dropdowns etc have been filled in. This is the code i am currently using (emails etc have been removed) var fld = this.getField("Today"); fld.value = util.printd("dd/mm/yyyy",new Date());var field1 = this.getField("Text1");if(this.getField("WSJ").value == ""){app.alert("Workshop Job must be filled in");}else if (this.getField("Bale Count").value == ""){app.alert("Bale Count must be filled in");}else{this.mailDoc({cTo: " ", cSubject: "Warranty Card" + (" ") + this.getField("WSJ").valueAsString, cMsg: " "})}field1.fillColor = color.green;;
We recently upgraded from Adobe Acrobat 7 Professional to Adobe Acrobat 2020 Pro. We are using CreateTextSelect and the GetText method to extract text value from the pdfs . We noticed this part in our solution that gets the text is slower in 2020. In Acrobat 7 it takes 300ms per pdf and 700+ ms in 2020. I know that does not sound like a huge difference but working with 100 000+ pdf’s it does cause huge delay in our production environment. What would cause this or any suggestions on what we can do to make it the same speed as Adobe Acrobat 7?
I have a collection of PDF documents that are interrelated. There is a search index PDX for them, which I usually attach to the main contents launch pad document. If a user starts there they have access to the search index for all documents.However sometimes users will go straight and open an individual chapter without going to the main launch pad. If they do this the PDX is not available to them.I have searched extensively for ways to attach the PDX to a batch of PDFs without success. I have looked at the available Actions in the Acrobat Action Wizard and read many forum entries several times. So far I have not found a way to do this. Can anyone help? Have I missed something?
Hi guys, I don't know if that's possible or not because i am searching this for hours but in vain. I have a text field "Price", and I need price to be populate based on 2 dropdown selections. Dropdown 1: "Taste". Options: Sweet, SourDependent Dropdown 2: "Fruits". Options for sweet are apple and banana. Option for sour are lemon and orange.When sweet is selected, fruits give options as apple and banana and vice versa for sour. So technically I have 2 different price list for sweet and sour. What i want is when:1. sweet + apple is selected price will be $1.2. sweet + banana selected, price $2.3. sour + orange, $ 34. sour + lemon, $ 4. Please help me, i am not a js expert. And i don't know if that's make sense. The example is just to understand
I guess the title of the discussion is a bit misleading because I have already figured out how to fill out a text field based on the value entered on another text field if a certain box is checked, however: If the second checkbox is checked (var b2), I would like the user to be able to free text in that field. So essentially, I am asking how do I write Javascript for "Free Text" in an if statement. I tried not having a second variable at all, however, if the user accidentally selects the first checkbox, the value remains in the text field even if the checkbox is unchecked afterwards. var b1 = this.getField("RCB1").isBoxChecked(0);var b2 = this.getField("RCB1").isBoxChecked(1);if(b1)event.value = this.getField("DLAST").valueif(b2)event.value = (????????????????)
I need your help, I want show and hide fields via dropdown menu based on values, I tried alot different methods but didn't achieve perfect results. Thank you in advance for your time and consideration.Code I used here............if(event.target.value <30){this.getField("TT534").display = display.hidden;this.getField("TT5checkeuoruk3").display = display.hidden;this.getField("TT542").display = display.hidden;this.getField("TT543").display = display.hidden;}else{this.getField("TT534").display = display.visible;this.getField("TT5checkeuoruk3").display = display.visible;this.getField("TT542").display = display.visible;this.getField("TT543").display = display.visible;}
안녕하세요 보안프로그램을 개발하고 있는 개발자입니다. 보안프로그램과 acrobat 과의 충돌이 의심되어 문의드립니다. 증상은 acrobat reader 프로그램으로 다른이름으로 저장 시 네트워크 드라이브 및 다른 하드 드라이브 (D drive, E drive)로 저장할 경우 아래의 메시지와 함께 저장되지 않는 현상입니다. "The file may be read-only, or another user may ahve it open. Please save the document with a different name or in a different folder" 해당 증상을 반복적으로 수행 및 이름을 변경하여 저장하여도 저장이 되지 않습니다. 해당 현상을 확인 중 acrobat > edit > preferences > Security(Enhanced) > Run in AppContainer 옵션이 체크된 경우 해당증상이 나타납니다. 증상은 모든 PC에서 재현되지 않으며 재현되는 PC인경우 지속적으로 증상이 발생합니다. 보안프로그램은 NtCreateFile API 를 후킹하고 있습니다. 해당 API 에서는 파일의 경로에 대한 확인을 수행하며 특별한 통제를 수행하지 않습니다. 다른 문서프로그램과 explorer 에서도 같은 동작을 수행하지만 정상적으로 저장이 됩니다. 해당 현상을 Acrobat 프로세스에 Run in AppContainer 옵션을 비활성화 하지 않고 해당 증상을 해소할 수 있는 방법이 있으면 공유 부탁드립니다.
I have a form that has a Yes check Box and a No Check box. But, since the response can only be YES or NO not both, How can I set up a check box making the Yes/No checkboxes mutually exclusive
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?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.