App.activeDocs: ONLY documents opened by app.openDoc()?

Hi All,
I am running the following:
var d = app.activeDocs;
console.println(d.length);
for (var i=0; i < d.length; i++) {
     console.println(d[i].path);
with 2 docs opened. One of the two is an attached PDF to a host PDF.
1) If I run the above code from the console, I get exactly two documents (ex: console.println(d.length) --> 2).
2) If I put the same code in a button on the host PDF, I get only attached PDF (ex: console.println(d.length) --> 1) if this is opened, otherwise no doc!
Any ideas?
Thanks

You are right. Here it is:
"Beginning with the Acrobat 5.0.5 Accessibility and Forms Patch and continuing with Acrobat 6.0 or later, the behavior is as follows: During a batch, console or menu event, activeDocs ignores the disclosed property and returns an array of Document Objects of the active documents. During any other event, activeDocs returns an array of Document Objects of only those active documents that have disclosed set to true."
Thanks

Similar Messages

  • Hello Apple? How do i fixed my problem with my ipad apps every time i open that apps it takes 10min. to play the games ant its getting LOST MODE and the ipad system is crashing

    How do i fixed my problem with my ipad apps every time i open that apps it takes 10min. to play the games ant its getting LOST MODE and the ipad system is crashing

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    Have you tried closing all apps via the iPad's multitasking bar and then doing a soft-reset and seeing that helps ? To close all apps :
    iOS 7: double-click the home button to open the taskbar, and then swipe or drag each app's screen from there up and off the top of the screen to close it, and click the home button to close the taskbar.
    iOS 6 and below : from the home screen (i.e. not with any app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of each app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • After upgrading to OX mountain lion my apps store doesn't open. App Store cannot verify a secure connection with the App Store. My internet connection is ok but i don't why this happening. What should i do?

    After upgrading to OX mountain lion my apps store doesn't open. App Store cannot verify a secure connection with the App Store. My internet connection is ok but i don't why this happening. What should i do?

    Hi Tahan007,
    Check these threads out:
    Cannot connect to the App Store since upgrading to Mountain Lion.
    Cannot connect to App Store since 10.8.1
    why is my app store sign in saying connection failed?
    Also if you're running any anti-virus SW, you might try temporarily disabling it

  • I accidentally uninstalled the Illustrator CC from my mac. Now I can't re-download the application. Everytime I click "Download", it takes me to the creative cloud app and only shows me the app is up to date. Is there any way I can re-download and reinsta

    I accidentally uninstalled the Illustrator CC from my mac. Now I can't re-download the application. Everytime I click "Download", it takes me to the creative cloud app and only shows me the app is up to date. Is there any way I can re-download and reinstall Illustrator CC?

    Have you already used the Cleaner Tool?
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • When I double tap on an app it doesn't open the app

    When I dbl tap an app it doesn't do anything?

    What do you want to achieve with a double-tap?
    To open app you only tap once.

  • I have a problem since i downloaded ios 8 i have an ipad mini retina display and i cant update my apps and i cant open my apps my ipad have sometimes a glitch i want a update for this problem tnx

    i have a problem since i downloaded ios 8 i have an ipad mini retina display i cant open my apps and update my apps and its glitch sometimes by ios 7 its working perfect no problems i want an update for this problem tnx 

    Are you trying to use the phone in Bahrain with a supported carrier there? I suspect not. If you try to use this phone outside of Bahrain, you won't have FaceTime. This is done to prevent folks from simply crossing the border to purchase iPhones in Bahrain...FaceTime is banned in Saudi Arabia & the UAE. Sorry, but you'll only have FaceTime on that phone while using it in Bahrain on a supported carrier's network there.

  • I have just updated pages app, but now cannot open the app.?

    I have just updated the pages app but now cannot open the pages app

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • I want to use a Scheduled Delivery Print App as only a Print Now app

    Can a Scheduled Delivery Print App be used as only a print now?
    Yes.
    Select the Print App that you wish to use as a Print Now and select 'Add to Printer'.  The 'Add to Printer' will turn into 'Added to Printer'.  Go to your printer and select the Print App under the Apps menu.  The printer display will let you know that you have not setup a Scheduled Delivery and then will allow you to print the latest edition.  If you wish to setup a Scheduled Delivery in the future go to the ePC, select the 'Setup' option, and then configure the days and times of your delivery.
    Although I am an HP employee my posts and replies are my own.

    Yes.
    http://support.apple.com/kb/HT3406

  • An unusual app's display when open the apps after airplay mirroring off

    have this happens to anyone.
    im just noticed this happend on my macbook after upgrade the mountain lion and using a lot of airplay mirroring...
    so im gonna show u the images...
    1. first image
    this is (first image) happens after i used the airplay mirroring. to get the display to normal again when looking the apps, i have to restart my macbook.
    2. second image
    on the second image, its back to normal display after i restart my macbook. after that, its happens again after i used the airplay mirroring.
    im just wondering, if i used a lot of numbers times airplay mirroring, doest it will demage my macbook's screen? is that happens to anyone.
    seems like airplay mirroring got a lot of issues on my macbook (i like to testing all the features on mountain lion).

    Hey everybody i found this on other forum.
    "Do the following:
    options>device>application management
    choose blackberry app world
    select delete
    restart
    on restart, send browser to:
    http://rroyy.com/ota/
    reinstall old version of blackberry appworld
    in my case BlackBerry App World v3.1.0.60 (OS6), no more freezing, all good."
    Worked for me ;D

  • Cannot open my 4s it comes on and a voice tells the time and asks to dbl click to open when i dbl click it goes to 1 page of apps and i cannot open many apps or go to next page of apps

    help my 4s needs to be rest back to my last settings. i cannot figure it out.

    Hello, Brogers5368. 
    Thank you for visiting Apple Support Communities.
    This sounds like VoiceOver has been enabled.  Here are the steps on how to disable this feature.
    iOS: Configuring accessibility features
    http://support.apple.com/kb/HT5018
    Cheers,
    Jason H.

  • I can't open safari app, i can't open safari app

    Hi,
    I just updated my Iphone & i can 'topen the safari .. Please advice

    Reboot the phone. Hold HOME and SLEEP until an Apple logo appears.

  • IPad can't open app, iPad can't open app

    My iPad can't open app, I have to open some folder before open any apps By double tap 2-3 times then I can open all apps Or have to lock the device and
    Unlock the device after that I can open all apps but only can open one app at a time then have to redo lock device/unlock device again and again
    Please help..?..

    It seems Apple is having some issues at their end. There have been hundreds of posts on the forum with the same problem.

  • How do you change the "open in" app list on iPad?

    Hello. Is there a way to change or assign which apps the iPad lists in the "Open In" feature for a file type?  I had to delete one of my notetaking apps before "Open In" would list "Stanza" as an option to open a PDF.
    Thank you for your time.
    akw

    I posted something similar and tested this out on my iphone.
    deleted ibooks app
    This expanded my "open in" apps list to greater than 10 apps ... I think it includes all the apps that can possibly open pdfs now.
    Inconvenient that ibooks has to be deleted to do this but its better than deleting several other paid apps randomly until the app you want appears in the list.
    i am wonderin if this will work the same on the ipad.

  • Trouble opening downloaded apps

    I'm having trouble opening newly downloaded apps on my macbook pro.  I can log into my account on here (obviously, seeing as I posted this) with the same password, but when I go to open my app, if I have shut down my computer between downloading and opening it, I get a window that says I bought the app on a different computer and need to verify use of it on my computer.  This is quite frustrating because I downloaded the app from this computer straight onto this computer - I don't own any other apple products for this to even be possible.  I know I'm not signed into any other computers because when I got this computer for school I created a new apple account and haven't used it anywhere but on this computer.  I try to type in my password, which I know works because I can sign into iTunes and clearly I signed onto here, yet when i type in the correct password, it tells me my password is incorrect and that I need to contact customer service. What is the problem here?

    Hi,
    If the App Store is open click Store > Sign Out from the menu bar.
    Now launch iTunes. From the menu bar (top of your screen) click Store > Authorize This Computer.
    Once that's done, quit iTunes, launch the App Store. Try opening the apps.
    If you still have problems, install the Mac OS X 10.6.8 Update Combo
    It's ok to do this even though you are already running 10.6.8. The combo reinstalls the App Store for you and may help.
    If that still didn't help, move the files in bold print you see here to the Trash:
    ~/Library/Caches/com.apple.appstore
    ~/Library/Preferences/com.apple.appstore.plist
    ~/Library/Cookies/com.apple.appstore.plist
    /Library/Preferences/System Configuration/Network.interfaces.plist
    Restart your Mac. Try opening the apps.
    The first three set of files can be found in your Home folder. ~ (Tilde) character represents the Home folder library.
    The Network.interfaces.plist is in the root library.

  • Clicking on update of an app opens the app it doesn't update why?

    why when clicking on update in App Store that it opens the app but doesn't update it? Please help

    What device are you referring to and what iOS version is it running?
    GB

Maybe you are looking for