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.

Similar Messages

  • Q. Any command-line options for Digimarc and Elements 7 batch file processing?

    Q. Any command-line options for Digimarc and Elements 7 batch file processing?

    Are you a digimarc subscriber? You would be better off asking them, if so.

  • Acrobat reader command line switch - password

    Hello everybody,
    I am a developer for macromedia director applications.
    I need to open a password protected PDF-file from within a
    director-projector-application with any suitable
    xtra-extension (not the
    problem discussed here!).
    all I would need is the complete command line for acrobat
    reader to do
    this.
    A complete list of command line switches for Acrobat Reader
    would be helpful
    in respect to further needs.
    where can i get this.
    By the way, the solution for Windows and Mac OS would be
    welcome. Are they
    the same?
    Thanks
    Peter Grambitter

    Hello everybody,
    I am a developer for macromedia director applications.
    I need to open a password protected PDF-file from within a
    director-projector-application with any suitable
    xtra-extension (not the
    problem discussed here!).
    all I would need is the complete command line for acrobat
    reader to do
    this.
    A complete list of command line switches for Acrobat Reader
    would be helpful
    in respect to further needs.
    where can i get this.
    By the way, the solution for Windows and Mac OS would be
    welcome. Are they
    the same?
    Thanks
    Peter Grambitter

  • Does Adobe Acrobat 7.0 have command line switches?

    Currently I use Create PDF from Multiple Documents to cobble together a PDF I need to make every once in a while. Are there command line switches to insert pages? Something like:
    acrobat -insert mydoc.pdf put_in_this_doc.pdf
    I didn't see any mention in the help but thought maybe I was overlooking it.

    No, there are no command lines to do anything like this. Acrobat
    supports OLE automation for programmers.
    Aandi Inston

  • Preview in Browser - Browser command line switches

    Need to add a command line switch to the browser for the "Preview in browser" feature. DW's "Add Browser" and "Edit Browser" will not accept command line switch. Have created a Windows shortcut with the necessary command line switch, but DW will not allow a shortcut as a path to the browser either.
    Anybody solved this yet?
    p.s. Google's Chrome does not allow local session cookies  (document.cookie ). A command-line switch of "-enable-file-cookies" will do the trick, though.
    Thanks in advance.

    Need to add a command line switch to the browser for the "Preview in browser" feature. DW's "Add Browser" and "Edit Browser" will not accept command line switch. Have created a Windows shortcut with the necessary command line switch, but DW will not allow a shortcut as a path to the browser either.
     p.s. Google's Chrome does not allow local session cookies  (document.cookie ). A command-line switch of "-enable-file-cookies" will do the trick, though.
    I haven't tried this, but try adding the switch directly to the Preferences. The Preview in Browser settings are stored here:
    \HKEY_CURRENT_USER\Software\Adobe\Dreamweaver CS5\Browser Launch Menus
    HTH,
    Randy

  • Can i print a file using thunderbird with command line switch

    Trying to automate printing task. I have a folder with 1000's and 1000's of eml files that need to be printed using thunderbird.
    I am able to get the command line switch to open the file in thunderbird.
    But what i really want is to print these files directly using thunderbird without opening the file in GUI.
    Thanks
    Dennison

    ส่งจาก จดหมายของ Windows
    จาก: Pat Willener
    ส่งเมื่อ: จ. 5 มกราคม 2558 6:15
    ถึง: thang dinhvan
    How can I print a file with mixed page orientation in windows 8.1?
    reply from Pat Willener in Adobe Reader Touch for Windows 8 - View the full discussion 
    I have a win 7 and a win 8.1 computer.  I have a file which contains both landscape and portrait pages.  The file prints correctly with the mixed orientation from the win 7 pc, but will only print with either landscape or portrait on the win 8.1 pc. 
    I am using Adobe reader XI on the win 7 pc and adobe touch on the win 8.1 pc
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7064031#7064031 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7064031#7064031
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Reader Touch for Windows 8 by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • How does one specify command line switches for a Helper Application in Mozilla Firefox?

    Greetings,
    I would like to have a certain batch file to be executed when downloading torrent files unfortunately the Select Helper Application dialog does not allow to add command line switches. I did find a workaround to achieve this. In the Select Helper Application dialog browse to the folder which contains the batch file, type the file name including the file extension of the batch file and click on Open.
    Though, this is not the way I would like to execute the batch file. I need to pass some additional command line switches to the command interpreter but I cannot seem to find a way how. Any suggestions or clarifications would be much appreciated.
    Thanks for your time,
    Joeri

    Hi Joeri,
    This is possibly slightly off topic for this forum as it relates to something more than the standard use of Firefox. Although I do not know the answer myself someone else may post later. Otherwise try somewhere else my suggestions are:
    *The mozillazine fora tend to discuss a wider range of subjects and technical details <br/> http://forums.mozillazine.org/index.php
    *Also it may be worth asking on the Add-on forum <br/> https://forums.mozilla.org/addons/
    *Note a general information kb relating to downloads is
    ** http://kb.mozillazine.org/File_types_and_download_actions
    ** and for anyone with simpler questions [[Unable to download or save files]]
    If you do solve this I hope you post back with the answer and a link to the relevant information.
    Good luck with finding a solution, John

  • Modifying Job Settings in Distiller to invoke command line switch

    Beginning in the 8.1 update, there were directory restrictions put in place that can be disabled using the '-F' command line switch. We have an in-house application that creates postscript files utilizing CCITT G4 compression that need this switch to be in place in order for the files to normalize properly.
    Is there a way to modify the job settings in such a way that the command line switch is incorporated and therefore invoked every time a postscript is distilled using that setting?
    Thanks in advance for any help,
    Jim

    Hi,
    Here is the script to turn off time machine
    do shell script "defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup -bool false"
    Change false to true to turn it on.

  • Command line to Deactivate Adobe Acrobat Pro XI

    We're just getting into software distribution remotely using "batch" like files.  Is there a command line to deactivate a license for Adobe Acrobat Pro XI?
    We've had a couple people leave and usually we reapply an image and reuse the workstation.  The people that have Adobe Pro...I try to get to their machine to Deactivate the license...I want to make this part of my process when people leave one job for another....so need a command line to do it.  Unless you have another solution for me.  Thanks in advance.

    @Test-Screen-Name
    On the original disk I fine the "install.app" version 6.0.335.0
    There is no seperat CS6 install app.
    In the map "Payloads" I find
    AcrobatProfessional10.0-EFG etc
    AcrobatXProfessional10.0-mul
    and many other files including
    AdobeDesignWebPremium6-mul
    AdobeDreamweaver files etcetera
    So I can't find a separate "CS installer"
    @Rave:
    I install stand alone on my MacBook Air. Since this MBA has no disc drive I use the disc drive of my iMac. I copied the installation disk to my iMac and then with "sharing" from my iMac to MBA.

  • I need a command line audio player to play ogg sound events

    Hi I am new to the imac. I have a script that needs to play ogg sound events. So I need a command line callable audio player. Is there one for the imac?

    Try PlaySound 1.6.6 - VersionTracker or MacUpdate.

  • Is there an iTunes.exe command-line switch/syntax reference list?

    Is there an iTunes.exe command-line switch/syntax reference list?
    I would like iTunes to automatically play my music (selectable/programmable) when I click on the iTunes icon.
    Thank you in advance, ACJ

    Hi,
    Thank you for posting in Windows Server Forum.
    The switch /control indicates that you can take the control of the session which you have taken. Generally when we take remote desktop session we will already get the control of that session but in some case where some administrator will not give full access
    or control of remote session to the user. At that if they know this option they can use to control that remote session.
    Use command line parameters with Remote Desktop Connection
    http://windows.microsoft.com/en-in/windows/command-line-parameters-remote-desktop-connection#1TC=windows-7
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • Can an Access 2013 accdb file be encrypted using command line switches?

    Can an Access 2013 accdb file be encrypted using command line switches?
    I found all the command switches, but nothing about encrypting.  And I've searched online and found nothing.
    Can this be done?
    Thanks!

    Hi Sharon2000,
    I think you could try the Database.NewPassword Method (DAO) in the VBScript file, and you could get more information about it from the link below:
    #Database.NewPassword Method (DAO)
    https://msdn.microsoft.com/en-us/library/office/ff844754.aspx
    Here is a simple demo to achieve your issue.
    Best Regards,
    Edward
    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.

  • Optical Drive Power software command line switch

    Hello!
    Are there any command line switches for the "Optical Drive Power" - TPSODDCtl.exe software? This software is part of toshiba power saver package. I would like to set it up to turn off my optical drive power on windows startup.
    Thanks,
    Milos

    Hello Milos
    I use Toshiba notebook over 10 years now and something like this is not known to me. I think the answer to your question you can get from Toshiba software development department only.
    I don't believe you will ever get any info about it.

  • Command line options / API Support to launch the sequence file

    does teststand support any command line options / API Support to launch the sequence file and also populate the test run status. I want to explore the option of integrating the teststand with QC where I can launch the sequence from QC and results are sent back to QC.
    Thanks in advance,
      -Dilip

    Hi Dilip,
    Here are the command line options for TestStand v4.2.1:
    Command Line Processing
    Command line usage:
       seqedit.exe [<sequence file>]
                   [/goto <location>]
                   [/run <sequence> <sequence file>]
                   [/runEntryPoint <entry point> <sequence file>]
                   [/quit]
                   [/setCurrentDir]
                   [/useExisting]              
                   [<workspace file>]
          <location>:  property object path to the item to display in the file
                   Location examples:
                         TestExec.exe c:\example.seq /goto "Seq[\"MainSequence\"].Main[\"Power On\"]"
                         TestExec.exe c:\example.seq /goto "Seq[\"MainSequence\"].Main[\"ID#:JifH4ODTf0y1z7bJ​ne0G7D\"]"
                         TestExec.exe c:\example.seq /goto "Seq[1].Main[4].TS.LoadOpt"
          <sequence file>:  sequence file to open
          <sequence>:       sequence to run
          <entry point>:    entry point, such as Single Pass or Test UUTs, to run
          <workspace file>: workspace file to open
       You may specify multiple sequence files, sequences, and entry points.
       Quotes are required for arguments that contain a space, such as
       "Test UUTs" and "C:\My Documents\Test Sequence.seq"
    I don't believe you'll get a return status of the executed sequence from the editor on close; but you could design your sequence to write the status to a file and then read that by your QC application.
    -Jack

  • Acrobat command line switches

    Hi
    I cannot find the swtiches i can use from the command line to open / print / etc with acrobat.
    an example would be: acrobat.exe /print /silent doc.pdf
    Does anyone have the switches???
    i need the switches because i need to write a script that bulk prints pdf docs.
    thanks
    Paul

    I can't say how reliable it will be, but they're documented here: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/DevFAQ_UnderstandingSDK.22.3 1.html

Maybe you are looking for