Pulling filepath info from range of pdf's in folder, inserting into excel (VBScript)

I can code getting page numbers and placing into an excel spreadsheet.  However I need a dialog to pop up asking for a folder path, then the code should count the number of pdf's in the folder and write the folder path to the first cell, number of .pdf's in the folder to the second cell, and then do a page count on each .pdf in the folder and writing them to each of the next cells.
Note: I need to do this in VBScript, not JS.
I know I can do this with a simple set of for...next loops and whatever the syntax is for pulling the pdf count in the folder and the file path info.  If someone could post a good vbscript reference for acrobat that would be all I'd need to get this done.  Or any syntax regarding ripping the filepath info and the count of a specific filetype in a folder would also help.
The dialog box to ask the user to specify a folder will be the most difficult for me as I've never done this before, I know I can use an inputbox but I really need the user to have a folder view for this.

"BrowseForFolder" is what your are looking for.
Google will give you examples on mass.
HTH. Reinhard

Similar Messages

  • Got Tiger & pulled iCal info from Panther.....Help!

    When I pulled the info from my Panther backup files & put in iCal, it brought all my calendars with all the events back, but it changed the order & the colors. It doesn't seem like a big deal, but I have those colors as themes throughout other applications as well.
    I pasted in the iCal folder from Library>Application Support. How can I control which calendar is which color, etc? Thanks!

    Henry,
    Click on your selected calendar, then Click the Info button on the lower right side of the iCal Window, and the window which opens will allow you to change the color in the color window drop down menu which is located in the upper right hand corner of the Info Window.
    Just drag them to change the order.
    ;~)

  • Can I use automator to pull contact info from Craigslist? I am new to automator, but I am thinking it is possible for sure.

    Hello all!
    I would like to be able to reply to a large amount of Craigslist emails by pulling the contact info from Craigslist using Automator and putting the emails in a text document.
    I have Automator set to:
    1. Open Safari
    2. Open the Craigslist section an city I want.
    3. Pull a list of active listings URL'S
    Beyond that, I can not figure out how to have Automator open one page at a time and click the contact info button and then copy the  needed info into my text document.
    I can have it open all 150 links at one time.....lol but that wont work on my Macbook!!!!
    Help please!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

  • Create Table... as Select * from.....  Vs Insert into table.....Select * from .....

    Hi All,
    I am having one query as below:
    There is a master table named: MSTR_TABLE  (It's having partitions on a month column [YYYYMM] )
    I am having 4 temp Tables As: Temp1, Temp2, temp3, Temp4 (These tables are not having any index, no partitions)
    Scenario 1: I am trying to insert data into MSTR_TABLE from Temp1, Temp2, temp3, Temp4 tables (Select data from temp tables by Outer Join), which i taking lot's of time. Coming to no of records in temp tables are Temp1: 5 Million Records,
                           Temp2: 3 Million Records,
                           Temp3: 0.5 Million records,
                           Temp4: 5000 Records
    Scenario 2: Creating a new Table as TEMP_MASTER using Temp1, Temp2, temp3, Temp4 tables. This is executing much faster and the table is getting created in less than 10 mins.
    Scenario 3: Now i am inserting data from TEMP_MASTER to MSTR_TABLE. This is is also getting executed in less than 5 mins.
    I tried following methods:
    1) Creating a table with partitions and tried Inserting Data - No Luck
    2) Disabled Logging on table and tried Inserting data - No Luck
    3) used /*+ append nologging*/ and tried inserting data - No Luck
    4) Altered Next Extent to 8MB and tried - No Luck
    Please let me know, why while inserting into main table (Scenario 1) from query is not working and running long time (More than 2 hrs).
    Thanks in Advance,
    Venu Gopal K

    Hi Sudhakar,
    Thanks for your reply. Please find the detailed description of situation as below:
    MSTR_TABLE: Existing Number of columns : 120
                            Indexes: NO
                            Partitions: On Month Column (Datatype: Number, format (YYYYMM, Ex: 201205))
                            Inserting Data for every month
    I added 18 new columns to MSTR_TABLE and the requirement is to populate data for 18 columns. These 18 columns data i am fetching from multiple tables and storing in temp tables as below, and creating a new table by joining PRNT_TABLE, TEMP1,TEMP2,TEMP3,TEMP4 and fetching 120+18 columns data and storing in MSTR_TABLE.
    PRNT_TABLE:  Existing Number of columns : 120
                            Indexes: NO
                            Partitions: On Month Column (Datatype: Number, format (YYYYMM, Ex: 201205))
                            Data : more than 100 Million records
    TEMP1: No Index, No Partitions (No Of Rows: 5 million)
    TEMP2: No Index, No Partitions  (No Of Rows: 4 million)
    TEMP3: No Index, No Partitions  (No Of Rows: 30000)
    TEMP4: No Index, No Partitions  (No Of Rows: 5000)
    Queries are as follows:
    Scenario 1:
    Insert into MSTR_TABLE
    (col1,
    col2,
    col3,
    col119,
    col120,
    New_col121,
    New_col122,
    New_col138)
    select col1, col2, col3 ...............col119, col120, New_col121, New_col122.................New_col138
    from PRNT_TABLE, TEMP1,TEMP2,TEMP3,TEMP4
    where PRNT_TABLE.Col1 = TEMP1.Col1(+)
       AND PRNT_TABLE.Col1 = TEMP1.Col1(+)
       AND PRNT_TABLE.Col1 = TEMP1.Col1(+)
      AND PRNT_TABLE.Col1 = TEMP1.Col1(+)
       AND  PRNT_TABLE.Month  = 201102
    Execution Plan Statistics: INSERT STATEMENT  ALL_ROWSCost: 19,451,465  Bytes: 2,472,327,442  Cardinality: 5,593,501 
    Scenario 1:
    Create table NEW_TABLE
    as
    select col1, col2, col3 ...............col119, col120, New_col121, New_col122.................New_col138
    from PRNT_TABLE, TEMP1,TEMP2,TEMP3,TEMP4
    where PRNT_TABLE.Col1 = TEMP1.Col1(+)
       AND PRNT_TABLE.Col1 = TEMP1.Col1(+)
       AND PRNT_TABLE.Col1 = TEMP1.Col1(+)
      AND PRNT_TABLE.Col1 = TEMP1.Col1(+)
       AND  PRNT_TABLE.Month  = 201102
    Execution Plan Statistics: CREATE TABLE STATEMENT  ALL_ROWSCost: 19,500,277  Bytes: 2,472,327,442  Cardinality: 5,593,501 
    Thanks,
    Venu Gopal K.

  • How do I pull backup info from my itune account

    How do I pull my back up photos from Itunes

    You restore your iphone from your backup.
    The backup is not for use of viewing on the computer.  It is for restoring settings to your iphone.
    Did you fail to import your photos to your computer?

  • Email pdf by getting email info from the same pdf?

    I'm working on a form that has many fields for a customer to fill out. One of these is an email form. I would like to write something in javascript that will grab this information that would have just been filled out by the customer and email the entire pdf to them.
    Basically, I'm looking for a box that a user will be able to input their email into, with a button next to it that will email the pdf to them based on what their email is.
    I know a little javascript but I'm not sure where to start on this... Any help would be greatly appreciated

    Have a look at this tutorial:
    http://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

  • Where does ARD pull dns info from?

    I am in the process of converting machines from static ip addys to dhcp addys. Most of the machines are getting their correct dns names, but a few are still showing up as their old dns names. (This is in ARD's scanner, set to show dns names)
    dig -x or hostname on the affected machines shows the correct name, so I don't know if this is an ARD error, or where else to check. Before I contacted my networking folks, I wanted to make sure that I have my side configured correctly.
    So, if anyone knows what else I can check, I would appreciate it..
    Thanks

    Thanks! I guess that matches the numbers. Looking though iCloud preferences, and Photos Preferences... is there a way to turn off iPhoto Library while keeping Photostream going in the Photos app?

  • ASP / PHP pages: How to get streaming info from a XML file?

    Hi all
    I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.
    I see the the info when I login at the web admin for FMS, but I need a solution that can work with ASP or PHP.
    I simply can't find any file / address to get this kind or output out of FMS - can you help?
    Thank you
    Kind regards,
    Jens

    hi,
    can you share php code for grabbing data. i make php code using "simplexml_load_file" but the problem is it takes 2-3 minutes before it show the result. i want to monitor the current video if stop feeding.
    http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname
    xml
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <result> 
    <level>status</level> 
    <code>NetConnection.Call.Success</code>
    <timestamp>3/21/2015 7:47:17 AM</timestamp>
    <name>_defaultRoot_:_defaultVHost_:::_0</name>
    <data> 
    <_0>appname</_0> 
    </data>
    </result>
    here;s my php code:amsstats.php
    <?php
        $result = simplexml_load_file("http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname");
        echo $result->data[0]->_0;
    ?>
    result:
    http://server2/stats/amsstats.php

  • I want to remove my credit card info from my account.

    I want to remove my credit card info from my account and turn my account back into a Free account that I can only download Free apps.   Can I do this?  I have tried to edit the information but the None selection does not appear to be clicked.   Im stumped.

    You definitely can.
    To remove your payment information open iTunes and go into your account. An easy way to access your account is from quick links on the store home page. After you login there will be a payment type listed with an edit button next to it. Click edit then select none under card type (next to visa, mastercard, etc).
    Afterwards at the bottom of the page select done, then your card will no longer be on file. It will prompt you for a card next time you try to download something that isn't free.

  • Help with displaying info from database+asp

    How can I display info from a database so that it is
    formatted into rows in a table
    here is an example of what I would like
    http://www.westerveltcollege.com/new/programs/bus_admin_computers.html
    (it is the section that show the course content)
    I know it has been code into the table but how to do this
    dymanically
    hope that makes sense to someone ;)

    To do it properly you would set up two tables. The first
    would contain the
    topics and be something like this
    topicID
    topicName
    Then you would have a second table that would hold the
    content like this
    contentID
    contentName
    topicID
    The last field links this table to the topic.
    To display them you would link the topics into a master list,
    and then pass
    the topicID to the page displaying the content and use the
    topicID as a
    filter on the content table.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "jnc1965" <[email protected]> wrote in
    message
    news:eeot1q$db0$[email protected]..
    > nice one thanks
    >
    > now one more quetion
    > how do I set up the info in the database
    > I have serveral page for different topics and each page
    has a table like
    > mentioned above
    > I dont want to make a different colunm for each for the
    course contents
    > I would like to build one table and have each subject's
    course content in
    > a
    > column but how would I do this?
    > and still have appear like the example
    >

  • Can we get put info from database to excel and download file?

    I want to pull specific information from the database and then put it in an excel file. I want to then be able to download that file from a jsp page at the click of a button/link.
    Can someone give an idea about how this can be done.. If you can show some code that would be very useful.

    Well I think the easiest way to do this would be to use JNDI and write a simple VB app or something to use excel (of course the downside of this is that it ties you to winblows).
    The only reason I say this is simpliest is because there are no real good ways to create and xls file through java. I think there are some third party libraries out there for this but not sure where they are or how to use them.

  • Cannot open PDFs inserted as objects into Excel.

    Two-part question.  I know this has been addressed before, but the solutions are not working for me.
    I have Adobe Acrobat 9 Pro and Adobe Reader XI.  When inserting a PDF document as an object into Excel, it will not allow me to insert the icon/object from the "Create New" option.  I get one of two error messages: 'Cannot insert object'  or 'Cannot start the soruce application for this object'.  I am able to insert the PDF icon/object if I insert from the "Create from file" option. (Please note I cannot always link to the PDF, as some spreadsheets are sent out externally and will not have access.)
    Once I am finally able to insert the document as an object, I can open and view the PDF.  However, when I close the spreadsheet and re-open it, if I try to open the PDF document again, I get this error message again: 'Cannot start the soruce application for this object'.
    I have changed my preference to disable the Protected Mode at startup and this issue is still happening.  VERY frustrating.  I never encountered this is past versions of Adobe and all previous suggestions are not fixing the issue.  Does anyone have any insight or know of an update to fix this issue?  Is this an Adobe issue or a Microsoft Office issue?

    Hi Jerry,
    Can you check the similar thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d554e88c-d72f-46b0-8b1a-2f2024fcb9c0/i-e-8-browser-wont-open-pdf-file-returned-from-sharepoint-2010-search?forum=sharepointadminprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Adobe pdf can not be completedly displaced by Adobe reader XI while it is inserted into a Excel2013(office 365) file

    adobe pdf can not be completedly displaced by Adobe reader XI while it is inserted into a Excel2013(office 365) file

    Sorry
    should be “displaying”
    Like when open a drawing pdf which is inserted into Excel(office 365) as an object, some lines, dimensions with remark can not be displayed and only few graph can be displayed.
    But if the drawing is a separate PDF file, not inserted into Excel(office 365)as an object, the Adobe XI reader can always open it with all graphs, figures, texts, lines etc. smoothly.
    发自 Windows 邮件
    发件人: Claudio González
    发送时间: 2014年10月13日, 星期一 17:38
    收件人: Alex Ye
    adobe pdf can not be completedly displaced by Adobe reader XI while it is inserted into a Excel2013(office 365) file
    created by Claudio González in Adobe Reader - View the full discussion 
    Please explain in full detal what you are trying to do and what happens when you try. I don't understand what you mean by "displacing a pdf (file?)".
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6819113#6819113
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe Reader by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Load Table Data into Excel Specific range

    Hi,
    I am working with Excel Destination in SSIS, where i have to insert table data into multiple excel sheets with specific range, sheet name same as table name and i should load each table into that particular sheet name in excel.
    So Sheet name will decide at run time and i have created one variable to pass complete sheet name (like [DimAge$A16:R1000]) in excel destination, but it is throwing error Here i am facing two complexities
    1)Getting error while passing excel sheet name as variable
    2) How to insert into excel in specific range of values shown as above.
    Ur help in solving this would be appreciated

    Hi Naveen,
    Based on my research, a worksheet or range is the equivalent of a table or view in Excel. The lists of available tables in the Excel Source and Destination editors display only existing worksheets (identified by the $ sign appended to the worksheet name,
    such as Sheet1$) and named ranges (identified by the absence of the $ sign, such as MyRange).
    So when you use a variable with [DimAge$A16:R1000] or [Select * from DimAge!A$16:R$1000] value in the Excel Destination, the value acts as a worksheet or range name. But there is no such worksheet or range in the excel file, so the error message occurs.
    To fix this issue, please select the cell range in your excel sheet, then right-click the range to define a name for the range to create some ranges with the specific ranges in excel file, then in the "Name of the Excel Sheet" drop down box of
    "Excel Destination Editor" you can see that Named range. Then simply select the range from the drop-down list or use a variable with the range name as the Excel Destination.
    For more information about how to import data to Excel sheet's specific region, please refer to the following blog:
    http://getsetsql.blogspot.in/2012/01/using-ssis-load-data-to-excel-sheet-at.html
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Is it possible to convert several pdf files (into Excel or Word) at the same time ?

    I'd like to convert several pdf files (up to 500) into Excel at the same time. Is it possible ? How many files can Export PDF handle at the same time ?
    Thanks a lot for your answers,
    Sylvain

    Hi, Sylvain.
    This is a great idea! Currently, ExportPDF only can export 1 file at a time. (Acrobat can do a batch export using it's Action Wizard feature.)
    I added your idea to our idea list: http://forums.adobe.com/ideas/1499. If you'd like to see us add this feature, please go vote or add comment to this Idea on the idea list.
    Dave

Maybe you are looking for