Open a file, then close current pdf file

Acrobat X
XI Pro
We have some renamed documents, but other documents link to the old names.  To solve this I created a Word document with the text : OldDoc is now NewDoc.  NewDoc is a hyperlink to NewDoc on the LAN.  I then created a pdf from the Word document.
Clicking the link opens NewDoc, as it should, but I would like to close OldDoc after opening NewDoc.  I had expected that I could add execution of a menu item (File>>Close), but that only causes Acrobat to "blink", and OldDoc remains open.  Apparently the Close command is being carried out on the new document rather than the document in which the command is located.
If I try File>>Exit instead I get a message "Since one of the action [sic] results in closing a doc, the rest of the action will not be executed.  Do you want to continue?"  Then NewDoc opens.  If I click OK, OldDoc closes.  If I click Cancel, both remain open.  The result is acceptable, but of course the pop-up message is not.
If I reverse the order (close OldDoc, then try to open NewDoc) it just closes OldDoc, as I expected, but I figured it was worth a try since it doesn't work to open NewDoc first.
For what the program cost this simple action should be possible.  What am I missing?

Never heard about the crash and that does not sound normal. Be sure to do the updates to Acrobat in case that resolves the issue. You might also check the font settings in the settings file and check to ignore the error if the font can not be embedded and Distiller should use what it considers to be the closest system font.

