Unlock the power of Acrobat SDK through our community.
Actividad reciente
Please assist me? If we download the Open source Acrobat SDK and use some of the VB modules to manipulate PDF files. Is the VB EXE application subject to some sort licensing "use rules"? Can the EXE be deployed to execute on a Server so that any user using the exe can benefit from the outcome? Your guidance on this matter would be greatly apreciated.Thanks,Steve
Hello, does the adobe api have the ability to allow the measuring of areas and perimeter when loading a pdf in the web browser. We have setup and loaded the odf, but we cant figure out how to turn on the measurements menu so we can measure areas and perimeters etc. Thanks
I am trying to batch add stamps to the bottom right corner of a large number of files. The stamp only needs to include the filename (minus the file extension) and one value to be entered by the user at the start of the action. I see documentation to add the standard stamp and in the position I want, but I can't seem to get the dynamic stamp name to insert that in a batch.My ultimate goal is to add a small amount of white space to the bottom of the first page of each document, insert the stamp with the user info and filename, flatten the pdf, and scale the document back to 8.5" x 11". Is this something I'll be able to actually get to? Thanks all!
I converted a form to make it fillable, and the radio buttons work as they should mostly, but there is a display quirk that I haven't been able to figure out. When selecting the first option in any of my radio button groups, the button disappears. The other buttons in the group select and show as such, but not the first one. Once I hop out of the group, the button displays as it should. I was thinking maybe it was too close to the next button in the group and moved it away, but that didn't help. I have a hidden button that is selected by default so that the group displays without a visible selection when the form loads. The attached screenshot shows one of the groups while I am in it, and how it looks after I click out of the group.Any ideas? Craig
Hi everybody, I want to set up a form in which depending if 3 of the criteria are answered with a dropdown "Yes", a text field is filled with a corresponding color and/or text, indicating that all criteria are met (or not). Example: I have been playing around with various Javascripts I found in the forums, but none really seemed to work. Do you have any suggestions on how I could solve this? Or how I could at leaset get the answers in the dropdown to change colour depending on the selected answer? Thank you!
Hello,I am actually working with Acrobat SDK to get all images from a PDF.I experienced some troubles with the API PDDocOpen, sometimes it throw an exception "Invalid pointer read" when calling PDXlateToPDFDocEnc.I know this with because, the application calling our dll who implement Acrobat SDK create a dump when the application crash.In the callstack, we can see :This is the code part were we call PDDocOpen ://char* csInputFile ASPathName path = ASFileSysCreatePathFromDIPath(NULL, csInputFile, NULL); PDDoc pdDoc = PDDocOpen(path, NULL, NULL, true);Do you know if this is a common issue ? And if you have a workaround for this issue ?Thanks a lot for your time.
How do I use the Graphics Select tool via interapplication communication?
Hey guys, I've got a bit of a weird bug that is driving me completely insane. I have a form that checks if PDF is being opened in something other than Acrobat using "if(this.external){"Until recently, this worked perfectly. If the form was opened in Chrome or something else, an error would pop up and the form fields would stay hidden.However, sometime between July and now, this stopped working, but only when the forms are digitally signed. Reproduction:1) Document-level script executes "if(this.external){//unhide form fields}" on document open.2) User fills form and uses digital signature field to sign.3) User emails form to my team.4) My team opens the form and "//unhide form fields" doesn't execute, with this error in the console:"InvalidGetError: Get not possible, invalid or unknown.Doc.external:3:Document-Level:zOpenDoc" In my testing, I found that removing the "this.external" check would also result in an error when the script got to the "this.delay = true" lin
Good morning all.I am building a smart multi-purpose form. One of its features is to allow the user to enter a vertical section at a specific location on a vessel drawing. Once the location is selected, a vertical line is displayed together with a set of data fields where the user is supposed to enter water depths. In order to do this, I use the rect data from specific fields as base and then I add the appropriate figures to create a new set of fields at the selected location. Here is the full code (runs when you click a button on the page. This page is a template)//var FieldGND="P"+this.pageNum+".GND."; var FieldGND="S."; // the following are the numbers for min and max frame numbers var FRmax=226; var FRmin=-5; // the following are actual frame numbers marking changes in frame spacing var fr1=FRmin; var fr2=13; var fr3=36; var fr4=206; var fr5=FRmax; // the following are x-coordinates in points for frame locations marking changes in frame spacing var pos1=93.03; var pos2=122.03; v
Is there an easy way to recreate a dialog box that looks exactly like in the picture. With buttons in those cells highlighted in red.I tried the example from the API, it works, but the structure of the nested elements for my picture will be very complex.var dialog1 = { initialize: function (dialog) { var todayDate = dialog.store()["date"]; todayDate = "Date: " + util.printd("mmmm dd, yyyy", new Date()); dialog.load({ "date": todayDate }); }, commit:function (dialog) { var results = dialog.store(); console.println("Your name is " + results["fnam"] + " " + results["lnam"] ); }, description: { name: "Personal Data", align_children: "align_left", width: 350, height: 200, elements: [ { type: "cluster", name: "Your Name", align_children: "align_left", elements: [ { type: "view", align_children: "align_row", elements: [ { type: "static_text", name: "First Name: " }, { item_id: "fnam", type: "edit_text", alignment: "align_fill", width: 300, height: 20 } ] }, { type: "view", align_children: "al
Hello, Is there a way to bypass the password dialog when opening a password protected file. Here is our use case, we are trying to render pdf to the client using the Adobe Embed API before sending them the pdf binary we applied watermarks onto it. For protected files, we let them enter the password first, then we do the watermarking from the severside and then send back the watermarked content. We already asked from them the password and we just want to use it instead of asking them twice.We already tried passing it on adobeDCView.previewFile parameter as the password, content.password, content.location.password and metaData.password but no luck. document.addEventListener("adobe_dc_view_sdk.ready", function() { var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"}); adobeDCView.previewFile( { content: { location: { url: "https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea
I'm trying to select a rectangular area of a page via python, but I can't manage to do it. From what I've read, a rectangular selection is an AVGrafSelect object, but the commandselection = Dispatch("AcroExch.AVGrafSelect") is resulting in the error message 'Invalid class string'. What am I doing wrong? How do I make an AVGrafSelect object?
What Adobe product do I use to make a PDF document searchable? Does this product use a dictionary to allow the user to add words not already in the dictionary? Thanks in advance.
I know this topic has been covered extensively but I have spent too much time searching past questions/answers. If anyone can point me to the right place I would much appreciate it. I am creating a timesheet in PDF form and although I can calculate the difference in starttime, lunchout, lunchin, endtime the result does not format properly.Instead of getting say 5.5 hrs the result is 5.30 hrs. 7:00 starttime; 10:30 lunchout; 11:00 lunchin; 13:00 endtime. Here's my code so far:// startvar start = this.getField("Start1_1").value;var startArr = start.split(":");//lunchoutvar lunchout = this.getField("LunchOut1").value;var lunchoutArr = lunchout.split(":");//lunchinvar lunchin = this.getField("LunchIn1").value;var lunchinArr = lunchin.split(":");// finishvar finish = this.getField("End1_1").value;var finishArr = finish.split(":");// difference var hourDiff = Math.abs(lunchoutArr[0] - startArr[0])+ Math.abs(finishArr[0]-lunchinArr[0]);var minDiff = (Math.abs(lunchoutA
Hi All, We have enabled document cloud with our SP Online instance and can not open the pdf documents directly within document cloud when opening it from SP. The generic link we see when the document is opened in Doc-Cloud is something like this: https://documentcloud.adobe.com/spodintegration/index.html?r=1&locale=en-us which lets us in-line edit the document, but does not let us sign the document as the interface is very restricted. The only features we see are: However, when we manually upload a document in document cloud and then open from the online-browser based cloud link, we see full Doc-Cloud feature and the url which we now see is something like this:https://documentcloud.adobe.com/link/file/?uri=urn:aaid:sc:US:051443ff-9e17-425d-8c83-790ef76c1530 Our Ask:Is there a way to identify similar document url from SPO so that we have access to full Doc-Cloud interface?
Each month I get a large pdf file that I need to extract pages from and resave. The page numbers rarely change so this can had been working: this.extractPages(0,1, "table1.pdf");this.extractPages(2,15, "table2.pdf");etc. for many more tables. I recently "upgraded" to Adobe Acrobat Pro DC version 2021.005.20058 the code no longer works. I get an error message:RaiseError: The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder. Doc.extractPages:1:Console undefined:Exec There is no possible way for another user to have the file open - I just created it. I have searched on this error and seen many solutions, however none of them solve the problem.
Hello,I have a similar situation in which I'm trying to highlight specific sections when I choose a specific drop down option. Could you please help me out as well. Please see my example of my pdf form below. I saw this script from this posting on forum and I want something similar to this:Solved: Conditional formatting of cell's fill based on tex... - Adobe Support Community - 10706981 My Adobe Acrobat Pro Form
tl;dr - Acrobat Pro DC is inconsistently crashing while I'm adding page headers and footers. Here - Dropbox - acrobat-crash-report.txt - is the crash log.I'm working with a large (~120) number of PDFs, from disparate sources, and adding page headers and footers to them. This is done in four separate operations, as the even and odd page headers differ in position and content, and the even and odd page footers differ in position.I add the page headers first, then the page footers.Acrobat Pro DC (details below) running on a MacBook Pro (10.11.4) crashes on about 30% of the files when I try to add the second page header.Architecture: x86_64Build: 15.16.20039.185268AGM: 4.30.63CoolType: 5.14.5JP2K: 1.2.2.36256The crash log can be found here: Dropbox - acrobat-crash-report.txt Once I restart Acrobat and successfully apply the second page header (which happens in one try MOST of the time, but sometimes it crashes again and I need to try again), the footers apply without issue. Hopeful
All I have a simple text field box that I need to be able to add an windows UNC path that is clickable. "\\servername\sharename\etc". The text field is in rich text format that will allow me to make a clickable hyperlink (manually), but since the format needs to be "//servername/sharename/etc" with forward slashes vs windows UNC. Is there a javascript that can be used on teh field if my under copy the unc path from windows to convert it & make it a clickable hyperlink?
Hi Everyone, I created a form for clients to fill. This form has 2 pages. The first page I would like to lock or flatten the data submitted once I am done my review and stamp it and not have the second page locked so that others can complete the second page of the form and sign off. I have Acrobat DC Pro. Can I use the java scipt "this.flattenPages(); " and have it only flatten the first page? Is there addition code I can use to limit the range of flatten? I cannot use any add-ons and I am restricted to what I have for software. Thanks in advance.
I would like to apologize in advance, I'm not very comfortable with Java. Perhaps you all can help me come up with a solution to the form I am working on. My form is for samples. I've been using a fillable field for the first sample, then every sample thereafter calculates +1. I would like to have the form stay empty and NOT autofill if we don't have enough samples to fill every row in the form. I've considered doing an if then statement in a dropdown, where the sample ID has a prefix in a dropdown. If the prefix is "A", the sample ID is +1. If the prefix is "N/A", the sample ID field is blank. I can get the "A" to work, but not the "N/A". Another idea was maybe a button called "END" that is visible but doesn't print. Pressing "END" would hide all following fields, and pressing it again would show them again. I can get it to hide the fields, but pressing it again doesn't show them again. Thanks in advance for all your help,Ali
I cannot seem to scroll through a PDF file once I combine them. It tabulates them on the left.
Hey everyone, Quick/basic question: is there a function that 'deselects' the currently focussed (text)field? I figure I can use .setFocus() as a workaround but I'm wondering if there's an out of the box option to deselect the selected field. Thank you in advance for any trouble to be taken
Good day honorable adobe forum members, I am looking for the method to use to check if a value is in a list i.e.: var list = ["A","B","C"] if ("a" in list) { //dothings } Hoe does one do this effectively? Thank you in advance for any and all trouble to be taken
Why, if the input field is empty and the user pressed the OK button, the function is not interrupted and the Else block is processed?app.addSubMenu({ cName: "Test", cParent: "Help", nPos: 0}) app.addMenuItem({ cParent: "Test", cName: "My_button", nPos: 2, cExec: "NumberX()", cEnable: "event.rc = (event.target != null);"}); function NumberX() { Msg = app.response(" ", " "); if (Msg == null) { app.alert("The user did not enter anything and clicked Ok"); return;} else { app.alert("The user entered some number: " + Msg); } }; app.trustedFunction(NumberX);
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.