home *** CD-ROM | disk | FTP | other *** search
- '************************** CLIPTEST.MST *********************************
- 'Demonstrates: The capability of the Windows Calculator to send data
- ' to the clipboard correctly.
- '
- 'Required Files: FASTTEST.INC, CALC.EXE
- '
- 'Uses: FASTTEST
- '
- 'Complexity Level: INTRODUCTORY
- '
- 'Notes:
- '
- '*************************************************************************
-
- '$INCLUDE 'FASTTEST.INC'
-
- '*** Set log options and start the Calculator
-
- XSetLogOptions LOG_SCREEN
- Viewport Clear
- XStartApp "CALC.EXE",""
- XLogBanner "Starting Clipboard Test"
-
- '*** Perform a subtraction:
- XText "888"
- XText "-"
- XText "333"
- XText "="
-
- '*** Select the Edit/Copy menu items:
-
- XAlt "e"
- XKey "c"
-
- '*** Verify that the expected result of the subtraction (555)
- '*** is the same as the value currently held in the clipboard
- '*** Note that Calc puts a space in front of the number before sending
- '*** it to the clipboard:
-
- XClipBoardCmp " 555"
-
- XAlt "F4"
-
- END
-
-
-