How to use gApp.MenuItemExecute("BatchEdit") then programmatically Run Sequence

I am attempting to use the Acrobat 9 SDK - IAC API from a VB.NET application to select and run a batch sequence.
It is running on Windows XP SP3 with Acrobat 9.1.
So far my code :-
Dim gApp As Acrobat.CAcroApp
     If Not gApp.MenuItemExecute("BatchEdit") Then
If Not gApp.MenuItemExecute("BatchEdit") Then
      MsgBox("Batch Sequences menu was not found.") 
End
This successfully displays the Batch Sequence dialog.
How do I now select the desired sequence and then Run Sequence and execute the resulting dialog?

Thanks for your prompt reply.
If I can't run sequences can I instead run other meni items?
Can I run MenuItemExecute on other menus and then control the resulting dialog e.g. Optimize Scanned PDF or PDF Optimizer or Reduce File Size.
If I can't control these dialogs, what is the point of the MenuItemExecute command?
Russ

Similar Messages

  • How to Use synchronous RFC calls during test run for remote accesses

    there is a Setting for the usage of RFC accesses from a tested system
    using eCATT.
    'X' - Use asynchronous RFC calls during test run for remote accesses
    ' ' - Use synchronous RFC calls during test run for remote accesses
    I developed an eCATT as following :
      SAPGUI ( SAPGUI_1 , Target_system_1 ).
      SAPGUI ( SAPGUI_2 , Target_system_2 ).
    My question is how to run the eCATT in a synchronous RFC calls
    PS: I do not want to change the Target_system to the same one in the
    above script of ecatt.Because I need to run it in 2 different Target
    systems sometime.
    for example, I give a Target_system_3 when run this eCATT
    I want the SAPGUI_1 and SAPGUI_2 run the Target_system_3 but not the
    Target_system_1 or Target_system_2 .
    Could you please tell me how to make it without the changes in script?
    Edited by: Weitong Liu on Mar 24, 2011 9:44 AM

    Hi Liu,
    Weitong Liu wrote:
    > ' ' - Use synchronous RFC calls during test run for remote accesses
    This is the standard option value. Asynchronous are not the standard way and used only for very special purposes.
    Weitong Liu wrote:
    > I developed an eCATT as following :
    >   SAPGUI ( SAPGUI_1 , Target_system_1 ).
    >   SAPGUI ( SAPGUI_2 , Target_system_2 ).
    > My question is how to run the eCATT in a synchronous RFC calls
    The commands will be executed in sequence. So each call will be synchronously replayed against TS1 and TS2.
    What is you issue with this standard procedure?
    Kind regards,
    Christoph

  • How to use 'BAPI_GOODSMVT_CREATE'  for more then one row selected ???

    Hi,
    I am using bapi , BAPI_GOODSMVT_CREATE  ,  my requirement is that first perform ALV display with check boxes & then user can selsct any number of rows  & then on clicking execute button  this bapi is triggered , now my ques is that  if i am selecting rows one by one & executing , then am able to post data successfully, but if am selecting  more then one row at a time then its giving me error
    " exactly one serial no must be selected  (instead of more then two / three ) ."
    plz help me .
    this is how i am filling data in BAPi & bapi call
    FORM FILL_BAPIDATA .
      wa_GOODSMVT_HEADER-PSTNG_DATE = sy-datum.
      wa_GOODSMVT_HEADER-doc_DATE = sy-datum.
      wa_goodsmvt_code-gm_code = c_gmcode.
      LOOP AT it_final INTO wa_final.
        wa_GOODSMVT_ITEM-MOVE_TYPE = c_movtype.                 " '313'.
        wa_GOODSMVT_ITEM-material =  WA_final-MATNR.
        wa_GOODSMVT_ITEM-ENTRY_QNT = wa_final-verme.
        wa_GOODSMVT_ITEM-plant =  WA_final-WERKS.               "'DB10'.
        wa_GOODSMVT_ITEM-STGE_LOC =  WA_final-LGORT.
        wa_GOODSMVT_ITEM-BATCH = WA_final-CHARG.
    wa_GOODSMVT_ITEM-BATCH = l_charg.
        append wa_GOODSMVT_ITEM to IT_GOODSMVT_ITEM.
        clear: wa_GOODSMVT_ITEM.
      ENDLOOP.
      LOOP AT it_final INTO wa_final.
        wa_serialnumber-SERIALNO = wa_final-sernr.
        APPEND wa_serialnumber to it_serialnumber.
        CLEAR wa_serialnumber.
      ENDLOOP.
      LOOP AT it_position2 INTO wa_position2.
        wa_serialnumber-MATDOC_ITM = wa_position2-wepos .
        MODIFY it_serialnumber INDEX sy-tabix from wa_serialnumber TRANSPORTING MATDOC_ITM .
      ENDLOOP.,
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          GOODSMVT_HEADER               = wa_GOODSMVT_HEADER
          GOODSMVT_CODE                 = wa_GOODSMVT_CODE
       IMPORTING
          GOODSMVT_HEADRET              = mthead
        MATERIALDOCUMENT              = w_MATERIALDOCUMENT
        MATDOCUMENTYEAR               = w_MATDOCUMENTYEAR
        TABLES
          GOODSMVT_ITEM                 = IT_GOODSMVT_ITEM
          GOODSMVT_SERIALNUMBER         = IT_SERIALNUMBER
          RETURN                        = IT_RETURN
      GOODSMVT_SERV_PART_DATA       =
      EXTENSIONIN                   =
    APPEND w_MATERIALDOCUMENT to it_GOODSMVT1 .
    IF sy-subrc = 0 .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    *MESSAGE text-016 TYPE 'I'.
    PERFORM msg_log  .
    ENDIF.

    Hi,
    Did u check the serial numbers table before calling the BAPI. Might be the case tht same serial number is assigned for all items, in this case the goods movement may be possible with same serial number for all items.
    Reagrds,
    Aditya
    Edited by: aditya on Aug 11, 2009 11:46 AM

  • How to use wwdoc_api to load documents programmatically?

    Does anyone know how to load documents into content area by using wwdoc_api package? The add_document procedure take a BLOB argument, but I don't know how to pass BLOB to procedures. Many thanks! Simon

    The easiest way to load documents into a content area via an API is to use the wwsbr_api functions which let you pass the local directory path and name of files you wish to upload for use with items. Are you trying to upload documents for use by objects other than Content Area Items?

  • How to use Adobe forms with F150 Dunning Run

    Hi,
    I want to use Adobe forms with the transaction F150 Dunning Run.
    How do I get the adobe form in customizing? I have put the FM 'FI_PRINT_DUNNING_NOTICE_PDF' in business transaction Event, BF31 - P/S modules of SAP app - 00001720, Fi-FI. But it is still not recognizing the ADOBE form.
    Any help is greatly appreciated.

    Hi,
    I am also working for calling custom adobe form instead of sapscript.
    While configuring BTE 1720, i noticed that configuring BTE only FI-FI application does not solve the purpose. You need to assign function module FI_PRINT_DUNNING_NOTICE_PDF for all Application Area Indicator.
    Adding to IS-PS will allow to print for customer.
    This solved my problem. But this setting is global so you need to take care of it.

  • How to use ARD to access a PC running Windows 7?

    Hi,
    I just want to VNC my PC in the office. How do I access Windows 7 from my Mac using ARD 3.6.1?
    My PC has RealVNC server running but they dont' seem to talk well with my Mac's ARD.

    Hi
    Try using this instead:
    http://www.microsoft.com/mac/downloads?pid=Mactopia_RDC&fid=68346E0D-44D3-4065-9 9BB-B664B27EE1F0#viewer
    Less hassle and far quicker.
    HTH?
    Tony

  • How to use sinewave to controll my motor run automatically.

    Hello
    I am now tring to use a waveform(sinwave ) to control my motor run automatically .I am using  labview2010 and EPOS50/5. Is there anyone can give me your suggestion? Thanks in advance.The attachment is the program for my epos.
    Attachments:
    epos and sinewaveform.vi ‏34 KB

    PS: My program for epos can work, but I don not know how to combine the sinewave program with the epos program to make motor run automatically.
    Thanks your suggestion in advance.

  • How to use results from first select to run from second select w/subselect?

    -- I create a table with three fields: Name, Amount, and a Trans_Date.
    CREATE TABLE TEST
    NAME VARCHAR2(19) NULL,
    AMOUNT VARCHAR2(8) NULL,
    TRANS_DATE DATE NULL
    -- I insert a few rows into my table:
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/01/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/02/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/03/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '21', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '68', TO_DATE('06/04/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '110', TO_DATE('06/05/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '20', TO_DATE('06/06/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/07/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '77', TO_DATE('06/08/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '221', TO_DATE('06/09/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '43', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    INSERT INTO TEST ( TEST.NAME, TEST.AMOUNT, TEST.TRANS_DATE ) VALUES ( 'Bill', '73', TO_DATE('06/10/2005 08:00:00 PM', 'MM/DD/YYYY HH12:MI:SS PM') );
    commit;
    -- These are the current select statements I am using:
    -- Last 10 days
    SELECT SUM(t.AMOUNT) AMOUNT10, NULL AMOUNT5, NULL AMOUNT3
    FROM test t
    WHERE t.NAME = 'Bill'
    AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    UNION ALL
    -- Last 5 days
    SELECT NULL AMOUNT10, SUM(t.AMOUNT) AMOUNT5, NULL AMOUNT3
    FROM test t
    WHERE t.NAME = 'Bill'
    AND t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    UNION ALL
    -- Last 3 days
    SELECT NULL AMOUNT10, NULL AMOUNT5, SUM(t.AMOUNT) AMOUNT3
    FROM test t
    WHERE t.NAME = 'Bill'
    AND t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am');
    -- This is the current output:
    AMOUNT10 AMOUNT5 AMOUNT3
    916 NULL NULL
    NULL 477 NULL
    NULL NULL 414
    Is there a way to combine these statements to speed up performance?
    I'm thinking there should be a way to select all the rows in the last tens days, and then just from those results, run another select to get the results for the last 2, 3, or 5 days using subselects in some way. Any help is appreciated. Thanks.
    I don't mind getting results in one row like this:
    AMOUNT10 AMOUNT5 AMOUNT3
    916 477 414

    Thank you for providing create table and insert scripts, along with the query so far. It makes providing an answer so much easier.
    Does this help?
    SQL> select sum(amount10) amount10, sum(amount5) amount5, sum(amount3) amount3
      2  from
      3      (
      4      select
      5          case when
      6              t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
      7              AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
      8          then
      9              amount
    10          end amount10,
    11          case when
    12              t.TRANS_DATE >= TO_DATE('06/06/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    13              AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    14          then
    15              amount
    16          end amount5,
    17          case when
    18              t.TRANS_DATE >= TO_DATE('06/08/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    19              AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    20          then
    21              amount
    22          end amount3
    23      from
    24          test t
    25      where
    26          t.name = 'Bill'
    27      AND t.TRANS_DATE >= TO_DATE('06/01/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    28      AND t.TRANS_DATE <= TO_DATE('06/10/2005 08:00:00 PM','mm/dd/yyyy hh12:mi:ss am')
    29      );
      AMOUNT10    AMOUNT5    AMOUNT3
           916        477        414
    SQL>Message was edited by:
    3360
    Durn, pipped by flakey forums and the return of v garcia.

  • How to use the same button to control run or stop of the program?

    I want to run a program when I press Boolen2, I use switch when press. So when I press it, it will turn "on" stature. There is a loop in the program. I want to stop it, when press the button again, that is when make the button from "on" statue to "off" stature.
    But I don't know why it doesn't work in my vi. And is there other good way?
    Thank you.
    Attachments:
    question2.vi ‏124 KB

    Hi,
    Thank you very much.Please download this file and save it under the same path,and change its extern name to dll.
    I have tried follow your vi. But this method doesn't work properly in my vi. I don't know why.
    Maybe it is because there is a highspeed data acquisition working in the loop. And I have tried to wait 100ms every loop.But it doesn't work.
    Thank you for your help.
    Hugo Liang. 
    Attachments:
    MP421.txt ‏237 KB

  • How to use ole2 in forms 6i to run visual foxpre .exe file

    hi
    i m using forms 6i to run .exe file(visual foxpro 6).
    i have used OLE container. but it is not working properly.(coz it is hardcoding the path set to initialize the container)
    can OLE2 be used??? if yes, the can anybody tell me the code for that...
    thank u

    I would suggest you start with the sample Java bean code we have
    on otn.
    http://otn.oracle.com/products/forms
    go to the sample code section.

  • RTE, how to use it? Are there step by step instructions to make a runnable file for a SBC, load it and run it?

    How to use RTE? I need to run my CVI code on a SBC that has its OS on CompactFlash (CF). I have done the Build»Distributions command and made a cds file but don't know if I did it correctly. I have downloaded and installed CVI RTE on my desktop PC, but what to do next to get my CVI code on my SBC's CF? The CF has WindowsEmbedded and so it has the usual Windows folders. So what files do I load on the CF and where do they go?
    Help please! And thanks in advance!
    Solved!
    Go to Solution.

    John,
    I dont know a huge amount about deploying to windows embedded targets, but I would assume you would just install the RTE like you would any other program, then throw the distribution wherever you like to run it from. 
    Regards,
    Kyle Mozdzyn
    Applications Engineering
    National Instruments
    Regards,
    Kyle M.
    Applications Engineering
    National Instruments

  • How to use a method in sequence diagram from a class diagram

    Hello, can someone tell me how to use the method from class diagram in sequence diagram? so far i only can add a classifier to the object lifeline but i still cannot add the method from the class...
    thx

    Now that Web Services is around, I'd look at possibly implement a Web Service call in your applet, which can then be given back any object(s) on return. Set up your server side to handle Web Service calls. In this way, you can break the applet out into an application should you want to (with very little work) and it will still function the same

  • Having reinstalled java. Iahve tools which I do not know how to use.

    I have Windows XP, and have reinstalled Java as the previous version had wiped clean. At present have a subfolder of program files called java which has a sub folder called jdk1.8.0_18, but I do not how to use these tools to compile and run programs. Previously I had something which could the mouse. How am I to use these tools?

    CliveGoodman16 wrote:
    I made a typo, it actually is jdk1.6.0_18.
    I was abel compile and run a file, but it was a little more complex than suggested and I would lile to know to do with a a mouse,At this point, if you actually want to learn java, then using the command prompt is your best bet.
    I have no idea what "do with a a mouse" means. Was there a specific tool you were using before? I'm sure you can set which compiler it uses somehow. Or you could just use an IDE. In either case, google is your friend. But you should be using the command prompt until you're more familiar with what's going on behind the scenes.

  • How to use linphone - open sip VoIP library in Windows desktop application.?

    I want to develop an VoIP .net application in C# lang for windows desktop. Does anyone know any open sip VoIP library to use.? I know about Linphone. but it is available for Android, iOS and Windows(app developed using GTK- UI builder). If anyone knows how
    to use Linphone for windows then ans also will be appreciated.
    I am using MS visual studio for application development. Tell me its compiling steps as well. How to use that in WPF or WinForms.?
    Thanks in advance.

    Hello,
    The VoIP seems not MS product and can you clarify it? Basically, if it is third party product, you will need to ask for the API writer for details. For example, find a forum here:
    http://www.linphone.org/
    Regards,
    Barry Wang
    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 to use java2idl.exe

    Hi
    I am trying to use the java2idl program that comes with the Oracle 8i database and
    can find no information on how to use it.
    (appart from the 5 line help when you run it).
    Could someone please tell me how to use it and what files to run it on to generate the .idl file.
    Thanks
    Gavin.

    The idl2java, java2idl, and java2iiop tools developed by Inprise for their VisiBroker for Java product (release 3.2) are distributed with Oracle8i.The documentation can be viewed or downloaded from http://www.inprise.com.

Maybe you are looking for