Unlock the power of Acrobat SDK through our community.
Recently active
Using an iMac OSX 10+ and Acrobat Pro DC... I have run "app.getPath("user","javascript");" in the console but it comes up undefined. The corresponding "app" path request works fine.
Hi All,I am novice in Acrobat scripting. My requirement is to save as the pdf in to specific location of server.this.saveAs() is working perfectly.My concern is, I created a form and have submit button. I need to create a copy of that form in server when i click submit button. I aware i can't run the script from Button except i use folder level script. Because i need to send the form to 100+ users and they are using different machines. So saving the script in every system is not possible.Is there any other way to do this? Please suggest. And please correct me if i said anything wrong.Advance thanks to all.Regards,K
Product: Adobe Acrobat Pro DC, 15.006.30033.2205Language: GermanOS: Windows 7 pro German, SP1, latest MS PatchesProblem:Trying to export a PDF to Word, Excel, PowerPoint or HTML we get an error and Adobe DC stops working.Every export using the export-engine crashes while "Initializing export-engine".Application Event log:Protokollname: ApplicationQuelle: Application ErrorDatum: 08.06.2016 08:51:39Ereignis-ID: 1000Aufgabenkategorie:(100)Ebene: FehlerSchlüsselwörter:KlassischBenutzer: Nicht zutreffendComputer: AMADescription:Faulting application name: Acrobat.exe, Version: 15.6.30033.2205, time stamp: 0x5507e400Faulting module name: MSVCR100.dll, Version: 10.0.40219.1, time stamp: 0x4d5f0c22Exception code: 0xc0000417Fault Offset: 0x0008af3eFaullting process id: 0x6cFaulting applica
Hi Team,Could anyone please help me Out with Sample VB.NET Code to Add Sticky Notes to Existing PDF File using VB.NET with Acrobat API.Please mail me at [ Mod: email address removed ]ThanksMahesh[Moved from non-technical Forum Lounge to specific Program forum... Mod][Here is the list of all Adobe forums... https://forums.adobe.com/welcome]
I have related posts at powershell -- iterate over a collection of PDFs looking for those with specific info.subject and at the TechNet Powershell forum powershell -- iterate over a collection of PDFs looking for those with specific info.subject A user on the TechNet forum suggested using the Acrobat COM object and posting here. Is there any documentation about using Acrobat.dll as a COM object (hopefully with examples)?Again, my goal is to be able to iterate over a collection of PDFs looking for those with specific values stored in the metadata.I work at a DoD site, so it's very difficult to get any 3rd-party software approved, but if I can use Acrobat.dll as a COM object, hopefully I won't need any 3rd-party software.As you can see in the screenshot below, someone has figured out how to access PDF metadata from the OS level, presumably without any additional software.Thanks,Christian Bahnsen
HiI have a form which has a series of different fields called "1st", "2nd", "3rd" etc all the way to "31st". The user is prompted to add either "ab" or "s" or a number to reflect the number of hours worked on the day or whether an employee was sick (s) or absent (ab).The calculation for adding up the number of hours worked across the month is simple.How do i add a custom calculation to add up the number of fields which either contain "s" or "ab"?Cheers
Trying to OCR (recognize text) a folder of files (6900 files). Each attempt, which takes a day, ends with Adobe crashing at the same file number. How do I troubleshoot this issue? Using on new computer. Is there a page limit or memory limit with this product. The files being OCR'd are PDFs. Can a pdf contain content that may cause the OCR to fail? We have many licenses of this product that will be useless to my organization if we can not use the OCR function.
I am very concerned about a pdf document that I am working and getting ready to publishing.I know there are programs on the web that can remove the protection from pdf files.Is there a way I can protected my pdf file in Acrobat so that these programs can not crack them and remove the protection?
Hi,I'm migrating an old plugin from SDK 6 to SDK 10. migration went smooth for most of the API call. here I'm stuck with call AVPageViewToViewDest which is not compiling. code points it back to AVCalls.h header file but it doesn't seem to compile at all. in this part of code I'm updating a bookmark destination. documentation says this call is supported since API level 2. may be this is not available for the acrobat reader anymore. if that is the case what other alternative is available to get job done.I have this in my preprocessACRO_SDK_LEVEL=0x000A0000READER_PLUGIN
I have a really long pdf form that asks people to fill out responses to a lot of questions.For example on page 1, it asksFirst Name:Last Name:Phone Number:Email Address:The subsequent pages ask for more detailed information.I would like to manage the responses in my email client, but don't want to receive the full PDF (Large File)Receiving fdf file is also not what I'm looking for.I would basically like to receive an email, like the above, with the response from each field written in line. LIke this;First Name: JohnLast Name: SmithPhone Number: 123456789Email Address: john@smith.comIs this possible?I've seen that you can fill the to: field and cc'd: fields with responses, but have not seen that the full body text can be included.Any help would be amazing!Thanks,Dave.
I want the default values in a form set to not printing. That way if users want to fill out the form with pen, they can simply print it. How should I do this?Thanks! Martine
Hi,I have a PDF form, one of many that I am using this script on. For some reason it does not work correctly on this one document.There are fields at the bottom of each page which are populated with the text "<<remove_page>>" when I want the page to be deleted. Here is the javascript I'm using attached to a button at the top of the first page:for (var fieldNumber = 0; fieldNumber < numFields; fieldNumber ++){ var strfield = getField(getNthFieldName(fieldNumber)).value ; var strpage = getField(getNthFieldName(fieldNumber)).page ; if (strfield == "<<remove_page>>") { this.deletePages(strpage); }}The behavior is this. It deletes all the pages but one. It's the same one each time I have renamed the field, recreated it and moved the page around. It leaves the page each time. When I run the sc
I am experiencing the occasional crash in my plugin while opening pdf files. The line that it crashes on isn't inside my plugin but inside acrobat native code so it is very hard for me to see the reason.Using external debugging tools I was able to pin it down to an access violation call that is happening inside a method called "DllCanUnloadNow".Inside it is crashing while processing a windows message WM_TIMER being sent to window"AcrobatTimerWnd"I was hopping to get info on AcrobatTimerWnd or what this timer is used for.
Another post from 2011, https://forums.adobe.com/thread/833146, seems to say there's no direct way to determine whether a file exists in the user's file system and that this is due to security concerns. A reply by try67, however, says "You can use openDoc on a certain path. If it returns null, the file doesn't exist. If it throws a security error, it exists but is not disclosed."I'm hoping that between 2011 and now, Adobe (or someone) has come up with a simple way to test for file existence using javascript.If not, I took try67's suggestion and came up with the following code which does seem to be able to test for file existence:var myPathAndFile = "/serverName/faxes/christianBahnsen/test.pdf"try { existingDoc = app.openDoc({cPath: myPathAndFile, bHidden: true}); app.alert("this document name already exists!"); existingDoc.closeDoc();} catch (e) { var myFolder = "complete"; var myPathAndName = "./" + myFolder + "/newName
We apply stamps to PDF's frequently for approval and would then like to flatten them so the stamp remains and can't be easily deleted.I can do this by using the flatten script, however i wondered if there is any way to set this up for each PDF that is opened subsequently. At present the script only flattens the current PDF on saving and then when it is closed the script is not available for the next PDF is opened without having to type the script in again. Is there a way to create tool that retains the script that does the Save As "flatten" process, so that I don't have to type it in each and every time for a newly opened?
I have set up an interactive Cost per Glass calculator and I cannot figure out how to write the code for my profit per bottle:(profitperglass*25.36)/poursizeI also tried to set it up with the 25.36 as a variable field that I reference but it still doesn't work. (25.36 is the number of ounces in the bottle)I was able to make a file with the Pour size as a set number but now I want the pour size to be a fillable variable that will then affect their profit.All the other calculations are input in the "Value is..." and the "Simplified fields..." I don't know where or how to do this one.It is possible, I can do it in excel?
CHANGEMENT DE COMPTE ADOBE SUITE A CHANGEMENT DE FOURNISSEUR INTERNET ET D'ADRESSE EMAIL : IMPOSSIBLE D'OUVRIR L'ANCIEN POUR MODIFICTIONS ET ANNULATION D'ABONNEMENT DANS LE NOUVEAU COMPTE ID ADOBE
Hi i want to get number of all pages in file.but https://forums.adobe.com/ GetNumPages(); didn't work.it gave me a error: "ReferenceError: getnumpages is not defined"anybody knows hoe to get it?Thanks
Hello,I am trying to launch a pdf form in IE or Firefox, Chrome with some javascript code. The code works fine and it is possible to debug in a local pdf. But I cannot set breakpoints and debug it inside a web browser. I am using win 7 with Internet explorer 11 and adobe acrobat 9.5 (professional). Does anyone knows why I cannot debug on a web browser ? Thanks in advance.
Hi, I've been searching for a solution for this for two days....Basically, I have dropbox01, dropbox02, and textfield01. I need to get the choices from both of the dropboxes into one textfield.At the moment I have in textfield01 custom calculation:var v = this.getField("dropbox01").value; if (v=="Choice01") event.value = "some text" + getField("textfield02").valueAsString + "some text"; if (v=="Choice02") event.value = "some text" + getField("textfield02").valueAsString + "some text"; if (v=="Choice03") event.value = "some text" + getField("textfield02").valueAsString + "some text"; var z = this.getField("dropbox02").value; if (z=="Choice01") event.value = "some text" + getField("textfield03").valueAsString + "some text"; if (z=="Choice02") event.value = "some text" + getField("textfield03").valueAsString + "some text"; &
I would like a button I can add to my toolbar that would highlight a list of pre-defined words that are mis-spelled regularly, and highlight each occurrence thereof, and actually annotate the individual comments with the respective "correct" spellings. I proofread a lot of US material that has to be "Canadianized" so words such as 'color' need to be found, highlighted/highlit?, and marked with "change to 'colour' comment…. and this would be from list of regularly used words… I found an action here somewhere that highlights words from a list, and that's ok, but I would like to enhance that action with adding the specific individual comments. So I would have somewhere two lists: 1) US spelling list , 2) list of "Canadian/UK spelling" comments….To clarify, if needed, this is what I want as an action button:Find "color" | highlight the word | add comment to the highlight "add u, 'colour'" | find next instance of the same word and repeat until no more are found;Then, find the next word in t
Hi all,Is there a way to convert a text value of one text field to a numeric value in another text field? For example, if text field's "MonthText" value is "January", then the text field's "MonthNum" value is "01". I'm sure there is a way, but my knowledge is limited... Thanks
I'm using Acrobat Pro DC. My form has a column of 12 randomly named fields (product names) with dollar values. Each field is made visible or hidden with it's own checkbox action. I want to sum the column, but only the fields that are visible that have the boxes checked. I need a script that will determine which fields are visible, then sum them in a separate "Total" field. I don't know Javascript, but can do basic script editing make them work for me, like adding field names.I am guessing this is pretty basic, but thanks for your any help you can provide!
Within my Plug-In I use the XML-Parsing-functionality.After parsing the respective XML I want to create my IObserver-Class to let it receive the FILE:SAVE-events.How may I create an Instance my IObserver-Class from inside of my XMLCATHandler::EndElement?
At my Plug-In I use the StartupShutdownService to create my menu.From that menu the parsing of an order-XML is implemented.From the XCatSAXContentHandler::EndElement of the Order-XML the document,according the size retrieved from the XML will be created.Beside the settings for the output-file+distination, alloved fonts and allowed colors, I need the signaling of the selection of the two possible menus File:Save and File:Save As.Therefor I've implemented a UIEIObserver-class. That class suddenly should be instanciated with the application object to receive the mentioned events.If that will not be able, I kindly ask you to let me know.But at the moment I'm not able get an instance of me UIEIObserver-Class at the XCatSAXContentHandler::EndElement, because the UIEObeserver is not found (not vissible).As I have a similar failure between StartUpShutdownServevice and the XCatSAXContenHandler to signal the result of the succesfull parsing to the final message of the StartupSutdownService, it s
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.