『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
I have a plugin that adds and removes custom properties to and from a PDF. After my plugin changes the custom properties, I want it to also save the PDF but I only want the custom properties portion of the document to be updated. The reason is that if the user has edited the PDF but not saved those changed then I don't want to force those changes to be inadvertently saved. In otherword, I need my changes to custom properties to be separate from the user's changes to the document or pages or other components (unless of course they just do a normal save, or edit properties and save, then it doesn't matter).Is it possible to save ONLY the Custom Properites of the AVDoc from a plugin from SDK 9?I can use AVDocDoSave to save the document entirely, and silently, but I'm afraid that will confuse users because it forces them to save their current work without realizing it and they may not have wanted that to happen.Thanks
I've tried the suggestions.I've deactivated and reactivated.The problem still happens.Any other ideas, this is very annoying.
What Java Script code can be used to ensure that the text within a fillable form is bold when in "Prepare Form" properties of Adobe Acrobat Pro DC?Can this be done in InDesign?
I need a little help. I am terrible with JavaScript on a good day. I have a form used to audit project compliance. I've been manually counting the number of Findings on each audit. I assume there must be a way to have Adobe complete this task for me. All of the drop downs affected by this script are named "Finding." 1-14. I need to count all instances where there is a finding, omitting the selections of "OK - No Finding" or "Select" displaying the summed value in the "Count" field. TIA!
This is a basic question but I can't find the answer. I am running a script from one pdf and want to change a field in another pdf. To refer to the main pdf, I used something likevar mainDoc=this; How do I set a variable to refer to the other pdf?Originally, I used : var otherDoc = app.openDoc("second.pdf", mainDoc);This all worked well but it doesn't work on Reader XI, possibly because protected mode is on and I can't turn it off because it's a computer network at my workplace. I'm trying to work around it by opening the second pdf manually and having it open while I trigger the script from the main pdf. But it's not doing anything.Thanks!
, al año siguiente viajamos a Guatemala, el vive en USA, y este
///Document level Scriptif (event.source.forReal){var stampDialog = CreateDialog(builder);app.execDialog(stampDialog);}function CreateDialog(dialogBuilder){var sd = new Object();sd.builder = dialogBuilder;bChk1:false;bChk2:false;bChk3:false;bChk4:false;stredt1:"";sd.initialize = function(dialog){var init ={"Chk1": this.bChk1,"Chk2": this.bChk2,"Chk3": this.bChk3,"Chk4": this.bChk4,"Name": this.stredt1,};dialog.load(init);};sd.commit = function(dialog){var res = dialog.store();this.bChk1 = res["Chk1"];this.bChk2 = res["Chk2"];this.bChk3 = res["Chk3"];this.bChk4 = res["Chk4"];this.byName = res["Name"];};sd.validate = function(dialog){var res = dialog.store();return true;};sd.description ={name: "Stamp Dialog",elements:[{type: "view",elements:[{type: "view",char_height: 10,elements:[{ type: "static_text", item_id: "stat", name: "WSB Approval", char_width: 15, alignment: "align_fill", font: "dialog" },{type: "view",char_width: 8,char_height: 8,align_children: "align_top",elements:[{type: "
Good morning!I'm trying something new and looking for a little help : )I assigned export values to some drop down selections in my form. The values are not calculating in the score field I set up. The score field has a custom script which uses a copy of the drop down fields arranged in an array. This script works on other forms with number fields validated from 0-4.What could be keeping the export values of the drop down selections from calculating? Could it be the way I'm naming the fields?When I try to change the format of the drop down fields to Number, I get a message saying, "The format does not match one or more values specified in the dropdown list. To change the format for this dropdown, first change the dropdown list values in the Options panel to match this format," although, I have assigned each dropdown selection an export value ranging from 0 to 4. Any suggestions?
Here is my situation.I have created a custom tool button which when pressed will acitvate the dialog.When the info has been entered and the dialog is closed the values saved in the dialog will be written our in a free text annotation.I can create the button.I have created the dialog.I can print out the stored values to the console so I know everything is working as it should be.Now where I am stuck is getting those values to the annotation. I have been reading all the documentation but can't make anything work.If someone could please point me in the right direction on how to access stored variables in the dialog object I would greatly appreciate.The code itself works fine. It's just the skeleton right now. I will beef it up later. just can't figure out how to pass the values to the annotation function. I have tried putting the annotation inside the commit method but that just gave me an error saying it wasn't a function so I tried moving it outside which is where my code stands n
I have a statement which has 4 options and user can only select option from them, For exampleQ: Which fruit is called the king of all from these?a. Appleb. Grapesc. Mangod . PeanutMy Answer: _______When the user will select any one checkbox from above, i want the text field to show that option alphabet in the below text field.Like if he select 'Apple' i want to show the alphabet 'a' at bottom only.Currently, i have given these 4 options checkbox a number value which i am using to calculate marks so as far my knowledge this can only be done by giving the above checkbox value a substitute in the below text field using javascript.Can somebody assist me in this since am not an expert in javascript?Many thanks.
I have a brand new shrink wrapped DVD version of Adobe Acrobat XI pro I installed on a Windows 8.1 (64 bit) desktop machine.Adobe acrobat will not update I get (Error 1328).When I entered the serial number to register the product on Adobe.com, i get a message saying "enter valid serial number."WTF, it is a valid serial number for a product I paid for.What is the problem?
Hello !I'm so sorry, perhaps this is a really stupid question, because I could have found the answer. I'v read so many posts about, but I can't reach what I want.I'm using Acrobat 9 Pro. I want to extract or insert pages with a button in my pdf by using javascript. I know, it's not possible with a trigger in document scripts.So I made a js-file named "insert_page.js" and put it into Adobe's javascript folder (C:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\Javascripts). The content of the script simply is:function extract_page(){this.addField("Testbutton", "button", 0, [100,100, 150, 80]);this.getField("Testbutton").fillColor=["RGB", 1, 0, 0];this.extractPages(0, 0, "/c/Users/destinationfolder/newPage.pdf");}Writing this in the console: everything works fine !!! Calling from the Button, nothing happens. What ist wrong ? Please help me !!remark: the field is only added for being sure, that the function ist really called by clicking the button. I don't really need it. Interesting is jus
A serious error has been detected and Adobe Acrobat 8.1.0 Standard can not continue. Please re-install the application.
I am setting up a form that has a comments section. The comments section consist of multiple boxes (font size and font set) to ensure the text doesn't change so that it stays over the lines in form design. I want to take the entire text from all box fields and copy to one individual box on a separate page. I am sure this will require script of some sort, can anyone help me to do this? These boxes:to this box:
I created a PDF form, and some fields are required. Once my co-workers fill out the form they must print it and sign it. The problem is, some of them avoid the required fields and go straight to print the form.I was wondering if there's a JavaScript to set the print button to not let users print unless they have fill out the required fields?Or at least get a message warning saying they need to fill out those fields.Thank you
I am attempting to create a fill-in PDF form that is a scorecard. Points values are assigned based on what the user selects from a drop down list. I have the individual points working, however, there are a lot of Syntax Errors. Also, I cannot figure out how to add all the different values together. I have tried simply making the total a calculated field that is simply the sum of the fields picked from the list, but it just shows as zero. I have confirmed the calculation order and the total is listed last, but still no success. Here are a few examples and the javascript used: I have ResidenceStatus as a drop down field with the choices below. This is the javascript from the ResidenceStatusScore field:var ResidenceStatus = this.getField("ResidenceStatus").value;if (ResidenceStatus=="Owns/Buying") event.value = "55";else if (ResidenceStatus=="Rents") event.value = "40";else if (ResidenceStatus=="Other") event.value = "30";else if (ResidenceStatus=
Hello,It's been a little while since I've visited the Adobe forms. Hopefully, everyone is well!Can anyone answer if I can assign values to the selections in a drop down menu? I'd like to provide a visual score in my form with respect to text answers from drop down selections.For example, drop down selections will be text, but I'd like to "assign each selection a value" to be calculated in a field dedicated to a numerical score:Not applicable - assign value of 0Good - assign value of 1Fair - assign value of 2Excellent - assign value of 3A score field will average the answers and provide a percentage based of the text selections the user chooses, but the numerical values will be calculated in the background showing only the score in the dedicated score field.If this is possible, can anyone point me in the direction of finding a script for this specific function?
Hello everybody,I've developed a stamps package for one of your teams on the organization and they've been using it for a while now, a week ago they presented me with their updates.One of this updates is the possibility to adapt the size and proportions of the background to fit the size of the text, instead of the text adapting to the frame the way that I've manage to do.Basically the question is of its possible to modify the size while changing the proportions? is this possible? or what is the closest way I could manage this?Thanks in advance.
Adobe Acrobat Pro DC, updated to the latest subversion.After you open it, it will close within about 30 seconds -- no messages.Looking in the event logs at Windows Logs/Applications, only ones I see regarding Adobe are....The description for Event ID 0 from source Adobe Acrobat cannot be found.The description for Event ID 0 from source AdobeARMservice cannot be found.I've tried uninstalling/re-installing, repair installation, made sure it was completely up-to-date, etc.Windows 7 64-bit
Where can I find the Flatten pages Java script for acrobat 9? All links seem to have failed.
hi, i'm using bellow script with drop down field. what i want to do is, if select "SGD" in drop down, fields "EX" value should be empty. if select any other value in drop down, need to popup message "Please fill exchange rate". ps help me to edit bellow script. thanks in advance. thanks..var sNewSel = event.value;switch (sNewSel) { case "SGD": this.getField("EX").value = "";}
I made a PDF form with Acrobat XI that should show/hide layers using JS depending on if the user checks or unchecks a checkbox.At first sight it worked fine either on Acrobat Pro as well Reader DC.I tested it with Reader X (2010) and it worked but didn't allow me to save the changes -- that make it totally pointless to meMy boss tested it on a different early Reader (don't know the version) and it didn't work at all. In his case the worse part is that it didn't tell that there was something wrong neither ask for an upgrade. It just didn't work.There is a way to control this?
hi, i'm using bellow calculating script & it's working. what i want to do is, if any of field is empty, calculation result field should be empty. pls help me. thanks in advance. thanks..var v1 = Number(this.getField("amt11").value); var v2 = Number(this.getField("EX").value);if (v1==0) event.value = ""; else event.value = v1/v2;
I am new to Java Script and am trying to work out the followingI have a form with radio buttons. And a variety of skills observations. Each observation has been marked as a group with different values 0, 1 or 2 depending on the level.I would like my total box to calculate the number of times the '2' button has been selected and '1' button etc. Help!!!
I`m new here. Can you help me or direct me to the answer. I want concentrate in Adobe Acrobat Pro multiple text field values in one and in that field values are as a list etc.Value1Value2Value3Thank you in advance for your 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.