Creating folders in Javascript for Acrobat

I cannot find a method for creating a folder in Javascript for Acrobat.  I know how to do it in InDesign but the same object (i.e. the folder object) does not seem to be available for Acrobat. 
I have a multi-page PDF in a folder.  I want to create a subordinate folder in the same folder as the PDF and then extract all pages to the subordinate folder in the folder holding the PDF.  How do I do  that?
In other words:
MyFolder/MyMultiPagePDF.PDF
I create
MyFolder/Extracted/
and then I create
MyFolder/Extracted/PDFPage1.PDF
MyFolder/Extracted/PDFPage2.PDF
MyFolder/Extracted/PDFPage3.PDF
etc.
I know how to do the extraction, but I do not know how to create the folder on the fly using Javascript.
Please help, anyone.
R,
John

Thank you, Mr. Johnson.  I appreciate your candor and your quick response.
R,
John

Similar Messages

  • What's a browser compability of JavaScript for Acrobat ?

    I have a pdf with two fields that needs to be filled by user.
    I am using a Javascript for Acrobat to display a prompt dialog asking user to enter a data. it works pefectly fine on my local computer, but whenever I open it using various browsers I am running into different problems:
    Firefox:  20.0.0 No prompt dialog is showing up. Error (warning) message in developer's console: [09:49:17.064] Warning: TODO: unimplemented annotation type: FreeText
    Safari: 6.0.4 Certificate is displayed sideways. No prompt dialog is showing up. No errors in the developer's console.
    Chrome  26.0.1410.65  : works fine!
    Opera  12.15 nothing shows up, no pdf, warning or anything else.
    So it doesn't work on 3 out of 4 browsers that I checked.
    My pdf is embedded into the following file.
    http://uwf.edu/cde/mobileweb/certificate.cfm
    Is there a way to make it work on those browsers?

    Each of these browsers has its own PDF viewer. Some of them can optionally be set up, by the end user, to use Adobe Reader instead.
    (Don't overlook Windows 8 IE10, which defaults to running Windows 8 Reader.)
    And don't overlook the mobile browsers on iPad, iPhone, Android...
    Now each piece of software works, or doesn't, according to the designs and errors of their own developers. It would be a useful and helpful project if someone compared whether these viewers support interactive forms, and JavaScript, and if so what part works... but I have never seen the results of such a project. There are other pitfalls: Mac Preview, and hence Mac Safari, will fill a form but return a form which appears blank.
    You might try insisting that your users use Adobe Reader.

  • How to create a response file for Acrobat 9 Pro?

    I with to collect data from a PDF form made with LiveCycle Designer. The instruction say-
    After a user submits a form, open the returned form.
    In the Add Completed Form To Responses File dialog box, select one of the following:
    I am totally baffled as to where the Add Completed From to Responses File dialog box is. I cannot find such a thing.
    It is my understanding that once the dialog box found there are options, including creating a new response file. But, I can't find the box (and neither can my associates).
    Any help in this matter would be greatly appreciated.
    Many thanks in advance.

    In Acrobat 9 Help look under 'Collecting and managing form data' and the other topics under this heading. It is in the "Forms" chapter.
    Collecting and managing form data
    When you distribute a form, Acrobat automatically creates a PDF Portfolio for collecting the data submitted by users. By default, this file is saved in the same folder as the original form and is named  
    filename_responses. You can use this file to compile returned forms.
    Collect user data
    1 After a user submits a form, open the returned form.
    2 In the Add Completed Form To Responses File dialog box, select one of the following:
    Add To An Existing Responses File
    Compiles the data in the response file that was created when you used the Distribute Form wizard to send out the form. (If necessary, click Browse and locate the response file.)
    Create A New Responses File
    Creates a new response file, using the name and location you specify.
    The response file opens after you click OK. Each returned form added to the response file appears as a component file of a PDF Portfolio.
    Compile form data
    1 In Acrobat, choose Forms > Compile Returned Forms.
    2 In the Compile Data dialog box, do one of the following to select a PDF response file:
    Click Browse, and then locate and select the response file.
    Type the path to the response file.
    3 Click Add File, and navigate to the returned form.
    4 Repeat the previous step as many times as necessary to add more returned forms. 
    After you click OK, the data from the selected forms is added to the response file. Each returned form appears as a component file of a PDF Portfolio.
    Add user data to an existing response file
    1 In Acrobat, open the response file.
    2 In the left navigation panel, click Add.
    3 In the Add Returned Forms dialog box, click Add File. Then locate and select the returned forms, and click Open.
    4 Repeat the previous step to add any returned forms in other folders. When finished, click OK. 
    When you finish, each added PDF form appears as a component file of the PDF Portfolio.
    Export user data from a response file
    Use this process to save all the entries in a PDF Portfolio response file to a spreadsheet or XML file.
    1 In Acrobat, open the response file and select the data to export
    2 In the left navigation panel, click Export.
    3 In the Select Folder To Save File dialog box, specify a name, location, and file format (CSV or XML) for the form data, and click Save. 

  • Creating folders in playlists for burning to CD

    Hi
    Is it possible to create folders within a playlist for burning cd's with about 8 albums on in mp3 format so that it is easier to direct access a particular album on the disc rather than start at track 1 & keep skiping until you reach say the 5th album which will be about track 60 & so on & so on, I have no problems burning the files to disc but like ive explained it just shows as about 160 tracks but no individual folders for each album
    many thanks
    Kev the rev @ York

    Thank you, Mr. Johnson.  I appreciate your candor and your quick response.
    R,
    John

  • Javascript for Acrobat XI

    Hello everyone.
    Using the creative cloud I just upgraded from Acrobat 8 to Acronbat XI.  I cannot find the Javascript documentation for that version of Acrobat, nor can I find the SDK for that version of Acrobat.   I was able to find the Acrobat 8.0 Javascript documentation, but that's about the latest I can find.  Is that the latest version?
    TIA!
    John

    Here is the link to the documentation for Acrobat JavaScript versions 8 on.
    Here is the link to MDN JavaScript documentation and other resources. JavaScript Guide & JavaScript Reference.
    The material in the Acrobat SDK is not dynamic while the Acrobat JavaScript for version 9 and version X are both dynamic and can easily be updated by Adobe.

  • Need Help with Javascript for Acrobat Pro 9

    Hello,
    I am creating a PDF form in Adobe Acrobat Profession 9.  Not having a lot of experience with Javascript, I have found this forum very helpful and have used many of the script examples for other issues I have had.  I was hoping someone could help with the following script, I have tried many variations, cannot get it to work.
    var ratio = this.getField("ratio").value
    var concentration = this.getField("concentration").value
    var result = this.getField("result").value
    if(ratio.value>=50.00)
    {result.value ='PASS';}
    if(ratio.value".value>=40.00)
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 49.25))
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 39.25))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 48.50))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 38.50))
    {result.value ='PASS';}
    else
    {result.value = 'FAIL';}
    This is just a piece of the code  The concentration values run from 61 through 99 and the ratio value varies for each concentration value, there is a high ratio and a low ratio.  The result of this field with populate the results field with a PASS or FAIL.  This is not working......any help is greatly appreciated!

    Thanks George.  I updated the script to:
    // Get a reference to the result field
    var ratio = this.getField("ratio");
    // Get a reference to the result field
    var concentration = this.getField("concentration");
    // Get a reference to the result field
    var result = this.getField("result");
    if(ratio.value>=50.00)
    {result.value ='PASS';}
    if(ratio.value >=40.00)
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 49.25))
    {result.value ='PASS';}
    if((concentration.value ==61) && (ratio.value >= 39.25))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 48.50))
    {result.value ='PASS';}
    if((concentration.value ==62) && (ratio.value >= 38.50))
    {result.value ='PASS';}
    else
    {result.value = 'FAIL';}
    However, I am still getting a FAIL result even when the ratio is 50.00 or equal to the passable ratio.

  • Creating a custom dictionary for Acrobat and Reader.

    I want to create a custom dictionary to be used by all of our users when they access a “forms document” through Adobe Reader/Acrobat.
    Here are some of the issues:
    The default dictionary name under Custom Dictionaries has a .clam extension.
    Is there a way to edit this?
    Does it contain the index settings for all the other added.txt and excluded.txt dictionary files?
    The Reader's default location is under a user’s LocalLow folder.
    C:\Users\PIN\ AppData\LocalLow\Adobe\Linguistics\Dictionaries\Adobe Custom Dictionary.
    The Acrobat default location is under the user's Roaming folder.
    C:\Users\PIN\ AppData\Roaming\Adobe\Linguistics\Dictionaries\Adobe Custom Dictionary\.
    This is buried under the users profile and we need to be able to update these files on all the user’s workstations prior to log on.
    This could be done by redirection of the new custom dictionary. What is the location of that setting in the registry?
    Is there is a way to append to the standard dictionary file so as not to replace any setting that a user may have made to the dictionary?
    Is this done to the .clam or .txt file outside of the Adobe Reader application?
    What is the “All” setting in the dictionary?
    Does that imply the program will look through all the dictionaries?
    Is there a way to create a new dictionary name that would appear under the preferences\spelling\dictionaries list. Is there an Index file that would point to a newly created Dictionary folder?

    Custom dictionaries must be created with a 3rd party program provided by Proximity (http://www.proximitytechnology.com/spell_correction.htm).
    The spelling support files are installed in this directory for all users (this is only the default)
    C:\Program Files\Adobe\<product>\Resource\Linguistics\Providers\Proximity
    File types include:
    ENV - eg: grmphon.env - the phonetic rule file for the spelling dictionary language. There is one of these “ENV” file for each language.
    CLX - eg: grm32.clx - a language related part of spelling dictionary. There is one of these “CLX” file for each language.
    LEX - eg: grm104.lex - an actual spelling dictionary. There may be several dictionaries for a given language, for example, grm104.lex, grm10401.lex.
    So the answer is:
    Create a custom dictionary with Proximity and use the Wizard or some other method to deploy the files in the correct location.
    Ben

  • Handling 3d objects using JavaScript for Acrobat 3D Annotations API

    I am trying to learn how to handle 3d objects with this manual: http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_3d_api_reference.pdf
    When I execute some code, for example,
    myTimeHandler= new TimeEventHandler();
    myTimeHandler.onEvent= function( event )
    console.print( "Current simulation time is:" + event.time );
    console.print( " second(s)" );
    runtime.addEventHandler( myTimeHandler );
    I get an error like this:
    TimeEventHandler is not defined
    Why?
    P.S. I have 3d object in the document, and can get it with function getAnnots3D.

    You have to run the code in the context of the 3D annotation (by attaching the script to the annotation's properties panel, or by right-clicking the active 3D scene and choosing "run a javascript". You cannot run it in the console.

  • I created folders in iCloud for mail to be filed, but i can't see those on my Mac in mail.  WHat gives?

    i signed up for icloud....love it.....was cleaning up emails remotely and created a great set of folders on icloud to file away old mails.....but i don't see any of those folders on my mac, just my mobile devices....help!  <Edited by Host> THANKS!!!

    Did you try creating a new mailbox on your mac's mail application and choosing iCloud as its location in the New Mailbox window, you can create a new mailbox using the '+' icon in the bottom LH corner of the mail window.

  • Why am I unable to use my iPhone dictation in adobe reader in a fillable form I created in forms central for acrobat?

    I am new to adobe and new to forums altogether, so I apologize in advance for any errors and difficulties.  I have installed the trial version of adobe acobat XI pro and have created a form in form central.  Initially I saved a test form as a pdf and emailed it to myself.  When I opened the file on my iphone using reader was able to fill in the fields using my iphone's dictation.  I have since added additional fields and customized the form, but now I am unable to utilize the dictation feature on my iphone to fill in the fields....  HELP!

    If you send a video of the issue you are experiencing to [email protected], we can try to help you.
    Darrell

  • Documentation for Acrobat X Javascript?

    Where is documentation for Javascript in Acrobat X?  The help file mentions:
    "For more information, see the JavaScript™ for Acrobat® API Reference on www.adobe.com/go/learn_acr_javascript_en (PDF, English only).", but the linked page does not contain any information for Acrobat X.

    I do not think there have been any changes to Acrobat JavaScript in Acrobat X, so all the documentation for Acrobat 9 should work. There is an SDK for Acrobat X Portfolios that might have some new JS objects.
    I still reference the version 8 reference and the version 5 reference.

  • Trying to capture signature for Acrobat

    I scanned my signature and saved it as a tiff. So then opened it in PS CS4. Then cropped it and tried the magic wand to select around it to  eventually invert (blue ink on white background) but it wouldn't keep selecting around (holding shift key and clicking to keep selecting) it like I have done/accomplished many times before in PS 7.0 - I saved it to web/devices as jpg too but same thing. Is there somethig I'm doing wrong where it won't keep selecting around the image? I want to then invert it so I have a transparent image that I can change colors and stuff? My goal is to create a custom signature for  Acrobat.
    Thanks for your help!

    Another possibility is resetting the Magic Wand tool from the drop-down menu in the Options bar.
    If all else fails, try resetting your PS preferences as described in the FAQ.
    http://forums.adobe.com/thread/375776?tstart=0
    You either have to physically delete (or rename) the preference files or, if using the Alt, Ctrl, and Shift method, be sure that you get a confirmation dialog.
    This resets all settings in Photoshop to factory defaults.
    A complete uninstall/re-install will not affect the preferences and a corrupt file there may be causing the problem.

  • XML format for Acrobat JavaScript

    Hi,
    This is my first posting to any Adobe forum, so please bear with me...
    I'm interested in the XML format for Acrobat JavaScript.  I'll be using an external editor (UltraEdit).  When I do (in Acrobat 8) Advanced-->Document Processing-->Edit All JavaScripts, UltraEdit starts off with this:
    //-----------------Do not edit the XML tags--------------------
    Interesting, but not very useful.  If I look at some existing PDF files containing JavaScript, I see things like:
    //-----------------Do not edit the XML tags--------------------
    //<Document-Level>
    //<ACRO_source>DocOpen</ACRO_source>
    //<ACRO_script>
    /*********** belongs to: Document-Level:DocOpen ***********/
    OK, this is better.  In fact, if I look at enough existing PDF files containing JavaScript, I could probably figure out the XML format by myself, including the XML format of tags like <Page-Actions>,  <AcroForm>, etc.  However, it would be far easier to get the specification of the JavaScript XML format -- for example, what is the format of the text following the "belongs to:" string within the various types of XML tags?
    I *presume* this is documented somewhere but I couldn't find it.  If someone has the Acrobat JavaScript XML format specification, it would be greatly appreciated.
    Thanks.
    Dave
    P.S. Another possible approach would be to create JavaScripts myself using Advanced-->Document Processing-->Document JavaScripts, and then see what XML is created based on the code I enter into the GUI, e.g. form code, functions, etc. This also seems somewhat inefficient, presuming again that the JavaScript XML format is already documented.

    Thanks for the additional information.
    I played with JavaScript some more, using my preferred editor, UltraEdit, which I attached to Acrobat.  I thought I would be able to take a JavaScript program from one PDF file (source file) and do a copy & paste into another PDF file (destination file).  While I can do the paste (again, via UltraEdit) into the destination file and can do an UltraEdit Save, when I go back into UltraEdit via Advanced --> Document Processing --> Edit All JavaScripts, the JavaScript I pasted from the source file to the destination file isn't there in the destination file.
    From this, I concluded that I'll need to create the Document-level JavaScript and the form field Javascripts (e.g. a JavaScript triggered by a "Mouse Down" in a button) via the Acrobat GUI's.  Acrobat doesn't seem to like it if I bypass the GUIs and just attempt to paste the code directly into the PDF file via an editor.  By not using the GUI and just doing the cut & paste as I did, I'm probably missing some part of the code setup/creation process that Acrobat needs to know about.
    This is why I originally asked about the syntax for the pseudo-XML, thinking I could just copy the pseudo-XML/JavaScript code from one PDF file to another, and then modify the code to reflect the needs of the destination PDF.  Now I understand the need you mentioned to use the Acrobat GUIs to set up the initial XML/JavaScript structure.
    Once I have the XML structure set up in the destination file (e.g. a JavaScript triggered by a "Mouse Down" in a button), I can obviously copy code snippets into that <AcroForm> sections, I just can't *create* the original "Mouse Down" <AcroForm> sections via the editor.
    Another approach I could follow would be to make a copy of the original source file and change the name of the copy to the desired destination file name, and then start modifying the code in the new (destination) file -- presuming that's the easiest path to get the desired functionality created.  This way, I wouldn't have to manually (via the Acrobat GUI) create all of the <Document-Level> and <AcroForm> sections.
    Thanks for your (and others') help, let me know if I'm missing anything.
    Dave

  • How do I create an accessible PDF for Thesaurus with many chapters, from InDesign CS 5.5 and Acrobat

    Hi folks,
    I have redesigned a Thesaurus (controlled vocabulary for an Agency's archives) in InDesign CS 5.5. I am now preparing an accessible PDF from the many files (using a Book created in InDesign). The front cover, front matter and back cover are not part of the Book, to keep the page numbering simple.
    The Book includes two main sections, an Alphabetical display and a Hierarchical display of terms and their relations. I created chapters per alphabet listings, i.e. Alphabetical Display A, B, C, etc. So there are over 50 chapters, including cover, front matter, etc.
    I've successfully made the front cover and front matter PDFs after viewing videos here: http://tv.adobe.com/watch/accessibility-adobe/preparing-indesign-files-for-accessibility/ and downloading and using this recommended Action for Acrobat: InDesign CS5_5 Accessibility Touchup.sequ
    Several questions specific to this project don't seem to be addressed in the videos, however.
    First, I'd like to know if I can create an accessible PDF using the Book function > Export Book to PDF. Or do I need to make a PDF per chapter? The book has over 50 chapters (by alphabet, twice), so creating them one by one will take a lot more time, but I'll do it if that's the best practice.
    After creating the PDFs, if I use (in Acrobat): Create > Combine Files into PDF to make one full PDF (over 600 pages BTW), will the final PDF retain accessibility settings? Do I need to run the Accessibility Report again for the combined PDF?
    I used InTools.com Power Headers plugin to add a page header that automatically shows the new first term used per page. So, one chapter (with Chapter Title as H1) will have a different page header (which will be H2) per page, however the text flows through the whole chapter. I don't see where to add the page headers to the Article Window in InDesign. Do I add in this order: H1, H2, text (for whole chapter), H2, H2, H2, etc. Will I need to work on the PDF in Acrobat, where pages will be shown, in order to get the correct H2 with the correct text on the page? Am I missing something?
    Will I have any issues with Bookmarks that requires a specific workflow?
    I think that's about it, though I might run into more questions as I progress through the project.
    Thanks, Marilyn

    I understand why you need updated running headers in your book. To a sighted reader these serve as a guide to where you are and help you find things quickly.  In addition, if you are exporting your data to XML or HTML from the tagged PDF it would also be important to have these in the proper location. 
    But for accessibility purposes, it doesn't have to be there because the screen reader reads everything in linear order, line by line.  No one is looking at the page.  A user listening to the screen reader read the page is going to hear this heading, just before the actual word itself. So they will hear the first word on the page twice.  It's not the end of the world if it's there, but such headings are not necessary for accessibility unless they are not repetitive and contain information that is not otherwise available.
    So I would say, fine if you need them or want them there, it's just one word. 
    I think you should try exporting your book to PDF (or even just a chapter of the book) and look at the tags panel in Acrobat to see if you are getting the result you want.  I can't tell you exactly what you should do to get those results, you are using a plug-in I don't have. 
    I can tell you I didn't have to add the headers to any article at all, they just automatically export if the other articles in the file are added and you don't select the header style option "not for export as XML."
    You may not experience the same results with your plug-in, but I think it will probably work the same way. 
    Give it a try and best of luck.

  • How to create a "Custom Color" for highlighting? (Acrobat XI)

    March 10, 2014
    How to create a "Custom Color" for highlighting? (Acrobat XI)
    The numbers in the RGB and other fields change as various numbers are changed.
    I wanted to create a pale orange:
    Hue               13      Red      255
    Saturation   240      Green  177
    Luminosity    86       Blue     140
    I'd selected one of the orange squares in the color grid, to display the general orange area of the slider.
    I moved the slider to select a pale orange, which generated the above numbers.   Since this wasn't directly available to save to a Custom Color, I tried to  edit the numbers.  Unfortunately, the other numbers changed, making it impossible to actually create a color.
    Any suggestions would be appreciated.
    Note:  I used Techsmith's Snagit to show screen shots in a Word document.
    When I attempted to browse and upload the file, the error message said "[The content type of this image is not allowed.]"
    OK...what images *are* allowed?

    Hi Don,
    I saw Gilad answered your question in another forum post.
    Do you have everything you need at this point?
    Let me know if you need further assistance.
    Kind regards, Stacy

Maybe you are looking for

  • What does the "S" mean in reference to lenses? EF-S vs EF lens?

    I have both a digital camera, the 60D, and recently acquired an EOS 1N 35mm film camera.  I have bought lenses for my 60D but not the 1N film camera....was told that my 18-55mm lens for my 60D would not be interchangeable with the 1N?  So, EF-S vs EF

  • Address book has hundreds of empty groups - how to delete?

    I'm not sure how this happened, but in my Address Book on Lion, I wound up with dozens (probably hundreds) of empty groups, all of them called "card".  I want to delete all of these.  However, I cannot even delete one: when I click on one and press "

  • Bridge or Lightroom wrecks my NEFs; How?  Why?

    I cannot tell if it is happening in Bridge or Lightroom2 but I am continually getting corrupted NEFs. Suddenly the files are only icons, unusable. Usually a "-1" alternate version is being created. What gives? The files show 0 kb content in finder Al

  • Using SWB_PROCUREMENT, HELP...

    Hi there, I am using this transaction to change the Workflow, but i dont know how... There are two Workflow systems associated to the BUS2202 in the event TOBEACCEPTED, those worfkflows are standard. I want to substitute the existing WS79000010 by on

  • Webservices for file transfer using XI

    Dear all, I want to transfer 30gb of different files to my target system. Here no mapping is involved. can i use Webservices like megaupload etc,to upload the same using XI. If so kindly clarify ,how do I achieve the same. Thanks, Srinivasa