How do I execute a macro in FrameMaker 8

Critical details: FrameMaker 8 standalone version on Windows XP.
I have some custom code in DOORS. (DOORS is a requirements mgmt tool for those that don't know). The code is very simple - it just spits out requirements 96-100.
I want FrameMaker to shell out, execute this code, and somehow receive the output from DOORS. The DOORS code execution can be done from a DOS command-line, so if FrameMaker will let me execute DOS commands somehow, this should be easy. The last step is somehow accepting all of the returned info into a variable (or whatever) and then dumping it into my FrameMaker document.
I am guessing this should be pretty easy, but I can't seem to find any documentation that leads me to this capability. Please help if you can. Thanks!
--Paresh
Herndon, VA

Hello Mr. Karandikar,
FrameMaker has very many keyboard shortcuts, so a lot of the functionality can be done via pressing keyboard buttons.
To get a list of all the shortcuts a FrameMaker instance knows, you can use the freeware plugin found under http://www.leximation.com/tools/info/listshortcuts.php
The result of running this plugin is a FM document that lists the shortcuts under a kind of keyword. These keywords can be somewhat cryptic, but most of the time, one can guess which function is hinted at.
Together with a keyboard macro recorder that records keystrokes, you can have a more or less cheap way to automate a lot of stuff (everything that can be done via shortcuts). One good keyboard macro recorder is RemoteKeys (http://www.freewarehits.de/RemoteKeys.htm).
Do not underestimate the power of keyboard macros. I myself used this technique to "automagically" change tables in a large customer document (add rows, delete others, assign formats a.s.o).
Hope this helps,
Franz.
[SYSTEC - the document processing company.]
[excessive signature deleted by host]

Similar Messages

  • How do you execute macros in excel using forms--urgent

    i want to execute a macro which is in excel from forms. i am using the dde built in. how ever when given the command
    dde.execute ( conv_id,'[module1.macro1()]', 1000 );
    i get an oracle error. and the macro does not get executed.
    how ever when the same was tried for word it worked.
    can any one help me in this regards
    thanks in advance
    sethuraman.r

    A db procedure as an autonomous transaction may be
    sufficient for your needs.No. An autonomous transaction will run in its own transaction, but never in an asynchronous way.
    Francois

  • How to execute a Macros automatically  when opening a workbook

    Hi people:
    I've done a macros routine in order to make some arithmetic operations. When I execute the macros manually works fine, however, when I open the workbook and put the filter values the macros isn't executed.
    Sub calculate()
    End sub
    Can anybody tell me if my code has to be in a special place or to have a special function in order to be executed any time the workbook is opened and refreshed?
    Thanks in advanced. Points for helpful answers

    Hi,
    I have done something very common. First for open the workbook:
    In the VBA Editor you have in your project in the "project window" two entries. Excel Objects and modules. In Excel Objets you have the workbook and the sheets. Got to the entry Workbook (double click) In the now opening code window you have to pulldown menus. Choose Workbook in the left one and Open in the right one. The code for the routine / handler appears automatically in the code window. Implement you code here or just call your routine.
    Changes: Do exactly the same as in the method descibed above but from the left pull down menu choose SheetChange. This method only has the Con that it will execute not only by refresh but also by every change on the sheet. If you want to have it only by refreshing then:
    SAP 3.5 - use the SAPBEXonRefresh method as described by Bob
    SAp 7.0 - int the properties window of your workbook you have a possible entry: In the register Exits you can enter your macro at "Run macro on refresh". If you set the option "Refresh Workbook on open" in the register General then you achieve what you want only by implementing the macro in "Run macro on refresh".
    regards, Lars

  • Refreshing and Executing a Macro

    Post Author: Zahed
    CA Forum: Desktop Intelligence Reporting
    Refreshing and Executing a Macro Problem Description I have a report which has a MACRO WITHIN IT. I want to schedule the report , refresh report and auto run macro which exports the results to text file. I am able to schedule and Refresh but can't get the MACRO auto after refresh to run. In 5.1.8 when I scheduled the report it used give me the option to REFRESH And run the MACRO. How do I do this in BO XR2.
    The text file itself is a concatenation of the date and version number which is done within the code, hence the need to use and run the Macro. The Macro needs to executed after Report Refresh.Any help will be appreciatedZahed

    OK, enough time lost.
    Would you simply have tried tit, you would have seen that your toolbar is automatically stored in your Global.mpt (I did hope you had heard about the organizer and global.mpt) and as such available for all projects in that machine.
    You would also have seen that when you create it it floats, and by simply dragging a toolbar around you can make it float.
    If you want to make it accessible to all users, copy it into a file (using Tools, Organizer) save that file, send it to your end users (or store it on a file server where they have access) with the instruction to use Tools, Organizer to copy it into their
    global.mpt. Done this many times for customers, works like a charm.
    Indeed in 2010 it is more complicated and some things like creating your own button is so complicated I dare not even begin.

  • Execute Excel Macro Through DIAdem

    Hi All,
      I am currently trying to run a script in DIAdem which exports certain material properties to an Excel Macro-enabled workbook.  Inside the Excel workbook the user executes a macro to perform some calculations.  The results of that calculation will then be re-imported into a DIAdem report.  I have the import/export data part down, but the million dollar question is how can I execute an Excel macro from DIAdem's VBScript?
      I know some are going to say this makes no sense, just do the calculation in DIAdem.  I know this, but the file/calculations are an industry accepted toolbox and it must be done this way. 
      Thanks in advance and here is some dumbed down code to showcase the example:
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    Dim excel
    Dim excelbook
    Dim a
    Set Excel = CreateObject("Excel.Application")
    Excel.Visible = True
    Set excelbook=Excel.Workbooks.Open("My File")
    excelbook.Sheets("InputResults").range("B5").value = Data.Root.ChannelGroups(ChanGrp#).Properties("myProp").Value
    'Call 'My_Macro' !!!!!!!!!!!!!!!!!!!!
    Msgbox("Result is: " & excelbook.Sheets("InputResults").range("B5").value)
    Solved!
    Go to Solution.

    Hi GT_Mark
    You simply can use the methode Run
    Call Excel.Run("MyMacro")
    Of course you have to make sure that you refer only to data that are available in Excel.
    To obtain CodeCompletion for Excel in the script editor select Microsoft Excel x.x Objects Library in the "Registed Type Libraries" dialog box. The x.x value depends on your installed Excel version.  To open this dialog box, select Script»Type Libraries in DIAdem SCRIPT.
    Hope this helps
    Winfried

  • How can I execute a Procedure with OUT variable is %ROWTYPE on SQL Prompt

    Hi,
    I have a procedure with OUT variable is %ROWTYPE
    How can I execute the following procedure on SQL prompt.
    (without creating anonymous block)
    CREATE OR REPLACE PROCEDURE zz_sp_EMP(VEMPNO IN EMP.EMPNO%TYPE,
    V_REC IN OUT EMP%ROWTYPE)
    AS
    BEGIN
    SELECT * INTO V_REC FROM EMP WHERE EMPNO = VEMPNO;
    END;
    Thanks & Regards,
    Naresh

    as previous posters said: it's not possible to do this without declaring a variable in the anonymous block.
    With anonymous block it would look like this (had to change it a bit, since i'm using hr-schema on oracle XE):
    declare
    l_rec EMPLOYEES%ROWTYPE;
    begin
    zz_sp_EMP(VEMPNO => 100, V_REC => l_rec);
    DBMS_OUTPUT.PUT_LINE ( 'first_name = ' || l_rec.first_name );
    DBMS_OUTPUT.PUT_LINE ( 'last_name = ' || l_rec.last_name );
    end;
    first_name = Steven
    last_name = King

  • How do i execute a stored procedure?

    1. how can i see the list of stored procedures i might have in an oracle database from sqlplus?
    2. say i could see a stored procedure called my_procedure, how can i see the code in this procedure?
    3. how can i execute it from sqlplus?
    thanks u very much.
    - asker

    I ignore your statements fully. I have a joke here.
    There is one fools' gang in a city and they want to prove that they are not fools. One of them says " If we can find the most intelligent man in the city, then we can no more be called fools." Then on one fine morning, one of the fools sets out on a search. He goes to a taxi-driver and asks him to take him to the most intelligent man in the city. Taking advantage, the taxi fellow roams around the entire city for the whole day and end of the day brings him to the same spot where he met him in the morning.
    Taxi driver says, "Sir! I've not seen anyone who is more intelligent than me in this whole city. To prove this, I ask you a question and you answer me. If you can't answer me, then I'm the most intelligent in the city." Even the fool agrees on this and the Taxi driver continues saying, "We are four in our house. My mother, my wife, my son and who is the fourth one?". The fool couldn't answer that and the taxi driver says "The fourth one is me". the fool accepts his ignorance and sets off from the place to their fools-community gathering.
    In the gathering, this folls explains other fools about his achievement and says that the taxi-driver is the most intelligent in the city. When other persons insist on how he had come that conclusion, he asks the same question to his community as says, "We are four in our house. My mother, my wife, my son and who is the fourth one?". The other fools fail to answer and ask for the answer excitedly. This fools replies, "The taxi driver".
    In the same way as the fool, if I give direct answer to the question, the OP doesn't know the logic behind the answer and then just blindly remembers the answer rather than learning. That is the reason I insisted on doing some search before giving a solution.
    Have a nice day ahead.
    And yeah! Neither the number of posts not you can judge my skills. Rest of the community knows.
    Cheers
    sarma.
    Added the bolded text.
    Message was edited by:
    Radhakrishna Sarma

  • How can i execute vb scripts in java program

    hi
    how can i execute any batch files or any other exe files (vb scripts) from java programs
    thanks

    Hi,
    You use Runtime.exec to execute commands / exe-files. See the documentation (and remember that it will only work on windows):
    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html
    /Kaj

  • How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?

    Hi 
    I have a stored procedure. It can be executed like this
    exec test @p = 1;
    exec test @p = 2
    exec test @p = n;
    n can be hundred.
    I want the sp being executed in parallel, not sequence. It means the 3 examples above can be run at the same time.
    If I know the number in advance, say 3, I can create 3 different Execution SQL Tasks. They can be run in parallel.
    However, the n is not static. It is coming from a table. 
    How can I execute Stored Procedures in PARALLEL and DYNAMICALLY ?
    I think about using script task. In the script, I get the value of n, and the list of p, from the table, then running a loop with. In the loop, I create a threat and in the threat, I execute the sp like : exec test @p = p. So the exec test may
    be run parallel. But I am not sure if it works.
    Any idea is really appreciated.

    Hi nam_man,
    According to your description, you want to call stored procedures in parallel, right?
    In SSIS, we can create separate jobs with different stored procedures, then set the same schedule to kick the jobs off at the same time. In this way, we should be careful to monitor blocking and deadlocking depending on what the jobs are doing.
    We can also put all stored procedures in SSIS Sequence container, then they will be run in parallel.
    For more information about SSIS job and Sequence container, please refer to the following documents:
    http://www.mssqltips.com/sqlservertutorial/220/scheduling-ssis-packages-with-sql-server-agent/
    https://msdn.microsoft.com/en-us/library/ms139855(v=sql.110).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • How can I execute program after using F4_Filename function?

    Hi all,
    I'm a new user on the forum. I've been working with ABAP and SAP for a few weeks. I wrote a program for importing data from excel file to SAP using BDC. During searching this forum I found information about F4_Filename function which allows users to browse the disc for a file. I'd like to add this function to my program. I have a parameter for a file name but this is an ordinary static string field. When I added the code which I found in the message on this forum the rest of program doesn't execute.
    This is simple program for example:
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    f_name = p_file.
    write:/ f_name.
    This program works correctly. There is a field for parameter. I can change the default name for a file.
    After all, I can run the program (F8) and rest of the code is executed. The field for parameter dissapears from the screen and the file name is displayed. ( command write)
    Now I added a function F4_Filename
    REPORT  Z_TEST8_AB.
    DATA f_name TYPE STRING.
    PARAMETERS p_file like rlgrap-filename DEFAULT 'c:\test.xls'.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                program_name  = syst-repid
                dynpro_number = syst-dynnr
                field_name    = 'p_file'
           importing
                file_name     = p_file.
    f_name = p_file.
    write:/ f_name.
    I can browse a computer for a file now but after selecting the file I can't run the rest of the code. When I click on the icon or press key F8 the field for parameter doesn't dissapier and the command write is not executed.
    What do I do wrong?
    Could anyone suggest me a solution? How can I executed the code after using this function?
    Thanks in advance.
    Regards,
    Arek.

    Hi arkadiusz,
    1. simple
    2.
    <b>start-of-selection.</b>
    f_name = p_file.
    write:/ f_name.
    regards,
    amit m.

  • How can I execute external application?

    Hi friends I want printing my barcodes a laser printer (Kyocera) it isn't a barcode printer. So I think (and I look kyocera web page my model doesn't support barcode printing in sap) print my barcodes using an external system. Before SAP we are using JollyPrint application for printing barcodes. It is using an Excel file.
    I can create a excel file for this application. I must execute this (JollyPrint-it is a label application) application when I press a button. How can I execute this application?
    Thanks
    Mehmet
    P.S. I have been writing this message with details may be somebody can give me a simple way for this

    Well, I can suggest you following steps. May be it works for you .
    -Create an external OS command in SM69
    -Test OS command in SM49 ( <u><i>about OS command if you search in SDN you’ll get lot of material</i></u> )
    -Create a Script at your OS level, I’m assuming you might have some UNIX flavor or Sun solaria’s.
    -Create a Shell script , which execute the printer job from OS .
    -Shell script will have parameters . ( e.g. printer name, destination etc )
    -set the path of shell script directory in SM69 ( the command you just created )
    -Execute shell script using your ABAP program ( use FM "SXPG_COMMAND_EXECUTE" )
    In the ABAP  program you can pass the parameters and execute the command from ABAP as a result your job will start printing on the required destination. Moreover, you can also capture the spool at OS level .
    FYI
    For UNIX script, if you search in www.google.com ( UNIX forums) . you’ll get shell script .
    Hope this’ll give you idea!!
    <b>P.S award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • How can I execute an .app remotely in a server via internet?

    Hi,
    Using PHP, or something like it,  how can I execute a MAC OSX app but have it run remotely in the server?
    I know this may sound like a simple question but I have almost no experience with Web apps.
    Thanks,
    Juan Dent

    All you need is a trigger that starts the execution. A simple HTML link to the file will do.

  • In ST03 , how can i see the Query name, user id,how many times executed the

    HI Experts,
    In ST03 , how can i see the Query name, user id,how many times executed the query.
    these details how do i get from the above transaction.
    EX:-if there is one report name X,I want to know how many users had executed X report today,weekly,monthly.
    ex:-query userid total number of execution
    sales order 0000555 5 times
    custmer 05855 2 times
    fast reply will be appreciated,

    Hi,
    Look here:
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/54df4204892a78e10000000a155106/frameset.htm
    Also check these:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2d/b8be3befaefc75e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/25/ece73a39e74d27e10000000a114084/frameset.htm
    Hope this helps..
    Bye
    Dinesh

  • How can I execute a statement before a VO is running

    JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    I use ADF BC
    how can I execute a statement before a VO is running

    thanks for the answer
    i use a logon function before I run a VO
    after a certain time will be disconnected
    and I have to call the function again
    sorry for my English
    public String logon(String username, String password){
    CallableStatement st = null;
    this.username = username;
    this.password = password;
    try {
    st = getDBTransaction().createCallableStatement("begin ep_security.LogOn(?,?); end;",0);
    st.setObject(1, username);
    st.setObject(2, password);
    st.executeUpdate();
    this.getDBTransaction().commit();
    } catch (SQLException e) {
    System.out.println("ERROR "+e.getMessage());
    this.addWarning(new JboWarning("Quote retrieved successfully"));
    System.out.println("...RETURN ERROR");
    return "error";
    } finally {
    if (st != null) {
    try {
    // 7. Close the statement
    st.close();
    } catch (SQLException e) {
    e.printStackTrace();
    }

  • How can I execute a batch file from my java program

    Hi,
    Can someone help me or direct me to a link,
    How can I execute a DOS batch file from my java program?
    Thanks

    You will need to grab a handle to the process's
    outputstream so u can see its output.The OP didn't mention any output from any batch file;
    nor any input for that
    matter,so lets not complicate matters here for now
    ok?Actually I think this is essential to see whether it works or not. It's either that or do some manual check to see whether it ran, which is not exactly elegant, and in some cases this may not be easier than simply writing the output stream code, or in fact it may be impossible to check manually.
    I'm sure it wasn't intentional that your post appeared to be bristling with attitude.

Maybe you are looking for

  • Error while calling EJB with a heavyweight Object Parameter

    Hi Everybody, I am getting the following Error when i call a EJB with a heavyweight Object Parameter in Sun ONE Application Server 7.0.0_04. [03/Jun/2005:13:40:39] WARNING ( 2484): CORE3283: stderr: org.omg.CORBA.BAD_PARAM: java.util.PropertyResource

  • WSUS server role on Windows Server 2012 R2 - Supported SQL Configurations

    According to this page the supported SQL configurations for WSUS on Windows Server 2012/2012 R2 stop at SQL Server 2012 SP1, but there is no mention of SQL Server 2012 SP2 being supported. However, both the SCCM 2012 R2 supported configuration page a

  • How to install new version of jvm in Oracle?

    We are using Oracle 9i which is internally using jvm ver 1.2.2. It has a bug 'ByteCode Verifier', so we need to replace the jvm's ver with 1.2.2_011. Can someone help me figuring out how we can uninstall the old version of jvm and install the new ver

  • What is the use of IP alias on firewalls?

    I have a firewall with one WAN port and two LAN ports. Say the IP on the WAN port is 115.115.115.115. Then the IP address on the LAN ports are 172.16.16.16.1/24 and 192.168.1.1/24. the firewall is in gateway mode (it does NAT ing).Now i have connecte

  • Customize Workspace 11.1.1.3 - View Pane

    Trying to customize the view pane to default to not selected as part of the Explorer. Where is this setting maintained?