Getting the page size and knowing how many pages they are in PDF file

Hi There,
when i do this script (
var myPDFFile = File.openDialog(["Choose a PDF File"]); ) 
with JS via Windows it is used for opening a new PDF file when i import this file i need to
get the page size and how many pages they are in PDF file. but i dont know how to do it.
please help me.

Ask here: http://forums.adobe.com/community/indesign/indesign_scripting

Similar Messages

  • My daughter and I both have an iphone 4, she can no longer send me msgs, it is showing as delivered on her phone, the wee bubble shows on mine to show she is replying to me but i am not getting the msgs, help, anyone know how to fix that? Thanks x

    My daughter and I both have an iphone 4, she can no longer send me msgs, it is showing as delivered on her phone, the wee bubble shows on mine to show she is replying to me but i am not getting the msgs, help, anyone know how to fix that? Thanks x

    Apple is having server issues, they hope to have it resolved in 24 hours.

  • I have a presentation to make to a customer and need to know how many educational apps are there for the iPad/iPod?

    I have a presentation to make to a customer and need to know how many educational apps are there for the iPad/iPod? More specifically special education apps.
    Thanks

    Keep in mind as well that not all apps are "created equal".  Some are really good, and others are not very good.  You might also want to look at some education sites for recommendations.  An example of a general iPads in education forum is
    http://ipadeducators.ning.com/
    but I imagine some exist for special education needs as well.  Our healthcare organization is using some apps for working with autistic children and find them very helpful. 

  • Need to know how many pages contain color

    Is there any way of determining from the PDF file how many pages contain color and how many are just black and white?
    I need to be able to charge users for use of the more expensive color laser printer, and tell the relative cost of printing in black only.
    If there is not a simple way, eg something in each page header, then how many different things would I need to scan for within the PDF file?
    Has anyone else had this problem, and does anyone have any utilty software to help do this?
    Cheers, Derek

    Since this is the PDFLanguage forum, I'll answer by explain a bit about PDF...
    In PDF, there are 11 different ways to represent a color. For example, "Black" could be represented in Gray (1.0), RGB ([0 0 0]), CMYK([0 0 0 1]), etc. Which one(s) of those are "black and white", in your definition?
    Therefore, the first thing you need to do is understand how color works in PDF. Second, you need to understand how those varying colorspaces translate to your printer.
    THEN you can look around at software solutions that will help you solve your needs.
    Leonard

  • Dual library question (iTunes gets the library size and bitrate wrong)

    I have two libraries, one ripped in Lossless, and the other in AAC at 256 kbps. I use one for streaming, and the other for syncing to our iPods. I just switched from the Lossless library to the AAC library (kept on separate drives). iTunes now sees the AAC files, but incorrectly lists all the bitrates as their higher Lossless numbers. However, when I click on an individual song to play it, the bitrate appropriately is recognized as 256 kbps. When I do this, the total library size (listed at the bottom) also incrementally "shrinks."
    The problem is that I just purchased a new 80 GB iPod capable of holding the entire library (nearly 8000 songs@25 kbps, ~60 GB total size). Unfortunately, iTunes still thinks the library is much larger (using the incorrect lossless bitrates to calculate file size). This results in it telling me (erroneously) that the library is too large to sync.
    Is there an easy way to get iTunes to realize the new file sizes? I could obviously double-click on each and every song in the library until iTunes "gets" the real size, but I assume there's a better way. I also assume that this will be an issue every time I switch between the two libraries.
    Help, anyone? Thanks in advance.
    KK
    iMac G5, Mini, PB G4   Mac OS X (10.4.6)  

    Thanks for the tip, but this didn't work, unfortunately. Following your lead a bit further, I even created a new playlist and dragged the whole library there, but the wrong bitrates (and thus, playlist size) still appeared.
    One more curious update regarding this situation. iTunes automatically populated my iPod with what it believed was a subset of my tunes that would fit on the iPod. The real size of this subset was ~20GB, but iTunes thought (using the Lossless size) that it was nearly 60 GB. In categorizing the contents of my iPod, it listed ~60GB of songs, ~1 MB of photos, 1 GB of video and still listed the space available as ~50 GB (for a grand total of ~112 GB of space on my 80 GB iPod). Clearly, iTunes used the calculated size to estimate the music content, but used the actual space remaining based on a query of the iPod drive. Strange, huh?
    I'm still looking for advice--any other suggestions would be welcome.
    KK

  • Why when I opened pages app on my iPad we're the documents there and then disappeared?  Now they are gone!

    Can anyone tell me why when I opened the pages app all my documents were there and then disappeared.  Now they are gone!!!!  How can I get them back?

    Try this:
    1) On a web browser (on a computer, not on an iPad) go to iCloud.com
    2) sign in with your Apple ID and password.
    3) Once you are signed in, select the orange 'Pages' icon.
    4) If there are welcome screens, continue until you get to Pages web version
    5) Are your documents showing there?
    If yes, delete Pages app from your iPad, and reinstall it. Your documents should reappear when you open it after installing. If no, then the only possibility would be if you have previously made a back up on your computer with iTunes.

  • After updating to Firefox 4, the font size in my gmails are smaller. I need to get the larger size back. How?

    On both the listing of gmails and the size of the font when gmails are opened, the font size is smaller than prior to upgrading to Firefox 4. I did not change any settings. I cannot see where I can change this back to larger fonts. Help?

    The page may have been zoomed out. With Gmail on display try using the keyboard shortcut Control+0 (zero) to reset page zoom.
    For more details on using page zoom see https://support.mozilla.com/kb/Page+Zoom

  • Finally using SPAM quarantine and want to know how many e-mails are being released

    We have two C660s and one M660 and we are finally using the SPAM quarantine functionality on the M660 and so far it has been awesome.   For my pilot group I have the spam thresholds set as low as recommended by the GUI at 50 (positive) and 25 (suspected)...   First off, if I change these numbers will I see noticiable differences in what is allowed through and what isn't?
    My real question is, is there an easy way to see what mail is being released by users from the SPAM quarantine?  Originally I had a content filter setup that was working..   but now it appears that when users are releasing e-mails from the quarantine it is skipping any type of content filtering..  From what I can tell, e-mails are still being routed from the M660 to one of the two C660s for delivery..  but in the mail logs I see information like:
    Wed Aug 15 09:34:32 2012 Info: ISQ: Delivering MID 1592784 to ISQ (skipping work queue)
    And in Message Tracking I see:
    15 Aug 2012 09:32:23 (GMT -05:00)
    Message 116381462 was released from Spam Quarantine, IP address 10.25.211.100.
    15 Aug 2012 09:32:23 (GMT -05:00)
    Message 116381462 released from Spam Quarantine. Work queue skipped.
    15 Aug 2012 09:32:23 (GMT -05:00)
    Message 116381462 queued for delivery.
    15 Aug 2012 09:32:23 (GMT -05:00)
    (DCID 40556495) Delivery started for message 116381462 to
    My outgoing content filter is setup like:
    Conditions
    Apply rule: If one or more conditions match Only if all conditions match
    Order
    Condition
    Rule
    Delete
    1
    Remote IP/Hostname
    remote-ip == XXXXXXXX
    2
    Envelope Sender
    mail-from !=XXXXXXXXXX
    Actions
    Order
    Action
    Rule
    Delete
    1
    Add Log Entry
    log-entry("ReleasedFromSpamQuarantine")
    XXXXXXX = the IP address of our M660..  
    XXXXXXXX = the e-mail address used by our M660 to send out reports/alerts etc..
    Appreciate any input/feedback...
    Jason

    Hello Jason,
    one thing about the trhesholds, the defaults are 50/90 for suspected and positive spam, and that usually works for most customers, in some cases if still spam gets trough we suggest to modify that to 40/80, but you should not get any lower, as this will just increase the number of false positives. In general, the antispam engine delivers a value way above or below the thresholds, means scores are always either below 10 (no spam) or above 90 (spam), very few are inbetween this range, so usually the default setting works.
    About the information of which user released a message, there is unfortunately no direct way to get this done. You might try this approach:
    1. mail_logs: Look for the MID of the message when its getting injected to the SMA, note that this is not the same MID as in message tracking.
    2. mail_logs: Look for the message getting released, and note the time stamp:
    6 Aug 2012 13:29:21 (GMT) Start Message 10054459 ICID 0 release from Spam Quarantine
    3. Do a
    CLI: grep timestamp euqgui_logs
    with the timestamp you retreived  from the mail logs (just use the Day, hour, and minute part), this should get you the log lines for the particular minute, check them for the name of the user who was accessing the GUI at that time.
    Hope that helps,
    Andreas

  • How to know how many child tables are present for a parent table

    hi all,
    i created a table USERS in db user pavan (pavan.users (id primary key) ).
    and child tables are may be in the same user pavan or in other users of database also.
    for the other users i given relative grant permissions to access this USERS table and maintain relation to it.
    now, my requirement is how to check the number of references to pavan.users.id
    how many tables are dependent on it.
    thanks in advance.
    regards
    pavan

    Try this
    select a.owner,
           a.constraint_name,
           a.column_name,
           a.table_name,
           c.table_name Referenced_table,
           d.column_name referenced_column
    from
            all_cons_columns a,
            all_constraints b,
            all_constraints c,
            all_cons_columns d
    where a.table_name=b.table_name
    and a.constraint_name=b.constraint_name       
    and b.constraint_type='R'
    and b.r_constraint_name=c.constraint_name
    and c.constraint_name=d.constraint_name
    and a.owner='PAVAN'
    and c.table_name='USERS'
    and d.column_name='ID'

  • Don't know how to store/show image or pdf files easily in apex app

    Hi,
    I always want to put a blob column in my table and store some images or pdf files, like drawings for an item, but I found it hard to do, I have viewed the sample app by apex 4.0, but I cannot understand the code.
    Is there a simple and intuitive way of storing/showing pdf files in an apex app?
    I wish Oracle could make an easier wizard for apex on that issue.
    just make storing a file as simple as in MS access, or email attachment, etc.
    no headache coding involved.
    that will be great!
    that will also do Oracle good, since images will use up a lot of spaces, maybe Xe won't be enough, the will consider an upgrade.

    Yawei,
    there is a chapter about BLOB support in the application builder users guide: http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/advnc.htm#BCGGJHEF
    Maybe this helps for a start, even if it isn't as easy as in MsAccess but this may be due to the fact that APEX is a web application and Access a rich client.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at

  • Acrobat 8.1 and C# - How can you detect password protected PDF files?

    I am modifying our existing C# code that opens PDF files.  But when ever we hit a password protected file, we are prompted for a password.  This is an automated process, so if we detect a password protected file, we move the file to a manual processing folder to be processed later.
    We are using Acrobat 8.1 Standard.
    Our code looks like this:
    using 
    System;
    using 
    System.Collections.Generic;
    using 
    System.Linq;
    using 
    System.Text;
    using 
    Acrobat;
    using 
    System.IO;
    using 
    Word = Microsoft.Office.Interop.Word;
    using 
    System.Reflection;
         AcroApp app = new AcroApp();     app.Hide();
         try
              if (app != null)          {
                   app.CloseAllDocs();
                   AcroAVDoc av = new AcroAVDoc(); 
                   if (av.Open(filename, "Test") == true)               {
                        AcroPDDoc doc = new AcroPDDoc();                    doc = (
    AcroPDDoc)av.GetPDDoc(); 
                        doc.Save((
    short)Acrobat.PDSaveFlags.PDSaveFull, 
                        Utilities.GeneratePath(FileVersion.TEMP) + fi.Name.RemoveFileExtension() + ".PDF");                    doc.Close();
         catch (Exception ex)     {
              ErrorLog.LogError(filename.RemoveFileExtension(), ex);     }
         finally
              app.CloseAllDocs();
              app.Exit();
    This works great for non-password protected PDF files, but it prompts for a password if the file is password protected.  I was looking at the FileOpenEX functionality, but I can not find the reference to bring into my C# project.  It looks like it is only for C++, since I could only find C++ examples.
    Any help would be appreciated.
    Thanks,
    Tom

    There are no methods in the Acrobat SDK for C# for what you wish to accomplish.

  • Where is the official reference to know how many MBs of RAM does iPad have?

    Hi guys,
    I have read discussion here and get to know that iPad has 256 MBs of RAM, but the discussion is user-to-user discussion. I want to know that is there any official reference to point that how may RAM in all types of iPad machines?
    Thank you very much!

    Welcome to the discussions. Since the amount of RAM is not mentioned in Apple's own specs here:
    _iPad - Technical Specifications_
    ...click here:
    ...It says: +"Memory: 256 MB DRAM built into Apple A4 package (top package of PoP contains two 128 MB dies)"+ ...From THIS teardown.

  • Since i have upgraded to ios6 , internet stops working after a minute max , i have tried everything , my other ipad works fine on the same internet , and so does my iphone they are on previous software , please help me

    please help me i have tried everything , like renewing lease , reseting network , etc etc , my other i pad which is on ios 5 works well , so does my iphone which is on ios4 , no matter what i do after a minute or 2 , it stops working , it automatically doesnt connect to wifi unlike my other devices, and i do it manually it works for a min and stop , device still shows connection to wifi
    O and yes ! HAPPY NEW YEAR EVERYONE!!

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • How can i access the hard disk and know the no of partitions

    sir
    i want to access the hard disk and know how many parttions the hard disk have means c,d,e,f,g or may be c,d,e? also volum no or serial no.
    but i do not know how?
    plz help me and send me a code
    thanks in advance
    if this quesstion is not related to this forum plz guide me that where i put this quesstion?

    You figure out how to do it on your OS using C/C++ code.
    Then you write a wrapper in JNI to call your C/C++ code.

  • I had set my passcode by pressing 1 repeatedly till it filled the passcode box. I dont know how many times I have pressed 1. Can someone tell me the character length of the text box of the Passcode

    Hi,
    My son foolishly pressed a single digit till it just filled the text box of the passcode. Now i dont know how many times he has pressed it. If I can know the charcter length, or how many digits can just fill the text box of passcode, I can unlock my ipad2. If anyone reading this has ipad2, he can do the same thing and count how many digits will just fill the text box. I will really appreciate the help.
    Thanks

    You can put the iPad into Recovery mode and Restore it. See this link and note the sentence commencing, 'If you restore from a different computer.... ' down near the bottom of the page.
    http://support.apple.com/kb/HT1808

Maybe you are looking for

  • Event dates are not bolded by Date Navigator in Outlook 2010

    Event dates are not bolded by Date Navigator in Outlook 2010 on my own  calendar.  Events are set to busy but it is not working. View Settings > Other Settings > "Bolded dates in Date Navigator represent days containing items" is checked. This previo

  • Error while starting the workbench server.

    I am trying to get familiar with endeca product. While working with endeca information discovery everything seems to be working fine according to their documentations. but when I am doing endeca guided search , there seems to be some problems.Current

  • HDV Quicktime Codec for PC

    Hi I am in the middle of editing a project on FCP 5 and need to export part of it to a PC. The footage is HDV 1080 50i and for speed I would prefer to keep it that way. I'm having trouble finding the Quicktime codec to allow the footage to be palyed

  • Can not sync I pad 2 after loading 10.4 ITunes update on my pc

    Ater loading 10.4 I Tunes on my pc I can not sync my Ipad 2.  It just sits at step 1 of 5 and does not move.  What can I do?  I am new to using an I pad so not sure if I am not doing something or if it is the new update.  It worked fine before the up

  • Idoc for document posting (FB01)

    HI, How to populate data for inbound idoc.I will get data from flat file. i need to populate data which i will get it from flat file into FB01 as inbound idoc. Regards, gollapudi