How close acrobat (with a batch)

Hello,
I'm trying to close Adobe Reader in vbscript after having print a pdf document. How can I achieve this ?
Many thanks for your help.

I am sorry but that does not answer my question.
What is the threat to leave a javascript to close a Firefox window.
Chrome, IE, Opera, Safari still leave doing it (even sometimes, it is through a browser breach); why not Firefox?
Kind regards.

Similar Messages

  • Need a command line switch to close Acrobat Catalog Index batch file

    I am looking for help with a command line switch.  I am VERY new to scheduling tasks and writing scripts.
    Our office created an Acrobat Catalog Index that needs to be updated on a regular basis.  I created a .bpdx file as follows:
    \\dept\SPDintelshare\Analysis\2nd Hand Transaction Logs\Secondhand Transaction Logs.pdx /rebuild
    This runs via Microsoft Task Scheduler from a .bat file as follows:
    "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" "C:\Documents and Settings\cutrone0999\Desktop\PawnIndex.bpdx"
    The batch runs just like it is supposed to, but it won't close when it is finished re-building.  I have tried using EXIT at the end of the .bat file and that doesn't work.  I also tried a force close for acrobat.exe and that doesn't work either.  The problem is that if I log off my computer the batch will run as scheduled and when I log back on in the morning the scheduled task shows 'running' and I have to end it.  Then I have to re-start my computer or I can't open any Adobe documents.
    If I leave my computer logged on, the batch runs as scheduled and when I log back on in the morning I have to close the dialog boxes showing the index re-ran and then close Adobe.
    I would appreciate any suggestions.  I have googled this every way I can think of and I'm not finding any results that are helpful.  Thank you in advance!
    Paula Cutrone
    Lead Crime Analyst
    Onondaga Crime Analysis Center
    Syracuse, NY

    Acrobat can be opened by a Windows batch process, but a Windows batch process can not trigger a batch process/Action within Acrobat.  It is possible with MacIntosh's Apple Script to open a PDF and run Acrobat JavaScript but not interact with Acrobat's Batch Processing or Acrobat's Actions. Note that opening a BPDX file is different than opening an Acrobat Seq file.
    The catalog/index scheduled update is not part of Acrobat "Batch Process" or "Action". The running of rebuilding of the catalog/index is controlled by the values within the  BPDX file. So if one opens the  BPDX file with Acrobat and a catalog/index is scheduled to be rebuilt or past the scheduled date and time, then the catalog/index build is submitted for precessing by Acrobat..
    Now the issue is how to close Acrobat after this processes has completed. Since Acrobat does not communicate with the Windows OS system, the Widows scheduled process has no way to know when this task has completed. Even though one can use JavaScript to test the status of a submitted Catalog/Index build/rebuild there is no communication of the submitted catalog job unless quired by Acrobat JavaScript. If you check the Acrobat JS API Reference you will see there are 2 possible results for a catalog/index rebuild, a completed rebuild and a termination with errors. One of these should require additional action.
    Further, a recent update to Acrobat JavaScript has added restrictions to using JavaScript to "closeDoc" method which may need to be addressed.
    It is also possible to open an FDF file and add/run JavaScirpts within a PDF, and again this is different than running a "Batch Process"/"Action" in Acrobat.

  • I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    ?I'm using Adobe Acrobat with the hope of editing a url on the graphic...a simple 3-letter change, save, close and send for printing..how do I get in edit mode to delete 3 letters and insert 3 new letters?

    pkg4ibm wrote:
    editing a url on the graphic...
    Not sure what you mean by that: is that URL in an image, or is it actual text?
    If it is in an image, then you need to extract the image, edit it with something like Photoshop, then add it back to the PDF.
    If the URL is actual text, I suggest that you remove the entire URL, then add the corrected link.

  • How to close Acrobat reader with a button inside the document ?

    Hi,
    Is there any way to close acrobat reader using script ?
    Doing this :
    app.execMenuItem("Close");
    will close my document, but not the reader ...
    Any idea ?

    Hi Olivier,
    As you say the close script will close the current document only. It is not possible to script for closing the application (Acrobat or Reader).
    The user has to close the application.
    Niall

  • How do I get a copy of Acrobat with my CS5 Master Collection???

    I activated my Adobe CS5 Master Collection (running on Snow Leopard) with a serial number purchased from CDW and everything went smoothly, but after a few days of using the core products I typically use I noticed Acrobat was not included in the installed software.
    Now, Adobe lists Acrobat PRO as an included product in the Master Collection and rightfully so since it contans just about every product they make.
    When I emailed Adobe about this but the only response I got was some  pre-formatted auto-response probably sent to me from the help desk in  India or something. The auto-response said absolutely nothing about how to obtain a copy for the Mac, and just had a link taking me to the Acrobat home page, which basically says there is no trial version of Acrobat for Mac available for download.
    I gave up on it since I do not use Acrobat very much but now I am in a situation where I do need to have Acrobat Pro to finish a job and I cannot figure out how to get a copy installed with the Master Collection.
    There was no disclaimer indicating that you would not be able to get a copy of Acrobat when I purchased the downloadable version vs. buying a boxed DVD set, so I am expecting there must be a way.
    Adobe's help has been pretty much useless when I emailed them, and I cannot find anyone with the same problem on Google or in the Adobe forums, so is there someone out there who can give me the answer or help me?
    If I have to purchase a seperate copy of Acrobat so be it, but since it is supposed to be included with the Master Suite that would be kind of stupid if I have to purchase a copy of Acrobat seperately.
    Thanks to anyone who can point me in the right direction!!!

    This is just getting beyond ridiculous...
    AND I can see from several forum threads I am not alone in this issue.
    Adobe, you absolutely SUCK for making it so difficult to install this software. I am normally a fan of Adobe products, but now that you guys have bought out all your competiton you are getting lazy and stupid.
    This is the most ridiculous crap I've ever seen when trying to install a product I PURCHASED!!!!!!!
    So, after over another week (I have been trying to find a way to install Acrobat with my purchased copy of the Master Suite for MONTHS)...  My IT guy finally gets me the installer DMG for Acrobat and now I cannot install it with my master collection because the serial numbers are not the same?
    I never got a god damn serial number for Acrobat Pro when purchasing the master collection.
    Asking Adobe for help is totally worthless and not even worth taking the time to do so because all they give you is some BS pre-recorded response that doesn't help you with JACK...
    It has been a long time since I've had a problem installing a piece of software I PURCHASED.
    BOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!
    YOU SERIOUSLY SUCK ADOBE ON THIS ONE!!!!!!!!!!!

  • Acrobat XI Pro automatically closes itself with no messages etc. after few seconds

    Greetings all,
    I don't know why but my Acrobat XI Pro (11.0.0) automatically closes itself (with no warning, no messages etc.) after few seconds. I installed the AXI as a part of the CS6 Master Collection on my Windows 8 (x64) laptop. Just as suggested at some other posts in the forum:
    I checked the "security settings (enhanced)" tab but the protected view option is already off.
    I searched for the eula.exe under the "Program Files (x86)\Adobe\Acrobat 11.0" folder but there is no eula.exe. May it be not present because I installed it as a part of CS6 Master Coll. package?
    I am using Eset Endpoint Antivirus as a third party Anti Virus Software.
    The problem occurs when:
    I open up a pdf file from outlook etc.
    I manually open a pdf file from windows explorer
    I open adobe acrobat with no file to view
    As I mentioned above, I see no error messages or warnings during the closing down. It acts as if I clicked the close button on the top right corner. I know that there are a lot of posts in the forum about this issue, but none of them helped me to solve my problem. I would be glad if you can help me with this problem.
    Thanks,

    Hey i was having this issue also with Adobe Acrobat pro... it only seemed to be affecting one program that produced PDF output automatically. When the processes finished the PDF is supposed to be displayed and instead it would rapidly flash across the screen and close. THen i would have to hunt for the PDF to review its content. I tried a couple of things like deleting my preferences for acrobat C:\Users\[your user name]\AppData\Local\Adobe\Acrobat\10.0. You might have to show hidden files. In the explorer window select Organize-> Folder and search options-> once that opens view -> check show hidden files, folders and drives. then navigate that path above. Make sure adobe is closed then delete everything in there or move it off to another folder if your worried it will break it further.
    That did not fix the problem though. I opened the application and ran my process again same results (adobe closes pdf auttmagically). so i opened adobe acrobat and navigated to Edit -> Preferences -> look under the General tab and click the select default PDF handler and that seemed to fix my problem. I also disabled the enhanced security look further down in that list under security enhanced. then a reboot so it is possible that the enhance security setting was the cause i think i will play with that for a minute to see if it was but i think my issue was the default handling. good luck

  • How do you close programs with new iOS7? Old way doesn't seem to work!

    How do you close programs with new iOS7? Old way doesn't seem to work!

    After double tap home button, swipe up on the app card that appears above the icon.

  • How to close Acrobat.exe from the task manager processes through plug-in?

    I have a plug-in in which we have a functionality of defining some keys and they are displayed as annotations on the PDF. Now, if the user defines such a key, an annot (i.e.a rectangular box) gets displayed on the PDF and if the user does not click custom menu say 'Close Key' then annot remains visible on the PDF.
    My problem is if in such a case i.e. the user has defined a key & if the user does not hit 'Close Key' and instead closes Acrobat by directly hitting close (i.e. [X] button at top right corner), then Acrobat exits; but the Acrobat.exe remains running in the Processes.
    If the user tries to open the same PDF again then a message pops up saying 'Cannot open file for viewing as its already in use...'.
    Note that any other PDF gets opened fine.
    Could somebody help me in giving me any ideas/suggestions on this? I want to exit the acrobat.exe from the processes so that the same PDF could get opened. As described above, the cause is the key (annot) was opened and user abrubtly exited Acrobat. Is there a way, that we could catch this Acrobat exit event in the plug-in? That way, I'd be able to clear off the annot (key) and then close acrobat.
    Please let me know asap.

    Hey, tnx for ur response! But, the issue is reproducible on Acrobat 7.0 Professional.
    I do have the 'WillClose' event registered in my plug-in. Below is the event that is wired up with 'WillClose' event:-
    static 
    ACCB1 void ACCB2 NotifyAVWillClose (AVDoc doc, void *clientData){
    UNREFERENCED_PARAMETER(clientData);
    UNREFERENCED_PARAMETER(doc);
    CloseTemplate(TRUE);
    The 'CloseTemplate' method performs the closing of the annotation, clearing of objects and deleting the PDFfile class pointer.
    And this all works fine with Acrobat.exe getting closed from the task manager processes in acrobat versions 8 & 9. However, in Acrobat 7.0, the process remains in the Task Manager.
    Could you suggest any ideas on what else needs to be implemented to end the process in Acrobat 7?
    Thanks!

  • How to handle one HU with more batches?

    Dear Experts,
         Could you tell me how to solve this? Is it possible to realize it?
         if it's one HU with one batch, I can confirm the TO, but if it's one HU with more batch, it always gives error message"No stocks from HU storage locations can be managed on SU 7000023417" Message no. L3804.
    Thanks!
    xinling zhang

    Hello,
    this message " stocks from HU storage locations can be managed" Message no. L3804. is because the amount of the storage unit is greater  than the amount of picking, the solution is:
    spro-> logistic General -> handling units -> basic-> warehouse management-> Control automatic pick HU creation.
    must create a line with the information necessary
    this allows confirmation in LT12, will automatically generate a HU, and there can select the lower HU
    REGARDS

  • When i close window with multiple tabs angd start new session (open new window) old tabs open again, how can i stop it?

    when i close window with multiple tabs and start new session (open new window) old tabs open again, how can i stop it?

    It is possible that there is a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

  • How to run group solve with the batch manager

    I'd like to know if it is possible (and how) to run group solve defined in OFA with the batch manager.
    Thank you
    Luigi Polverini
    Synesis s.r.l.

    OFA uses its Task Processor rather than Batch Manager to run tasks in batch. Group solves can be scheduled this way by submitting the group solve task to the TP, and then rescheduling it in the Task Queue window.
    null

  • My iphone 5 open-close key does not work,how to deal with?, my iphone 5 open-close key does not work,how to deal with?, my iphone 5 open-close key does not work,how to deal with?

    I bought the iphone5 on your online store on Nov24. 2013, Last year, I came back China. more ten days before, my iphone 5 's open-close-key did not work. I contact Apple's China, but they told me that they could not help me repair the problem, how to deal with ?

    What is the "open-close" key?  Do you mean the power button or the home button?
    FYI, these are user to user support forums, you are not addressing Apple here.
    Warranty and support are ONLY valid in the country of origin.

  • When I close firefox with ctrl-alt-delete, I want to start over on Firefox, I usually do this when too many tabs and windows are open. However, Firefox always restores the tabs and windows I previously had. How can I stop that from happening?

    This happens when FireFox is not responding, and I want to close firefox with ctrl-alt-delete. Too many tabs can make Firefox crash. That is why I want to use ctrl-alt-delete to close FireFox. I tried finding a way to disable this, but I found no option to.

    Ending the Firefox program or process with the Windows Task Manager "looks like" a crash. The proper way to exit Firefox is click Firefox button > Exit (or File > Exit, if using the Menu Bar).
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • How do we use Script (batch file with msbuild/msbuild project) to build Cordova Project created with Visual Studio Tools for Apache Cordova?

    I use Visual Studio to create Cordova projects. I need to build Cordova projects using msbuild and buildbot via script for my project but I can find only information about how VS combine with Cordova CLI to build multi device hybrid application.

    Hi Samseth,
    Yes, correct, the only thing we can find on the MSDN is:
    Deploy and Run Your App
    And that's the reason why Visual Studio Tools for Apache Cordova existing.
    I think you may get more detail compile information from here:
    http://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HOW CLOSE CAN BEHRINGER TRUTH B2031A SPEAKERS BE TO A 2013 IMAC WITH FUSION DRIVE?

    How close can you put studio speakers (specifically Behringer truth b2031a) to a 2013 imac?  I know the speakers are sheilded but is it still safe right next to the computer?  Will the fusion drive inside or a external be affected by the speakers?  Anyone who has knowledge or experience in this topic your information would be greatly appreciated.  Thanks!

    This was a concern expressed in this thread: Worrying reply to Apples FAQ on new Fusion Drive
    However, Apple has since amended the FAQ, clarifying their earlier Fusion confusion.
    Therefore I believe the answer is yes, you can add an external USB HD. If Apple would only state that explicitly in this document, it would eliminate all doubt.

Maybe you are looking for

  • IPod will no longer sync podcasts from iTunes store

    Both our iPod and iPod Nano will no longer sync podcasts. We have downloaded new music, which will sync, but not the new podcasts from the iTunes store. iTunes indicates that it is syncing (which takes about 1 second) but the podcasts are not synced.

  • Acrobat X Pro - Windows 7 - Missing context menu

    Hi, so I just installed Adobe Acrobat X Pro on a Windows 7 computer and noticed how the context menu "right click" for "Combine PDF files" are missing. Open with Adobe Acrobat X however is there, but when selecting two or more PDF files, this option

  • How to publish a "SYS.AQ$_JMS_MESSAGE" message to a topic (java)

    Hi, I am trying to publish a message (SYS.AQ$_JMS_MESSAGE) to a topic and address it to only one consumer... Below is the code I use to try to publish the message : l_queue = a_session.getQueue("AQADM", "TESTTOPIC"); l_message = l_queue.createMessage

  • ASDoc with external swc

    I need to generate the documentation from a project using ASDoc. The problem is that the project includes some classes from an swc library for which I don't have the source code. the command that I am running is: asdoc -source-path src -doc-sources s

  • CASE function is not working

    Hi, I want to use the CASE function in a sql statement used at form level but it's not working. I can't compile the form. I am using developer 6i at font end and Oracle 10g database at back end. Is it possible to use case function at form level sql s