『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
I'm working on adding features to the attached document. The intent is for techs to be able to open the file, fill it out, and generate a report. One feature that would be very useful would be to delete a photo in the middle of the document (easy part) and have the photos below it each move up. This will mean moving the top photo/caption of one page up to the bottom of the previous page, moving the bottom one to the top, rinse, repeat (hard part). How can I best achieve this?
I know already that OCGs (optional content groups) describe Layers and Watermarks.Are there other common elements within a PDF that are also OCGs?(If it helps with your response I'm a user, not a developer, and generate layered PDFs from InDesign. I'm wanting to script some basic reporting tasks like creating a text list of all named layers.)Thanks!
This works fine in the Javascript area of a pdf document:this.exportAsXFDF({cPath:"/C/My folder/2020/File.XFDF",bAnnotations:true}) But I don't know how to change the C/My folder/2020/File.XFDF to The User's Document folder/2020/File.XFDF?
Hello,I have a form that a user will select if a specific item is for a member or non member (with associated price discount for members). They also have to enter a Quantity. There is then a total amount field that gets automatically calculated. I have part of this working but would like the Total amount field to go back to being null if the user unchecks the Quantity and Member or Nonmember checkbox. Here is the code that I currently have:if (this.getField("511 Digital Access Code Ckbx").valueAsString == "No") event.value=(this.getField("511 Digital Access Code Qty").value * 40);if (this.getField("511 Digital Access Code Ckbx").valueAsString == "Yes") event.value=(this.getField("511 Digital Access Code Qty").value * 20);if (this.getField("511 Digital Access Code Qty").value == null) event.value=(this.getField("511 Digital Access Code Total").value == null);if (this.getField("511 Digital Access Code Qty").rawValue.length == 0) event.value=(this.getField("511 Digital Access Code Total")
When I custom format a text box with Date/ Custom/ mmmm d, and choose a date with other than the current year, and return to it, it has reverted to the current year. I have a field next to it for the year of what they picked, so it needs to be accurate. Entry - 12/1/19 Reverts to 12/1/20 -
Hello, this.setPageRotations(0, 0, 90); doesn't want to execute because of security settings in Adobe Acrobat Reader DC. Same code works in Adobe Acrobat Pro DC.Enable global object security policy is off and Enable enhanced security.
I'm getting the above error when I try to hit "okay" after editing a script in a field. The offending lines are://set properties of check box togBot.strokeColor = color.black; togBot.fillColor = color.white; togBot.setAction("MouseUp", "this.getField("botPh" + spwn).display = (event.target.value=="Off") ? display.hidden : display.visible"); The parentheses match up, and the code matches a very similar (working) one elsewhere in the script. What is going wrong? Thanks!
Does anyone know if a field can populate a result of PASS/FAIL/COMPLIANT based on a GREATER THAN or LESS THAN number? Ex: below 10 - field should show text True or false
I have a checkbox named 'NoLieu' and a dropdown list named 'AbsenceType'. Is it possible to display an error message and/or disable the user from being able to check the box if the user selects from one of the options in the Absence Type dropdown list? Even better, if an error message could also appear if the user checks the No Lieu box first and then selects an option from the Absence dropdown list too. I don't want them to be able to check the 'No Lieu' box at all if they select an Absence Type option.Thanks!
I'm considering convincing my company to upgrade to Acrobat Pro so I can automate the processing of my scanned documents. Before I bring it up, I want to make sure the things I want to do are possible. I don't need anyone to give me the code, I just want to know if this is possible. The documents i'm working with are landscape, 2-5 pages, and have the filename and page numbers in the footer. I want to scan a big stack of them and have a script perform the following actions: Use OCR to acquire the filename and page numbers for each page. I would like to restrict the OCR to only look at the footer to save time and RAM.Using the filenames, I want it to detect when one document ends and the next one begins so they can be split into separate files. Alternatively I could separate my documents by number of pages and scan them in separate stacks, but I would to have an input box to tell the script how many pages each document has.Before saving the split files, check that the number o
Is it possible to hide content that was spawned from a page template using bOverlay?I'm trying to create a single form that has similar content but will spawn new contend based on selection in a combo box. I'd rather use spawn and page templates as a lot of the background elements will change depending on selection.Spawning works great, but I'm unsure if it's possible to remove a spawned template contents after spawning it. I could hide the fields but not the background page data. I think replacing bg data also would require advanced usage rights I don't want to mess with.The other option would be to create background elements as read-only buttons and scrap the spawning idea, but it's not as clean as I'd like it to be. It's my number 1 fallback, however. I'd also rather not mess with the rect property. It annoys me.Another idea I was toying with is if it were possible to create a template out of page 1 and spawn the template as default, then create a trigger from the combo box (if it's
Hello, I created a drop-down list and a text field, I automatically fill in according to the list but sometimes I need to modify the text in the text field, I can't;for example the ZCQJ006 can be 70 and can be 80 and sometimes even 85, please helpdrop-down = NGAPCCAM text field1 = paiement text field2 = Sommejavascript = var f = this.getField("NGAPCCAM");var g = this.getField("paiement");if ((f.valueAsString=="ZCQJ006") && (g.valueAsString == "CMU")) {this.getField("Somme").value = "70";
Hi fellow Adobians 🙂 I am wondering if somone could make a Acrobat-script for me?I am not familiar with coding or making scripts and has come to realize that I can not make this myself. I need a script that splits a 12 page PDF into 2 separate files. Document 1 - Page 1-2-11-12 in one file (original filename+ "-omslag")Document 2 - Page 3-4-5-6-7-8-9-10 in one file (original filename+ "-innmat") I would like to have this accessible from either a hotfolder on my desktop or a menubutton in Acrobat. Is this possible and are there anyone who could assist in making such a solution? I am asking because I have a customer which we are printing folders for, and this is on a weekly basis. The reason why I need it, has to do with finishing and workflow on digital printing. Best regardsTommy
Hallo zusammen,ich habe eine PDF, in der der Erfüllunsgrad einer Einarbeitung dokumentiert werden soll:Erfüllungsgrad PDF Der Erfüllunsgrad soll jeweils über 5 Comboboxen dargestellt werden.Im Moment habe ich es so gelöst, dass in jeder Comboboxreihen eine Aktion ausgeführt wird, welche beim Setzen eines Hakens die CB farbig machen soll. Dies geschieht aber nur beim Drucken. Die CB wird in der Ansich nie farbig. Was ich also möchte - und ich hoffe da kann mir jemand helfen -ist, dass in einer Reihe von CB immer nur ein Haken gesetzt sein kann und sich die Farbe aller CB links davon einschließlich des der CB mit Haken in der Farbe der Spaltenüberschrift gemacht werden sollen.Sprich wenn in Zeile 1 CB 2 aktiviert ist sollen CB 1 und 2 rot sein. 3, 4 und 5 sollen farblos sein.Wenn jetzt in Zeile 1 CB 5 aktiviert wird, soll CB2 automatisch abgewählt werden und alle CBs in dieser Zeile sollen grün sein. Aktualisert soll die Farbe der CB am Besten immer werden, wen
I am looking for some help. I am very new with Adobe and I am working on a form that has radio buttons and I want to add pages into the form when a button is selected. I have made my 2 additional pages templates with the names: Additonal 1 and Additional 2. I am struggling with the script to make this happen. Any help would be awesome!
I'm having an issue with a form I've been developing where spawning a page turns half of the text fields and one combobox into this generic field without a name (instead of saying text or combo in properties, it just says field).I have a four page form with pg. 0 as the cover page and selections made on that will spawn one of the other three pages. The other three pages spawn great and page 0 is the least complex of all the pages.There's also a button on the three spawned pages that will delete the cover page then show a button that will spawn the template back to page 0 if required. I figured out through trial and error that I needed to spawn the cover page and hide the original, otherwise page 0 would be deleted.The code is really simple to create the field and no different than the way the others are created, spawning to 1 and using bRename and bOverlay as false. this.getTemplate("Cover").spawn(1, false, false);
Have two date fileds - StartDate and EndDate How to make check and make sure that EndDate is later than StartDate
We can see the file running from the below path and is being detected by Threat detection part of Cyberark EPM.Path - C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\plug_ins\pi_brokers\32BitMAPIBroker.exeLet me know whether to block it or not.
In a PDF, I want to make a filed to only be allowing digit only although the filed is a text filed
Sir, I want to put a button (with a weblink) on more than 50 files (Pg1&2 of each file) . can this be done via Batch Script. Thanks
Hello everyone, I have an Access database with some VBA code in it that currently only works on a Windows 7 virtual machine with 32bit Office 2010 and Acrobat 8. I’m trying to get it to work on a Windows 10 machine with 64bit Office 365 and Acrobat DC. It uses cells in an Excel file to look for PDFs in a source folder, copies them to a destination folder, renames them 1.pdf, 2.pdf etcetera, and adds a text box with the correct number to the first page of the PDF.When I press the button to do this, I get the following error:Error number -2147221164Description: Class not registeredwhich points to the following code: When I ignore this error, the program starts copying and renaming PDFs, but does not add the text box to them. Each PDF results in the following error:Error number 91:Description: Object variable or With block variable not setwhich points to this code: Curiously, the whole process works when:At least one of the destination PDFs has been create
Is there an existing script that will auto-calculate "B" and "C" when keying in a number value for "A", based on "D" OR "E"? (see attached) Any help would be greatly appreciated. Thanks in advance.
I have a transcript request form that I need to calculate a total dollar amount in a field at the bottom based on which options are selected. The form is set up like this: Checkbox 1: $5 mail unofficial transcriptCheckbox 2: $5 mail official transcriptCheckbox 3: $5 email transcript Radio 1: BSB transcript Radio 2: degree transcript Radio 3: both BSB and degree transcript ($5 each) Text field total: This amount should be the sum of the checkboxes (one or more can be selected, each valued at $5) and IF Radio 3 is selected, should be multiplied by 2 (so, if I want a transcript by mail and by email, for both BSB and degree, then my total would be $20; 5+5x2). Is this possible?
This seems like it must be a super basic issue, but I wrote some JavaScript code for a pdf using the "Edit All JavaScripts" butoon, but whenever I click "OK" to save/close out the code/script editor, it all clears out and all I am left with is the //------//----Do not edit the XML tags//--------- code. So basically nothing I do is getting saved, whether or not my code is any good. Any idea what I am doing wrong? Thanks!
Hi I want create a PDF page from Clipboard using Javascript. Please help
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.