Similar Messages

  • Before I upgraded to 8.0 I could double click and see all open Apps and then close them. Now when I double click I am not sure what I am seeing or what to do?

    Before I upgraded to 8.0 I could double click and see all open Apps and then close them. Now when I double click I am not sure what I am seeing or what to do?

    The format keeps changing but the basics remain...in the center of the screen are large images of the recent apps which you can close by swiping up and away.

  • How to save and then close a PDF Using Acrobat 9 (URGENT)

    I have been looking for a soultion for long time now but
    couldn't find any.
    I'm using a dynamic PDF form desgined using LC Desginer and created a button that should save the current opened form in the same location (no need to define the location because what I want to use is the command File -> Save) and then close the application (I'm using Acrobat 9 Pro Extended).
    I tried many scripts and gone throw JavaScript™ for Acrobat® API Reference but no luck.
    Once I click on the button I get the following error: NotAllowedError: Security settings prevent access to this property or method.
    Will you please help in this issue as it took long time and my project manager is pushing to get resolved ASAP.
    Guys, I'm new to this kind of tecnology so please be patient with me.
    Thanks in advance for your valuable help.
    The code I used in click event of the button is as follow:
         var myDoc = app.newDoc();
         myDoc.saveAs();
         myDoc.closeDoc(true);
    catch (e)
         xfa.host.messageBox(""+e);
    I used this earlier and got the same error:
    try{
          var myDoc = event.target;
         myDoc.saveAs();
    catch (e)
         xfa.host.messageBox(""+e);
    try{

    Hi Niall,
    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))} 
    The app.execMenuItem works here. Is your form designed to be opened in Acrobat/Reader or are you opening the form in html?
    The form will be opened by Acrobat/Reader. The statement worked but what I need is to save the PDF in the current location without popping up the Save As dialog box. In other words I would like to perform Ctrl+Saction and then exit the application not only close the form because the Content Management Solution we are using will require the application to be closed so it can CheckIn the document.
    I tried to use app.execMenuItem("Save");  but it seems it is not working because once I try to close the application or the form using app.execMenuItem("Close"); the do you want to save changes to "FORM" before closing? dialog box pops-up.
    For closing the application I tried app.execMenuItem("Exit"); and I got this error: InvalidArgsError: Invalid arguments.
    function(){return A.apply(null,[this].concat($A(arguments)))}
    function(){return A.apply(null,[this].concat($A(arguments)))}Also you may want to consider how you are reader enabling the form. If you are using Acrobat to extend the form, then certain features like database connections will not work.
    The customer has Adobe LC Reader Extension so I will use it to extend the PDF but right now I do use Acrobat so I don't need to extend the PDF everytime I need to test it.
    Can I get all the arguments that execMenuItem uses?
    I really appreciate your help Niall.
    PS: I couldn't reply earlier yesterday because my work is on the server and I was at home (my time is +3 GMT it was night when I got your reply)
    Regards
    Mazen

  • Facebook app begins to open up and then close immediately

    When I am opening up the Facebook application on my iPhone, it just opens the screen and then closes right away.
    Does anybody know why? I've powered down and back up, but it still does the same. My phone is just a couple of days old, but I've done the software updates.

    I starting having this problem yesterday, for the second time in two weeks (I got my iPhone on the 26th of July). I did a complete restore last night. i got all of my data re-entered into each program. then, i switched my language to Japanese, and all apps started crashing again. I tried un-syncing a bunch of them, re-synching, then synching only part of the 80+ apps I have (okay, I know I'm an app junkie). Hard re-setting didn't work. Nothing did.
    I was actually thinking of taking it back and reactivating my old phone.
    Then I tried something simple. I re-downloaded a free app (Hangman) directly to my iPhone via the apple store. BAM! Hangman worked, and so did everything else.
    The cause of my problem may not have been the same as everyone else's, but here is what I think worked.
    1) In OS X on a mac, if something goes awry with a program, you usually can fix it by deleting a plist file.
    2) Since you cannot do that on your iPhone, a corrupted plist file somewhere in the iPhone was refreshed/fixed by re-downloading the software directly to the phone.
    I know that elsewhere, on Maccast specifically, I heard that it is best to never download programs directly to your phone (it is always better to sync them through iTunes), but this has me thinking otherwise. Once I get iPhone working again, I may try to never again connect the iPhone to iTunes again. I guess this means listening to podcasts ONLY on my other (STABLE, NON-CRASHING) iPod, the classic... so even though I bought the iPhone in part so that I dont have to take a PHONE and a MUSIC PLAYER when I leave the house, then I will have to take two devices anyway...

  • My computer and search bar open up, freeze, then close

    When I open up My Computer it freezes, says "This PC (not responding)" at the top bar and then closes, then I can use the computer like normal. When I try to use the search bar for windows 8 at the top right, my entire computer freezes, however I can still ctrl alt del to restart. This just happened today and it's weird because I can still open up games and play them almost like normal, excluding the general performance decrease I've had over time, however I cannot do any solutions to fix anything because obviously when My Computer doesn't work... you get the idea. Also noticed today Catalyst Control Center: host application instantly says not responding when I start up my computer. Can't fix that because of the My Computer problem stated above.  I've had exactly 2 blue screens over the past month which I didn't have before, and I've noticed more and more small things not working anymore, since recently. Constant freezes and lagging when using almost anything. When I tried using the support feature on this website, I have no updates and stuff. I don't know what to do from here other than ask you guys what's wrong. If more information is needed I can say, just ask. Anyone know what's going on here?

    Hi there
    Welcome to the HP Support Forums! It is a great place to find the help you need, both from other users, HP experts and other support personnel. I understand that you are experiencing some general performance issues, including some freezes, failed boots and blue screens. I am happy to help with this. Based on what you describe, I would suggest you look at checking your system for malicious software, possible driver related conflicts, as well as unnecessary applications at start up. Any or all of those could easily result in what you are describing.  Take a look through these pagers, which should help with streamlining your system.
    HP PCs - Resolving slow system performance (Windows 8)
    HP PCs - Windows 8 stops responding or becomes very slow after connecting to the Internet
    How to speed up system boot time and the performance I hope this helps. Cheers.

  • Calendar ap opens briefly and then closes?

    The calendar ap opens briefly and then immediately closes, not allowing me to access any information.  Any thoughts on how to fix?  I've tried the various reboot options with no success. 

    Did you quit the calendar completely and then reboot? It might not solve it, but it will not hurt either.
    Quit the app completely and reboot the iPad. Go to the home screen first by tapping the home button. Double tap the home button and the recents tray will appear with all of your recent apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button or anywhere above the task bar.
    Reboot 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 if it appears on the screen - let go of the buttons. Let the iPad start up.
    If that doesn't do any good, you can try resetting all settings.  Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered.
    You could try restoring from a backup - if you have a very recent backup. Otherwise all data entered since your last backup will be lost if you do this.
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    You may have a corrupt entry that can only be dealt with by restoring the device but that would be the last step to use and only if nothing else works.

  • Left click on a link does not open the link; a small blue window opens saying loading then closes.

    Left click on any link in a web page does not open the link. A very small blue window appears with the word loading and a few moving dots. In a few seconds the blue window closes but the link does not open. Links used to open. If I right click the link, I can open the link in a new window. Many new windows pile up. This is a nuisance.
    I am using Firefox 3.6.8 for Canonical 1.0 in Ubuntu 9.10.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the ''Safe mode'' start window.
    You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

  • Mail opens... then closes

    I had mail crash on me. I then went to restart the app and it opens and then immediatley closes. No Joy. I repaired disc permisisons repaired disc, not sure what else to do?

    Scottlaw,
    try opening Mail after pulling the plug on your internet connection.
    See if there are any mails in the outbox that may cause it (trash it if yes).If Mail does not crash, set your Mail account(s) to Offline from the Mailbox menu and re-connect. Then set account Online again and see if it hangs.
    If Mail crashes off line too, remove plist files (see below).
    If problem continues, reinstall Mail (see below)
    Open Preferences from within the Mail program and note the exact settings for your email accounts.
    Quit Mail
    Trash the following file:
    your home directory / Library / Preferences / com.apple.mail.plist
    and empty the Trash
    Restart Mail
    Re-install your mail settings
    These actions will not interfere with your mailboxes, it will simply create a new plist preference file when you re-start Mail.
    When you re-install only Mail, use special software to install this separately such as http://www.charlessoft.com/

  • Error Message when trying to open photoshop 8, then closes

    I don't know how to stop this problem from happening, I cant get into the program to change any settings or troubleshoot.  I have uninstalled and reinstalled after restarting my computer and the same problem is still happening.  I don't know what to try next.  I have only had the program for two weeks, and it seemed to be working fine before I changed the preference to have it automatically sort through and tag my photos.  Maybe part of the problem is that I imported some scrapbooking graphics into the photo organizer.  I don't know how to change or fix the problem though, what do I do?

    Delete the organizer preferences (by deleting psa.prf file at C:\Documents and Settings\<LocalUser>\Application Data\Adobe\Elements Organizer\8.0\Organizer) and launch Organizer again. This will create new preferences for organizer and your program should launch fine after this.
    http://www.johnrellis.com/psedbtool/photoshop-elements-faq.htm#Delete_the_Organizers_prefe rences
    Regards.

  • My app store keeps closing the icon opens in toolbar then closes

    When I go to open the Mac app store it will open in the toolbar bounce about 3 times then disappears , so being said I can not upload the new Yosemite operating system.
      I had this problem with iTunes so I was told to take off the Clean My Mac programs and it came back but this is new.
    When I opened the console to look at the problem it states, Exited with : Code 1.
    Anyone else have this issue?

    Do a backup.
    Quit the application.
    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.appstore.plist. Move the .plist to your desktop.
    Restart, open the application and test. If it works okay, delete the plist from the desktop.
    If the application is the same, return the .plist to where you got it from, overwriting the newer one.
    Thanks to leonie for some information contained in this.

  • When I touch an application, no matter what it is, it opens quickly and then closes and goes back to the main screen. What should I do?

    Basically what I said before. I will touch the Words with Friends app, just for an example, and it will open and quickly close. Same goes for everything else. Birds, Facebook, Music, Books, etc. Any thoughts?

    - A reset usuallu cures the problem:
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - If still problem, restore from backup via iTunes.
    - If still problem, restore to factory defaults/new iPod.

  • HT4623 Beware, my apple mail app opens, is empty, then closes, have no access to folders and no answer so far

    Tried reboot, shut down, took mail account out and back in????

    OK. I have Comcast and use the Xfinity Connect app as well on my iPhone and iPad both running iOS 8.1.1. However, I am not all all familiar with how Comcast works with iCloud. The folders that I have in the Xfinity Connect app are folders on the Xfinity server itself.
    Just so that I am clear on what you are doing and so that I don't lead you down the wrong path, you are saying that you are using Comcast email via iCloud? In other words, your email account goes through iCloud? I don't use iCloud for email at all.

  • Problem while opening a file

    Hi ,
    Can anyone give a solution for me ?
    I have a problem while using files with PDF.
    writer = PdfWriter.getInstance(document,
    new FileOutputStrea("c:/ filename.pdf "));
    Exception occurs when specified file is already opened.
    How can i rectify it?
    Here what i want is ... if specified file is already opened then it is close phisically .How can i close a file by using java?
    In my example a pdf file is opened . how do i close that pdf file using java program.
    Please quickly give response to me .
    Thanks in advance.........

    Hi ,
    Can anyone give a solution for me ?
    I have a problem while using files with PDF.
    writer = PdfWriter.getInstance(document,
    new FileOutputStrea("c:/ filename.pdf "));
    Exception occurs when specified file is already opened.
    How can i rectify it?
    Here what i want is ... if specified file is already opened then it is close phisically .How can i close a file by using java?
    In my example a pdf file is opened . how do i close that pdf file using java program.
    Please quickly give response to me .
    Thanks in advance.........

  • I am having to run v3.5.10 because even now with latest 3.6 that version - every 30 seconds or so I hear a process open and then close. Can't track it down even in task manager - too brief but it's insistent! So stuck having to use 3.5

    I have to use V3.5.10 despite wanting to run 3.6 (just updated to 3.6.6 too). However when I run 3.6 I hear thru my sounds set up a process open briefly and then close every 30 seconds or so - it's very regular and insistent and I'd like to know what it is and why. It's too brief to spot in Task manager processes listing. This did happen once under 3.5 I seem to recall but was cured when it upgraded.
    == This happened ==
    Every time Firefox opened
    == Pretty much soon after I first applied and ran 3.6

    My Win sounds give me a sound each time an app or process opens and another when it closes - thus I know from that any time something happens.
    I have 3.6.6 on as well as 3.5.10 - so can run either. But running .3.6.6 despite being update still has this odd process open and close every half minute.

  • Iphoto open then closes right away

    HI there,
    I upgraded to iphoto 09 last week. Everything with the install went great and was able to open and use iPhoto as normal. Today, I open iPhoto and nothing happens - within 30 seconds it closes. the other ilife apps are OK, I notice in iWeb there is no photos shown. I do have my iPhoto library on an external HD, passport studio because I was running out of memory. Any Idea?
    Thanks for your help!!

    hey maclopez! how did you reselect your library? I have the same troubles with iPhoto 09 as you described. I have no idea how to get it working. It opens, freezes and then closes down after awhile. I repaired all permissions and even reinstalled the application but it still doesnt work. I also used Aperture Demo. Maybe it caused the problem with iPhoto? Dunno really.

