The information in this article applies to:
This article discusses an undocumented and unsupported command line parameter. Microsoft does not support or encourage the use of this parameter, but provides this article as information only. Use this parameter at your own risk. SUMMARY
The Recorder application (RECORDER.EXE) that is included with Windows 3.0
and 3.1 can be started with certain command-line parameters that allow
Recorder to load a file when started and, optionally, automatically run a
macro that is defined in the file.
MORE INFORMATIONTo start Recorder and load a file, the command line syntax is RECORDER.EXE <filename>where <filename> is the name of the Recorder file you want to load. If the file is not in the same directory as Recorder, then the path needs to be specified before the filename. The following starts Recorder and loads the file TEST.REC: RECORDER.EXE TEST.REC Auto-Executing MacrosOptionally, you can have Recorder automatically execute a macro that is defined in the macro file. The syntax of the line that does this isRECORDER.EXE -h <shortcutkey> <filename>where <filename> is the Recorder filename you want to load and <shortcutkey> is the key defined in the macro that is being loaded. The -h switch tells Recorder to use the hotkey defined immediately after the -h. For example, if a macro is defined in the macro file TEST.REC that used the shortcut key ALT+F10, the command line to execute this macro when starting Recorder is RECORDER.EXE -h %F10 TEST.RECNote the % in this example. This signifies the ALT key. The following table explains the key sequences:
It is possible to use all these keys in conjunction with the keys
listed in the drop-down list box in the dialog box that appears when
you choose Properties from the Macro menu. A sample command line is as
follows:
RECORDER.EXE -h %^+F10 TEST.RECDepending on your version of Windows, there are up to three ways to automatically run macros when you start Windows.
Additional query words: 3.00 3.00a 3.0 3.0a win30 win31 3.10 3.11 3.1
Keywords : |
Last Reviewed: September 22, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |