<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Start Record &amp; Stop Record</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic3" id="xps10_pagetitle">Start Record &amp; Stop Record</div>
      <hr noshade="true">
      <div class="title_division">Start Record</div>
      <table cellspacing="3" align="center">
         <tr>
            <td colspan="1" rowspan="1" valign="top">
               <p align="center"><img align="bottom" src="graphics/tls_14macroal05.gif"></p>
            </td>
            <td colspan="1" rowspan="1" valign="top">
               <p class="para_td">The Start Record option allows you to record a macro file. While you are recording, the Start Record icon is displayed at the bottom of the main NX window.</p>
            </td>
         </tr>
      </table><br><p class="para_division">When you select Macro from the menu bar, select Start Record to begin creating a macro. The system displays a file selection dialog where you can enter the name of the macro. The name you enter can have a maximum of 24 characters. (In addition, the string &quot;macro&quot; is appended to the end of the name; e.g., name_of_macro.macro.) When all events for the macro have been completed, use Stop Record to close the macro.</p>
      <p class="para_division">To create a macro:</p>
      <ol type="1" start="1">
         <li>
            <p class="para_item">Select Tool&rarr;Macro from the menu bar.</p>
         </li>
         <li>
            <p class="para_item">Choose Start Record, which displays the Macro Record dialog.</p>
         </li>
         <li>
            <p class="para_item">Enter a name for the new macro.</p>
         </li>
         <li>
            <p class="para_item">Execute the series of interactions you want to record.</p>
         </li>
         <li>
            <p class="para_item">Choose Macro from the menu bar.</p>
         </li>
         <li>
            <p class="para_item">Choose Stop Record to end the macro.</p>
         </li>
      </ol>
      <div class="title_division">Record Macro with Reset Toggle</div>
      <p class="para_division">The Macro Record dialog has a toggle button named Record Macro with Reset. This toggle button is on by default, and serves to cancel any open DA2 (dialog area 2) before the start of recording, with control then returned to DA1. The word RESET is inserted as the first active line in the macro.</p>
      <div class="title_division">Using Gateway Reset When Recording Macros</div>
      <p class="para_division">There is a procedure you can use when recording macros that assures they will always run, regardless of your location within NX when you launch them. This procedure is known as Gateway Reset. To use Gateway Reset, simply make the first event in the recording of a macro, Application&rarr;Gateway. This cancels the current application, and places the macro at a known starting point in the user interface. If you follow this procedure, your macro will playback from any point or location from within NX, and will no longer be context dependent.</p>
      <p class="para_division">Gateway Reset may not be appropriate for every macro in your inventory. It can, however, be useful in providing a means whereby a class of macros always executes successfully, without regard for where or how launched.</p>
      <table border="0">
         <tr>
            <td valign="top" align="left"><img align="left" src="../graphics/note.gif" alt="Note" title="Note"></td>
            <td valign="bottom" align="left" width="100%">
               <div class="para_note">
                  <p class="para_note_body">   The Application&rarr;Gateway option is always available after choosing Tools&rarr;Macro&rarr;Start Record. This is true even if Application&rarr;Gateway would normally be grayed out due to the presence of other active dialogs.</p>
               </div>
            </td>
         </tr>
      </table>
      <div class="title_division">Stop Record Limitation</div>
      <p class="para_division">You cannot use the Stop Record option when recording if a modal dialog box, such as a file selection box, is displayed. For example, once a shaded image is displayed on the screen during macro recording, you cannot stop the recording, since the shaded dialog is modal. So in this case, the macro must include erasing the shaded image during recording. Thus, anyone who runs the macro later cannot control when the shaded image is dismissed. A workaround to this limitation is to stop recording a macro before shading an image.</p>
      <div class="title_division">SpaceBall and SpaceMouse Devices</div>
      <p class="para_division">The use of SpaceBall and SpaceMouse devices are supported by macros. If these devices are implemented during a session that is being recorded, they will playback properly. See Record All Transforms (under Preferences&rarr;User Interface&rarr; Macro Options) in the <em>Customizing NX Help</em> for information on how to control whether all or only the last setting of the SpaceBall, Dialog Box, and Zoom scroll bar are recorded during Macro recording. 
      </p>
   </body>
</html>