Maybe you are looking for

  • Share iTunes library between users

    I would like all the users on my computer to share the same itunes library.  It is music that belongs to our whole family and I don't want to have to store it in multiple places and take up space.  How can I do this?

  • Solaris installation on notebook

    hello, I have a laptop Acer Aspire 5100 AMD Turon 64x . I want to know if it is possible to install solaris 10 on it. and how . Thanks

  • How to use Flex fields

    Hi , I am using ODI 10.1.3.5.4 with Oracle to Oracle data transfer. I tried to create Flex Field. I have followed following steps: 1. In security Manager, Objects Tab, I selected Data Server and added a Flex field as SOURCE_DATABASE_LINK_NAME. 2. In

  • Conversion of long and int: strange result and no warning

    Why does Java allow this? long l = Long.MAX_VALUE / 10; System.out.println(l); // result 922337203685477580 int i = (int)l; System.out.println(i); // result -858993460The compiler accepts it and the runtime accepts it. Why? Complete nonsense is the r

  • Endeca returns only 15 records, while TotalNumAggrERecs = 20

    Hi, If I execute an Endeca query with a particular N-value in C#, then the Navigation query of the ENEQueryResults contains TotalNumAggrERecs = 20 and AggrERecs.Count = 15. How is it possible that Endeca returns a list of only 15 aggregated records,