38.3.6.2 Use D-script to exit

  1. On the [Parts (P)] menu, select [D-Script (R)] and click [Create] in the [D-Script List] dialog box.

  2. Click the [Function] tab. Simply click the instruction available to the script to easily place the [Built-In Function (Instruction)].

  3. On the [Built-In Function (Instruction)] pull-down menu, click [Others].

  4. Double-click [Exit WinGP] and configure the parameter settings in the dialog box below.

    Parameter 0

    0:Do not confirm

    The confirmation dialog box does not appear and WinGP exits immediately.

    Parameter 1

    1:Confirm

    The following dialog box appears in the WinGP. Click [Yes] to exit WinGP.

  5. Click [OK (O)] to view "Exit_WinGP (0)" or "Exit_WinGP (1)" in the [Script Expression Area].