Programmatically using the app.execMenuItem "SaveAs" and "Close"

I am using Acrobat XI pro licensed...
I created a custom action with one step (Execute Javascript), after all the code runs I added a SaveAs and a Close.  It prompts me to save the document, which I do successfully, but directly after I save it, it pops up and tells me that the action is not complete and asks if I want to exit the action.  See below....
1) Code as it is in the script (last 5 lines of it)
// Document SaveAs command
app.execMenuItem("SaveAs");
// Document Close command
app.execMenuItem("Close");
2) Error Pic
When I click "Yes" here, I get the "Adobe Stopped working" error Shown below.
My Question is this  >>  How do I get the error to go away?

I think you need to stop trying to close the file. The action has not finished, and taking away the controlling document is likely to lead to bad things.

Similar Messages

  • HT1883 I started up using the app install DVD and tried to run a test and got stuck and froze what next? Help

    I started up using the app install DVD and tried to run a test and got stuck and froze what next? Help

    Well it started like this I've been away for 12 days and I usually inplug things before I go on vacation, I
    Come plug everything back in start up and it's stuck on the grey screen with the ape logo and the spinning gear. I left about 3hrs on this then assumed its struggle to find the start up disc so I plug the original DVD start up disc in. Then it start up with that to the install screen and could find a hard disc to install to? So I eject that DVD and try with the other DVD. And now this is where I am now.
    I have a password set on my start up and guest user. I am just trying to start up as guest user and the gear has stopped spinning and now I just have a grey screen with apple logo.
    Ups I now have a grey screen with no apple logo put the screen is textured.

  • I downloaded IOS 6 and using the apps movies , books and I-store I get connected to the USA store and not to the Dutch one like before. So i cannot update my purchaged apps. How can I change this ?

    I downloaded IOS 6 and using the apps movies , books and I-store I get connected to the USA store and not to the Dutch one like before. So i cannot update my purchaged apps. How can I change this ?

    Have you looked on all the pages of your iPod?  Have you looked in all your folders?  Have you you tried finding the apps using the iPod's search page.
    PS: Offering points in advance is a violation of there terms of service for this forum.  Perhaps it's why you have not received any other answers so far,

  • I cannot get firefox to open my passwords. What do i need to do? I use the app pass key and cannot register. Does anybody know what i can do?

    I go on the loggon/registration page and i can only get to the loggon part and am not able to register. None of passwords load when i visit a frequently used website I know i am missing something but can"t figure it out.

    Do you see any passwords in the Password Manager?
    *Firefox > Preferences > Security: Passwords: "Saved Passwords" > "Show Passwords"
    In not then there may be a problem with the files that stores the passwords, see Troubleshooting in this Knowledge Base article:
    *http://kb.mozillazine.org/Password_Manager

  • I have graphical errors on the browser edges when i use the right click menu and close out tabs.

    Ok I will try to explain this the best way I can as I'm not sure what to call it. But simply put, if I have FF4 open, sometimes I get a graphical glitch on the edge of the window. It seems to always occur when I right click near the edge of the browser window, then close out that current tab. A small part of the context menu remains on the screen. Here is a screenshot:
    [http://img.photobucket.com/albums/v475/JunkHead/fireglitch.jpg]
    notice the section in the lower right hand part of the browser. That's the leftover context menu in the edge of the window. There is also a section on the bottom of the browser as well. I didn't plan on that one, and have no idea why it is there. I had no menu open there. Anyone every see this before?

    You can also use ctrl-T or File > New tab (if you have the menubar showing). I can't find an extension that will help you bring back the previous behavior but there probably will be one soon.

  • App.execMenuItem("SaveAs") don't work in docready event

    Hi all, I create a dynamic PDF using LiveCycle Designer ES 8.1.1 The client uploaded the document to it server and the users download the document via a website. I added the "app.execMenuItem("SaveAs")" command to the docReady event, the user must save the document before he/she complete it. The save as popup work 100% fine if the docuemt is opened in Adobe reader or Prof. but when the document is opened in a browser the popup don't appear. any suggestions? Regards, Chris

    Could you please confirm the browser being used here.
    Make sure the plugin used here is from Adobe Acrobat/Reader : https://support.mozilla.org/en-US/kb/disable-built-pdf-viewer-and-use-another-viewer
    Thanks,
    Wasil

  • Automatically open, save and close excel?

    I need import data from Excel to SQL.
    Now, I use tSQL to directly read the excel files and transform to the SQL table.
    As the user Excel is not a good format for SQL to read, I need use formula to transform the excel to be a SQL readable format.
    Now, I add a sheet to copy the data from the sheet which user input the data and then ask the user to copy the excel to a specific location for import.
    However, this will make the data in the excel double and result a large excel file.
    I am thinking if it is possible to create a excel to use formula to copy the data from another excel.
    Then, I need find some method to open that excel, let the content refresh from the source excel, save and close it.
    Then I can directly use this excel for data import.
    Is there any simple way to do so? I don't know marco much...
    Ivan

    No formula could do this (Automatically open, save and close excel).
    You need to recode a marco or write a macro. Why donot you ask in msdn?
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
    example:
    Sub auto_open()
    Application.OnTime Now + TimeValue("00:01:00"), "wswx"
    End Sub
    Sub
    wswx() If Not ThisWorkbook.Saved
    Then ThisWorkbook.Save
    ThisWorkbook.Close
    End Sub
    KR

  • Use VBA and Excel to open Dreamweaver HTML (CS5), find and replace text, save and close

    I wish to use VBA and Excel to programmatically open numbered Dreamweaver HTML (CS5) and find and replace text in the code view of these files, save and close them.
    I have  5000 associations between Find: x0001 and Replace: y0001 in an Excel sheet.
    I have the VBA written but do not know how to open, close and save the code view of the ####.html files. Please ... and thank you...
    [email protected]

    This is actually the code view of file ####.html that I wish to find and replace programmatically where #### is a four digit number cataloguing each painting.... In 1995 I thought this was clever... maybe not so clever now :>)) Thank you for whatever you can do Rob!
    !####.jpg!
    h2. "Name####"
    Oils on acrylic foundation commercial canvas - . xx X xx (inches) Started
    Back of the Painting In Progress </p> </body> </html>
    Warmest regards,
    Phil the Forecaster, http://philtheforecaster.blogspot.ca/ and http://phils-market.blogspot.ca/

  • Reader 9 app.execMenuItem ("SaveAs") throw: The document could not be...

    I have a compatibility problem with Reader 9.
    I have designed a PDF with Adobe LiveCycle Designer ES 8.1. and a button, the JS code:
    app.execMenuItem("SaveAs");
    But if I use Reader 9, get the error message:
    "The document could not be saved. There was a problem reading this document (105)."  (if I use Reader 7 or 8 version works).
    Why? How do I solve this?
    Thank you!

    Hi guys
    Exactly, if you save from the standard menu options (File > SaveAs) gives exactly the same error.
    After giving the error, if I try to save again it saves correctly!
    Step by step, the process:
    1. Download the PDF of a web application.
    2. IE download process question if: Open? or Save? document.
    3. Choose Open.
    4. In Reader (or Acrobat) 9 go to File> SaveAs -> and click on "save" produces the error.
    What does the message: "There was a problem reading this document (105)."?
    Why occurs only with version 9 of Acrobat or Reader?
    Add an image of the  case described, to illustrate it better:
    Document properties:
    Certainly it is very hard to work with this Adobe technology... not control what happens within Acrobat / Reader and errors arise "unexplained" or seemingly meaningless.
    Each new version is a real headache

  • HT2090 hello, my eyesight issue happens occasionally, from time to time i run multiple apps that use the isight camera. when i close each app the isight camera's green light is still active. When that happens the only way to stop the isight camera is to r

    hello, my eyesight issue happens occasionally, from time to time i run multiple apps that use the isight camera. when i close each app the isight camera's green light is still active. When that happens the only way to stop the isight camera is to reboot.
    Is there a way to use activity monitor to identify and kill the process controlling the isight? My apologies in advance if this sounds windows (task manager) like.
    Thanks

    tqtclipper wrote:
    hello, my eyesight issue happens occasionally, from time to time i run multiple apps that use the isight camera...
    http://support.apple.
    com/kb/HT2411: Your camera can be used by only one application at a time.
    (Over time, Apple has changed the built-in camera's name on newer Macs from "iSight" to "FaceTime" and then to "FaceTime HD."  Regardless of the name of your Mac's built-in camera, the same info and troubleshooting applies.)
    tqtclipper wrote:
    ... Is there a way to use activity monitor to identify and kill the process controlling the isight? ...
    http://support.apple.
    com/kb/PH5147:  You can quit any process you can see in those listed in the window that opens when you use Activity Mornitor's 
         Window >
    Activity Monitor
    menu command.
    Message was edited by: EZ Jim
    Mac OSX 10.8.3

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

  • How do I use the App store with macbook pro and mac pro

    I currently use the app store with the mac book, but want to buy (share?) apps and music with the mac pro.
    I can't find anything that specifically outlines how this works.
    I use SplashID with the macbook and an iPhone, and want to use it (and sync it) on the mac pro as well.
    If you buy apps for a macbook, can you use them on a second machine, or do you need to buy it a second time?

    Your license from the MAS allows you to download and install the apps on as many Macs as you own or have under your control (institutional or employer supplied Macs.) The Mac should to be running Mac OS X 10.6.8 Snow Leopard or Mac OS X 10.7.2 Lion. Open the MAS app on the Mac Pro and sign into your account to have access to download all of your previous purchases in the Purchased pane.
    Simple apps can also be dragged & dropped over a network connection from the MacBook to the Mac Pro.

  • HT201272 Where can I find the app password saver by yonglin wang.  i wanted to restore my iphone and i had purchased this app and it is not anywhere in my purchases to reload.  Why is it not on my list of purchases?

    Where can I find the app "password Saver" by yonglin wang?  while updating my iphone the app was dropped for some reason.  I went to reload from my purchased apps and it is not available.  The history shows my purchase but I can not find the app to reload.  I've lost some critical info and need to retreive if possible.  Any suggestions?

    You tried what ? If the app is no longer available in the store (can you find it in the main part of the store ?) for re-downloading then you would need to have a copy of it somewhere e.g. on your computer's iTunes, on a backup of your downloads.

  • My nephew and I use the same iTunes account and when I add an app it is loaded on to his iPhone and vice versa... How do I make that stop?

    My nephew and I use the same iTunes account and when I add an app it is loaded on to his iPhone and vice versa... How do I make that stop? I have already unchecked the "Auto Update Apps" button. It happens with all purchases in the app store and on iTunes. HELP!

    I also think separate accounts is the way to go....if he is over 13yrs also remember if you do make an account for him and use your bank card all purchases will be charged to your card.

  • I changed the name of my apple id and now I can't use the app store on my phone correctly because it's using my apple id's old name. I signed out and in on itunes and synced my iphone. Still doesn't work. Help please?

    I changed the name of my apple id and now I can't use the app store on my phone correctly because it's using my apple id's old name. I signed out and in on itunes and synced my iphone. Still doesn't work. Help please?

    Settings>Store...tap the ID shown...sign out...sign back in with the ID you want to use.
    Note: Apps are forever tied to the Apple ID used to originally obtain them. They cannot be updated using any other Apple ID other than the one they were originally obtained with.

Maybe you are looking for

  • Downloading file on Raz M taking over 30 mins to hour

    Have a Raz M, loved the phone before the Sept upgrade.  Txt Messages and pictures take forever to download.  Get a message 30KB "Downloading".  Received picture msg at 3:58 PM 11/7/14, it is 4:21 PM STILL DOWNLOADING!!!   The one earlier in day only

  • H323 static Nat doesn't work fine on 3900 series router with IOS 15.2(3) T

    Hi, I have a problem with static nat setting on my 3925 router with IOS15.2(3). The scenario is like this: I set a static nat between 172.16.1.2 and x.x.x.x(public IP address) using following command: ip nat inside source static 172.16.1.2 x.x.x.x Th

  • Lens Profile for Canon 16-35

    Using Canon Mark11 camera and Canon 16-35 lens.  I can not find a profile for it in Lightroom Lens Correction.  Any thoughts on where I can find a profile for this lens? Thanks, Matthew Kraus

  • Office 365 University offline installation

    I have got an Office 365 University subscription and I need help in installing Office 365 offline. After a bit of searching I found out that I can use Microsoft Office Deployment Tool for Click-to-Run. But I don't know which Product ID I should give

  • Public method not visible

    I'm new to Java and am having trouble with a "method not visible" error when trying to use a package by another person (which works in its own context.) As far as I can tell all the relevant classes and methods should be public and accessible. Here i