How to sort pdf documents by modified date using Javascript action

Hello,
I want to use a Javascript action to sort multiple pdf documents in a folder before I run a Javascript action that prints the last page of multiple pdf documents.  I received help from this forum on the last page print script and it works perfectly.  The downside is it prints in default NAME order and I need them to print in accending DATE MODIFIED order.  I'm not sure if the sort function could be incorporated into the print script or if it would be a seperate code/action.
This is the script to print the last page of several pdf documents:
this.print
({bUI: false,
nStart:this.numPages-1,
bSilent: true,
bShrinkToFit: true});
I would appreciate help from anyone that is willing to share the code to "sort by DATE MODIFIED".
Adobe Acrobat 10 Pro
Windows 7
Thank you in advance,
David C.

I'm not a code writer.  I'm trying to streamline some operations here at work.  The original code assistance was to print the last page of several pdf documents (sometimes as many as 100 to 150 at a time) without having to open each file, scroll to the bottom, Ctrl-P, current page, Print.  Can't express how beneficial it was to get that to work.  I realize I'm looking a gift horse in the mouth, but when it prints out, it would be great to have them print in DATE MODIFIED order since they are kept in processed order rather than alpha order.
If the two processes are too labor intensive I fully understand and appreciate all the assistance thus far.  I was hoping it would be as simple as the first script coding to do the actual printing.
Thanks,
David C.

Similar Messages

  • How to embed PDF document to a view in WDJ?

    Hi, experts,
    I have a PDF document for helping user to use a software product. I want to embed it to a view through interactiveform in web dynpro for java so that other users may read the PDF document. I don't how to implement it?
    Do you give me some hint?
    Best regards,
    tao

    Hi,
    One quick question, where have you stored the PDF? is it in MIMEs folder ?
    You have 1 of these 2 options to choose:
    1. Get the PDF data in Byte format, fetch the absolute URL and display it in an iFrame UI Element.
    2. Set the property of Adobe Interactive form UI elemets property -
        mode = usePDF Mode (This mode value does not change the original PDF document. The data source and the template for the creation of the PDF document are ignored)
        pdfSource = Path to the context element containing the PDF document.
    -Kunal Kotak

  • How to pass pdf documents through idocs

    I wanted to know how to pass pdf document along with a transaction code like sales order or travel expense manager with the help of IDOCs.

    Lily,
    I observe that you have declared lv_xml_data as TYPE xstring & string and get_data method probably expects data of xstring type.
    Have a look at the "Extract the Data" section from following [article.|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c2567f2b-0b01-0010-b7b5-977cbf80665d&overridelayout=true]
    Chintan

  • How to link PDF document in Report Layout??

    I need to display the contents of PDF document after the form letter report. I tried OLE object but at the runtime it does not display the content. Does any one knows how to attach PDF document in reports layout?
    Thanks
    Ravindra

    you will have to concatinate your report output with the static PDF document. in reprots 10g you can create a cusotm destination that could implement this functionality.
    out of the box, reports does not provide the ability to add static content in PDF to reports' generated PDF output.
    thanks,
    philipp

  • New document alert: How to get PDF documents into Adobe Reader for iOS

    Opening PDF Files in Reader for iOS (iPhone and iPad) has been very helpful to many users of Adobe Reader for iOS.  However, Apple has drastically changed the user interface in iOS 7, which made the original document obsolete. 
    According to Apple Developer Support's App Store Distribution page, 89% of devices connected to the App Store are using iOS 7 during a 7‑day period ending June 29, 2014.
    Because of the exceptionally high iOS 7 adoption rate, Adobe Reader for iOS version 11.3 now supports iOS 7 only.
    Here are the new How-To documents for iOS 7.
    How to get PDF documents into Adobe Reader for iOS (iPad on iOS 7 version)
    How to get PDF documents into Adobe Reader for iOS (iPhone on iOS 7 version)
    (It had to be split into two separate documents because each contains way too many screenshots.)
    Hope these documents are as helpful as the original one.
    Please let us know if you have any feedback or suggestions on the topics for other help documents/tutorials.

    Dennis (or any Adobe rep),
    Any updates to the OP's question? I'm with a large government agency, and we're moving away from GoodReader for reasons I can't go into here, and the ability to add user-defined bookmarks within the app is a mandatory feature for the document reader we select. I have the latest version of Adobe Reader (11.6.1) installed on my government iPad, and the ability to add user-defined bookmarks still seems to be missing. Does Adobe have any plans to add this feature, or is it already present and I'm simply overlooking it?
    Thanks,
    Cam

  • How to print PDF documents on Unix(Solaris)

    Hi ,
    I wanted to know how to print PDF documents on Unix(Solaris)?
    Is there a document or white paper that i can refer to start printing PDF document.
    What kind of drivers/utilities will be required to achieve the objective?
    Kiran

    Have you tried FOXIT? I think there is a trialversion. I tried Adobereader 2.5 but there is still no option to print.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How to under complete document to configure prerequisite using fields both

    Hi,
       When I configure prerequisite under complete document for one substitution but fialed withe syntax error when I tried use the following prerequisite:
    BKPF-BUKRS = 'XXXX' AND
    BSEG-HKONT IN SET1
      But I input this prerequisite under line item it is ok . I am wondering if there is no permit for BSEG table field under prerequisite under complete document. Pls give me some advice on how to under complete document to configure prerequisite using fields both in BKPF and BSEG. Thanks.

    Hi Mohan,
       I did active it at call point3(complete document) but my question is when I configure prerequest I am confused that only BKPF data fields can be used in prerequest. Why field in BSEG can not be used in prerequisite?  Once I input BSEG field in prerequisite there will be syntax error message shown up.

  • How to do search of business partner data, using a message from external sy

    Hi CRM Gems,
    please send the answer to the following question.
    1.How to do search of business partner data, using a message from external system. What FM’s, BAPI etc that can be used for this functionality?
    your answer will be valuble to me.
    Regards,
    Krishna..

    Hi krishna,
      Look at BAPI   BAPI_BUPA_SEARCH.
    Regards.
    Manuel

  • How to open a pdf from pdf target with page no using javascript

    Hi
    How to open a pdf from pdf target with page no using javascript
    Thanks in Advance.

    Hello,
    <p>Web.show_document calling .htm files saved on disk.....</p>
    Francois

  • How to pause while document printing and wait for user actions.

    How to pause while document printing and wait for user actions. (for sample: pressed button). Pause after each printed pages.

    Print page by page after considering the user actions!

  • How to Create PDF from Illustrator CS3 by using applescript?

    Hi Guys,
    Do some one knows how to create PDF from Illustrator CS3 by using apple script. If know, please give me the scripting.
    HARI

    Have you tried File>Scripts>SaveDocsAsPDF? There should be a folder of sample scripts installed in your AICS3 folder and a folder of documentation which contains an Illustrator AppleScript Reference which has examples.

  • How to compare dates using javascript?

    Hi,
    I have to compare dates using javascript. The dates are in format "mm/dd/yy" for eg "10/09/06".
    I have written a script to compare the dates but the problem I 'm facing is with the year.
    For example if I compare "10/09/06" with "10/04/98", then "10/04/98" is coming out to be greater than "10/09/06" because it is considering year "98" to be greater than "06".
    Please advice/suggest.
    Thanks in advance...

    Dude, you're here in a Java forum, not in a Javascript forum. Those are two entirely different languages.
    The answer in Java is to use java.text.SimpleDateFormat to convert String to Date and use java.util.Date and/or java.util.Calendar to compare dates.

  • How can i read XML from local drive using Javascript into Live Cycle

    Hello,
    I am creating PDF Form using Acrobat LiveCycle.
    I want to write java script for load data into relative field and data present into xml file which is located at local drive
    I have write all method for parsing xml which is required ............... but i am stuck into how to read/open/load local drive xml using javascript?

    sandyrock:
    You'd better post this message to Adobe LiveCycle forum: http://www.adobeforums.com/webx/.3bbeda8d/
    You can use postMessage method in LiveCycle JavaScript to communicate with host application,the host application can be a web brower like IE.
    In IE you can use IE javascript to access local XML file.

  • How to dynamically create a treeview in sharepoint using javascript or jquery

    How to dynamically create a treeview in sharepoint using javascript that displays spsites ,spweb,splist

    Hi,
    In SharePoint 2010, we can customize web service and use Server Object Model to get all the SharePoint sites, webs and lists, then call the web service using jQuery and using the jQuery Treeview plugin to display the data.
    The following articles for your reference:
    Walkthrough: Creating a Custom ASP.NET Web Service
    https://msdn.microsoft.com/en-us/library/office/ms464040%28v=office.14%29.aspx?f=255&MSPPError=-2147217396
    Using Jquery to call an ASMX service in sharepoint 2010
    http://stackoverflow.com/questions/9035539/using-jquery-to-call-an-asmx-service-in-sharepoint-2010
    jQuery-ui Treeview
    https://plugins.jquery.com/btechcotree/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

