Unlock the power of Acrobat SDK through our community.
Recently active
Or other similar AEC/engineering applications? Is it the same data layer that scale would be also set in? I'd like to create some tools similar to what's available in "Brand BB" for estimating/ takeoff data acquisition. does this make sense how I worded it? Ive been scouring the web trying to find information, have read most of the SDK docs here, including the latest PDF Reference (that one, I felt like I needed to reach out to that Steve DeGrassi guy,,,,lol )It seems like it's the OCL , optional content layer or something like that,,,
Hi Looking for some help. I found and copied a script to calculate the time spent on a task from 'on' to 'off'. I need this total on each row but I can't figure out why it is causing errors with certain time periods.I have adjusted the script for each cell, Time 3.0/3.1/3.2 etcIt doesn't matter which row I enter the times in question they always calculate wrong. Any ideas what I am doing wrong? Angie TIA var start = this.getField("Time 3.0").value;var startArr = start.split(":") ;var finish = this.getField("Time 4.0").value;var finishArr = finish.split(":");var hourDiff = Math.abs(finishArr[0] - startArr[0]);var minDiff = Math.floor((Math.abs(finishArr[1] - startArr[1]) / 60)*100);if (minDiff.toString().lenght == 1)minDiff = '0' + MinDiff;var output = hourDiff + "." + minDiff;event.value = output;
Below javascript not working for cTo address but does work for cCc address. Error is "undefined." I am a newbie to writing javascript but researched this one to death and used a billion variations. This script is the only one that had no syntax errors. Where might the trouble be? My goal is to have the submit button send to first email if fulltime faculty is selected and to second email if any other item in dropdown is selected. I tried and else only statement and it failed. So I went with multiple if else statements. I also tried inequality ( != ) operator which also was a syntax error. Please advise! Thanks! var DropdownPositionType = this.getField("DropdownPositionType").valueAsString;if (DropdownPositionType === "Fulltime Faculty") {event.value = "user@university.edu";} else if (DropdownPositionType === "Graduate Assistant") {event.value = "User2@university.edu";} else if (DropdownPositionType === "Fulltime Staff") {event.value = "User2@university.edu";} else if (Dro
I am adding a bookmark to a legend for some annotation marks used in the document. It works fine for interactive use. But i also need to ba able to find it programmatically, ideally by some other method than looking for text.The addition is very simple: PDBookmark bmRoot, bmNode;bmRoot = PDDocGetBookmarkRoot(pdDoc);bmNode = PDBookmarkAddNewChild(bmRoot, pOptions->LegendTickmarksHeader.c_str()); the string being something they can set in options, but it would be optimal if they could edit it. I don't see a way to add anything like a tag that wouldn't be visible but that I could use.
I have an iMac running OS 11.7.2 (Big Sur). Acrobat DC has been working fine until today, when it went into a "Wait while an update is installed" freeze. I used the Cleaner as recommended in another thread here and then tried the link to reinstall, and nothing happens. Doubleclick, the Acrobat Installer icon bounces a couple of times, and nothing happens. All of my work involves PDFs, none of which I can open except as Preview image files. Anybody know how to deal with this?Thanks.
I am trying to figure out how to clear fields via javascript if a checkbox is triggered. Anyone have a script? What exactly is the JS term to clear fields?
Hi all, I need some help in generating a serial code in a text field in acobat to increment when the following applies.When i open the pdf, i need to print 10 copies. I need a javascript function to generate a sequential number for each printed copy. Then the pdf should save the last serial printed upon closing of file. When the file is open next time and printed again , should advance the serial numbers and save the last upon closing.Sounds complex but i did not find a solution anywhere.
現在C++でPDFを操作するアプリを作っています。その作業の中でSKDの中にあるヘッダーをインクルードしたら、ヘッダーファイル内でエラーが起きてました。エラーは識別子エラーとか、関数の関数は返せないとか多数です。 作業として何がいけないのかわかりません。教えてください。。。
Is it possible to have header text be updated based on the contents of a PDF? I this case, there are some values in the document, e.g. DocNumber and revision, the requirment is to have headers and footers updated to reflect these values and show page numbers.
Using Acrobat 11.0.14.Using Windows 7.Using Interactive Objects to set-up a multiple page function button (go back to 1st page).Function button initially had text "go back to 1st page."Also clicked on set as default.After saving PDF and then opening this file, there is a color square which, when clicked, PDF goes back to first page.However, in all the applicable pages, there is no text displayed (in that colored box). Have tried different color combinations but still not able to display text.
I am pulling my hair out trying to get this to build for 64 bit. I change it to x64 in the configuration settings, remove the WIN32 preprocessor directive and it still builds in 32 bit, and therefore doesn't run in latest Acrobat. Anyone had success with this?
Hello, My requirement is to build the funtionality where user can add dynamic watermark to pdf which is generating from html/text. Does anyone have any idea how can I achieve this. Which adobe service or tool I can use.
I'm trying to create a pdf form where one field value is calculated by the other but I can't seem to figure out how to make it work. Can you please assist? For example:A person enters a number in Field 1 that is between 0 and 10Field 2 populates a number based off of that input.A person enters a number in Field 1 that is between 11 and 20Field 2 poputlates a different number based off of that input.
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
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.