『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
I am currently working on a pdf form on acrobat pro for work and I ran into some trouble when attempting to add script when there was already script made. I am very new to this so these struggles might be due to that.I had to create a new dropdown list (List B) on an existing form and link it to another list (list D). (I successfully accomplished this) However, There is another drop down list (List A) that is also linked to List D and now the link will only work at the start but will quickly go away and stick to my new changes. Essentially, when i choose "yes" in (List A) i need it to link to (List D) without (List B) effecting it. This probably made no sense at all but if anyone knows how to fix this that would be great!
All the links here are broken for me:Acrobat DC SDK Documentation
I have been working on this for hours now and keep having an issue. I am semi-new to JavaScript but Google has been less than helpful in helping me figure out this JS.Basically I created a function in Excel a couple years ago and now need to convert this to calculate it in a pdf.This is my Excel calculation: =IF(B4<500,1,IF(B4=500,1,IF(B4=1000,2,IF(B4>1000,(B4*0.2%),2))))So far in Adobe I have gotten this and I have no clue if I'm semi-correct or heading in the right direction or what:var amount = this.getField("amount").valuevar z = this.getField("amount") * 0.002;if (amount <= 500) {event.value = "1.00"}else if (amount > 500 & <= 1000) {event.value = "2.00"}else {event.value = z}I keep getting this error "SyntaxError: invalid XML name 4; at line 5"Can anyone help me with this? I've been Google-ing for hours and asked my brother, but he hasn't programmed in 10 years.
Why can't I get my text fields to fill with color and/or a color border? This is my first form, and it's fairly involved, with math formulas etc, ( which is so great! ) but I'm wrestlingwith this last two little text fields that I would like to stand out from the rest of the form because theyare the Submit and Reset boxes.
I work for a small startup company that has some needs around programmatically redacting information from PDFs that our users upload.Does anyone have any tips for how we could find someone to assist us with implementation? I've tried all the usual freelance providers, but no luck!Thanks
I am currently in a pickle. I have a field that someone writes either "yes" or "no". I want to be able to have another field populate with a number based on the yes or no field. For example:"Field1" is the field where someone types "yes" or "no". if someone puts "yes", I would like to have "Field2" populate with a number 1. If they say no, I want "Field2" to populate with a 0.
Hi,I have a simple form with some radio buttons, and I'd like to create a formula to extract the values of the radio buttons and add them and/or average them. I've attached a picture of the document I'm working on. Keep in mind I'm a complete novice I'm just trying to learn some new skills.
My macbook pro I've been using for all these years has finally pooped out and now I'm in search of a another one. The only thing is I don't want to purchase another old one. Now they're all newer and the OS has changed. The ones that I can afford come with the OS High Sierra, but I'm not sure if I'll be able to install my Acrobat X pro onto a laptop running this OS. If you know if it will or will not be compatible, please let me know? Thanks so much guys.
I have a form that I made through Adobe Acrobat. The second page on this document is basically a giant calculator. I see that my java script is correct and the calculations are correct, but there is somewhat of a delay when it calculates. That is the only way I can explain it. Basically what happens, is I go down my rows and when I have the total calculate everything for me, its off a little. But if I leave it alone and start typing somewhere else, it correct itself. Almost like it didn't fully calculate and was delayed. I don't know if this is a glitch with Adobe Acrobat or if it's something I did wrong. I can't imagine I am doing something wrong because if I use "the value is..." calculation, I get the same thing. I have a link below to the document if anybody wants to see what I am talking about. It is really weird. The sheet isn't completely done, so go to the second page, and try the section to the right.https://www.dropbox.com/s/r3f8a69t7i57p3y/Composition%20Job%20Package%20updat
Hi,I want to display Greek characters in the pdf Doc using c++, but after Stamping it shows Junk Character...I am using PDEText Object to Add text to the pdf doc.Please anyone Help me..Thanks...[Here is the list of all Adobe forums... https://forums.adobe.com/welcome][Encore is to create a DVD... moved to Acrobat programming forum... Mod]
Hello Community,Thanks for the many informations I got to other "projects". Unfortunately, I can not really continue now and could find no purposeful contribution to the above topic. That's why I have registered now and hope that you can help me here and this contribution will help others on.At the moment I am developing a tool via VS2017; VB. This tool is intended to write PDF content in an XML. Just like the function "Export to XML (1.0)". The PDF was also created by me with ES4. It is also an interactive PDF. The Requirement is now to read the inputs with this tool and to write in an XML file. I have tried some free DLL's, only they always deliver only the "fixed" values and not the dynamic ones.Does one know how I can read out the dynamic fields? Ideally, I would build the tool so that it creates exactly the same file that creates the standard export function of the reader. I would be very happy about some experiences or solutions or examples.Best regards,GJK_Screenshot of the PD
Hello,I'll just preface this by saying I have zero coding experience and almost no knowledge of javascript. I've been trying to create a custom stamp in Adobe Acrobat for work. I have an image that I have added a date/time calculation to, but somewhere in the code, something must be broken. I need the date format to be: 2018 MONTH DAY. Could someone please tell me how I can fix this? I also need the entire string to be capitalized, which seems to be working - it's just the date format I cannot figure out.event.value = event.value.toUpperCase(event.value = util.printd("yyyy mm dd tt h:MM", new Date));I thought "yyyy mm dd" would work, but it shows the date as MAY 23 2018.Any help is appreciated.
Hallo,ich möchte in einem Formular ein schreibgeschütztes Datum, Welches sich täglich beim öffnen des Dokuments automatisch aktualisiert.Ich habe ein Textfeld erstellt und unter Berechnung die Formel : var f = this.getField("Datum"); f.value = util.printd("dd. mmmm yyyy", new Date()); eingegeben.Unter Formatkategorie "Datum ausgewählt" und in den Optionen Benutzerdefiniert dd. mmmm yyyy.In der Registrierkarte Allgemein steht unter Name "Datum" drin.Zusätzlich habe ich es noch schreibgeschützt, so dass es von dem Anwender nicht mehr änderbar ist.Mein Problem ist, dass sich das Datum nicht beim öffnen am nächsten Tag automatisch aktualisiert.MFG
I just got Adobe Acrobat Pro DC on my work computer. I open a pdf, click tools and Edit PDF. After editing, I click file/save or file/save as and change the name. But when I reopen it, nothing has changed. OR even odder, only a few things have changed!?! What the heck?? I didn't create the form so could it be that I don't have access?SOMEONE PLEASE HELP!!
HiI want to stamp greek characters into the pdf doc..but after stamping junk charactres are displayed..I used the following code for creating PDEFont pdeFontAttrs.name = ASAtomFromString(strFontName.c_str()); /* font name */pdeFontAttrs.type = ASAtomFromString("Type1"); /* font type */pdeFont = PDEFontCreate(&pdeFontAttrs, sizeof(pdeFontAttrs), 0, 255, 0, /* Widths*/ 0, PDFDocEncoding,/* Encoding*/ 0, 0, 0, 0);/* Font embedding */PDSysEncoding sysEncoding;// = PDSysEncodingCreateFromCMapName(ASAtomFromString("Identity-H"));sysEncoding = PDSysEncodingCreateFromCMapName(ASAtomFromString("Identity-V"));PDEFontCreateFlags fontCreateFlags = (PDEFontCreateFlags)(kPDEFontCreateToUnicode | kPDEFontCreateEmbedded | kPDEFontWillSubset);PDSysFont sysFont = PDFindSysFont(&pdeFontAttrs, sizeof(pdeFontAttrs), 0);pdeFont = PDEFontCreateFromSysFontAndEncoding(sysFont, sysEncoding, pdeFontAttrs.name, fontCreateFlags);pdeFont = PDEFontCreateFromSysFont(sysFont
Is there any Acrobat SDK I can use to add a sub-menu in an existing Acrobat context menu? For example, the Content panel can be brought up by Acrobat's View->Show/Hide->Navigation Panes->Content. On the content panel, one can select 1 or more items, right-click brings up a context menu. If I want to add a custom menu option to allow me to access the selected object(s) and perform my own custom actions, is it possible and if so, how do I do that? See the menu in the screenshots below. - Thanks!Thanks.
I am trying to write a script that verifies that fieldA and fieldB do not contain identical strings. And alerting the user if they are the same. I have the following script (located in the validation of fieldB, but when I enter the same text in both boxes, no alert appears. if(this.getfield("fieldA".value) == event.value) { app.alert("Must be different than fieldA");}
Cropped PDF still have all content in it while viewing in illustrator. How to remove permanently in Acrobat.
Hi all,I am a new user of the Adobe PDFL SDK.In my project, I need to insert a bmp image in my PDF. It seems that using AVConversion is the better way to do this. My question is "Which are the Library to include in my C++ project and where can I found them ?"For the moment, I have a linking error with "_gAcroViewHFT" and "_gAcroViewVersion".Thanks in advance for your help.Regards.
Hi Guys, I'm trying to make a calculation using adobe Pro DCEssientially its:N=(A*B)+(C*D)+(E*F)+(G*H)+(I*J)+(K*L)-M Would anyone know how to do this?
I have a simple form where I have buttons that attach a copy of the document to an email. I want a script that replaces the "approve" or "decline" button when it's clicked, with something that says "approved", THEN attaches to the email. Then on the final approval, the entire form becomes read-only. I am using Pro 2017.This is a form that will travel along an approval path, until it's approved at the top level.
I am using a Javascript to fills and save forms from data in a text file (Import.txt). I have managed to save the docs and give them file names using form data. I also save them as pdf/a. But I would also like them flattened. Where and how do I use the this.flattenpages-function?Here is my scriptvar fileName = "/Users/admin/Desktop/Create/import.txt";var outputDir = "/Users/admin/Desktop/Create/";var err = 0;var idx = 0;while (err == 0) { err = this.importTextData(fileName, idx); // imports the next record if (err == -1) app.alert("Error: Cannot Open File"); else if (err == -2) app.alert("Error: Cannot Load Data"); else if (err == 1) app.alert("Warning: Missing Data"); else if (err == 2) app.alert("Warning: User Cancelled Row Select"); else if (err == 3) app.alert("Warning: User
I would like to make a pdf form. When the user fills out the form and presses the "Submit" button then the form should be saved to a network location (on server) and the filename should be made of 2 form fields ( name and Date) plus a sequential number. Example: test25042018-1.pdf; test26042018-2; etcIs this possible?? if yes, how to do it??I am using Windows 10 and Adobe Acrobat DCThe server path to save to is \\server\shared\FormsI really would appreciate any help as I am a total beginner in javascripting.
I tried populating the fields of a spawned template right from the spawn button but it seems like the fields of the template remain inexistant until the script ends.I have 60 pairs of fields containing a person and an account balance. Upon spawning, I need only to list all the people with a positive balance in a field (a simple string) then deduct 5$ from the balancevar a = this.getTemplate("groupe")a.spawn()var aParticipants = []for (var mySolde=0;mySolde<=59;mySolde++){if (this.getField("solde."+mySolde).value >= 5){this.getField("solde."+mySolde).value -= 5aParticipants.push(this.getField("membres."+mySolde).valueAsString)}}//Show participantsvar prefix = "P"+this.numPagesvar group0 = this.getField(prefix+".groupe.list.0")for (i in aParticipants){ group0.value += aParticipants+"\n"}How can I add values to my newly spawned page's fields?
Hallo Community,erstmals vielen Dank für die vielen Informationen die ich zu anderen “Projekte“ finden konnte. Leider komme ich nun nicht wirklich weiter und konnte auch kein zielführenden Beitrag zu dem oben genannte Thema finden. Deswegen habe ich mich nun registriert und hoffe das Ihr mir hier weiter helfen könnt und dieser Beitrag auch anderen weiter helfen wird.Derzeit bin ich dabei ein Tool via VS2017;VB zu entwickeln. Dieses Tool soll PDF Inhalte in ein XML schreiben. Genau wie die Funktion "Exportieren in ein XML (1.0)".Das PDF wurde auch von mir mit ES4 erstellt. Es ist zudem ein interaktives PDF. Ziel ist es nun die Eingaben mit diesem Tool auszulesen und in ein XML-File zu schreiben.Ich habe einige freie DLL´s ausprobiert, nur liefern diese immer nur die "Festen"-Werte und nicht die Dynamischen.Weiß einer wie ich gerade die dynamischen Felder auslesen kann? Im Idealfall wurde ich das Tool so aufbauen, das es genau das gleiche File erstellt, welches die Standard Export Funkti
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.