Maybe you are looking for

  • S_ALR_87012177 (customer payment history) doesn't work for histories ...

    Hi All Rif t.code S_ALR_87012177. This report requires, for working, the flag in th filed "Payment history record" in the tab "payment transactions" of customers master data. I've adjourned the master data of the customers putting in the field "Payme

  • When-validate-trigger

    Hi All I want message('please check the order'); and my code is DECLARE      a VARCHAR2(200);      b varchar2(200); BEGIN      select s.sale_order_no||sd.prod_id||sd.color,s.PERFORMA_TYPE INTO a,b  from sale_order s,sale_order_detail sd      where s.

  • Inspection document not generated upon GR

    Hi all, I have created PO and IBD in ERP and it was successfully distributed to EWM, in EWM the Stock Type for the IBD is F1 (Unrestricted-Use in Putaway), while I expect it to be Q3 (Stock in QI in Putaway) because I have assigned Quality Inspection

  • Can't add account manager

    I've recently returned to Verizon after a disastrous and short lived relationship with Sprint. My wife and I had to terminate our contract with them because of several issues and because she was the one that cracked first, she was the one that got to

  • Fail to register valid number Adobe creative suite 4

    We/ve had a computercrash, so now I've installed creative suite 4 design premium on the new harddisq. I tried to register the product, but the (valid) number is refused. (oh, its on Windows 7)  I chatted with a adobegirl, but she could not help me fu