[ Recorder Home Page ]

Windows Recorder Recorder Icon
Articles from the Microsoft Knowledge Base


The following articles have been copied to this page:
 

Return to the Tips and Troubleshooting Page.


ANSI Characters from Recorder Will Not Display in Write

Last reviewed: November 23, 1994
Article ID: Q85531
The information in this article applies to:
Microsoft Windows operating system versions 3.0 and 3.0a

SYMPTOMS

ANSI characters are not display in Windows 3.0 Write when input from a macro created and run by Recorder.  Examples of the ANSI character set are currency symbols, mathematical symbols, and fractions.  These are characters not typically found on a normal keyboard, and are entered by pressing the ALT key plus a combination of numbers.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Windows operating system version 3.0.  This problem was corrected Windows version 3.1.

MORE INFORMATION

When using Recorder with Write to create a macro to input ANSI characters into a document, the characters are displayed in Write during the recording process.  When the macro is played back, the ANSI characters are not displayed in the Write document.  Using Recorder with Notepad works correctly.

[ Top of Page ]


CapsKey May Conflict with Windows Recorder

Last reviewed: November 23, 1994
Article ID: Q84952
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11

SUMMARY

You should run the Playroom Software CapsKey utility before using Microsoft Windows Macro Recorder (RECORDER.EXE).  If you do not run CapsKey first, Recorder macros may not function properly.

MORE INFORMATION

CapsKey is a program that forces the CAPS LOCK key to behave as if it is "sticky." That is, a key press will remain active until you press the SHIFT key.  CapsKey is distributed with the Playroom Software Makeover package.

If, at any time during a Windows session, CapsKey is run AFTER the Recorder, CapsKey may render Recorder macros inoperable.  If this occurs, Exit Recorder then restart it.

To correct this problem, run CapsKey before you run Recorder.

[ Top of Page ]


Using the Windows Macro Recorder with Works for Windows

Last reviewed: June 12, 1996
Article ID: Q80628
The information in this article applies to:
Microsoft Works for Windows, versions 2.0, 2.0a and 3.0 Microsoft Windows operating system versions 3.0 and 3.1

SUMMARY

Microsoft Works for Windows does not have a macro recorder; however, the Microsoft Windows Recorder program can be used with Microsoft Works for macro execution.

MORE INFORMATION

To use the Windows macro recorder with Works for Windows, do the following:

Run Recorder.

From the Macro menu, choose Record.

In the Shortcut Key group box, select a key from the drop-down list.  Entering a macro name is optional.

From the Record Mouse list box, choose Ignore Mouse.

Select Start to begin recording the macro.  All keystrokes you type will be recorded and all mouse actions will be ignored.
Important: All commands you don't want recorded in the macro, such as starting Works, should be done with the mouse, and all other commands must be done from the keyboard.

To stop recording the macro, press CTRL+BREAK and select Save Macro.  Return to the Recorder and choose Save from the File menu to save the macro for future use.

The macro can now be played back by pressing the shortcut key you assigned.  For the macro to be available, Recorder must be running and the macro file must be open.  You may add the macro filename to the LOAD= line of the WIN.INI file to have it automatically load.

For more information on Recorder, query on the following words in the Microsoft Knowledge Base "macro and recorder and windows".

REFERENCES

"Microsoft Windows User's Guide," version 2.0, page 405-420.
"Windows 3 Secrets," Brian Livingston, pages 39-57 (Info World Technical Books)

[ Top of Page ]


Fish! Causes Recorder Errors with Windows

Last reviewed: November 23, 1994
Article ID: Q78183
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a

SYMPTOMS

The shareware program Fish! version 3.0a4, which is included with the Microsoft Windows Resource Kit, causes errors with the macro recorder if Fish! is running during the recording or playback of macros.  Error messages may include:

Cannot play back to obscured window

-or-

Playback window does not exist

These errors occur when you use the mouse to manipulate program icons that are minimized and on the desktop.

WORKAROUND

When recording a macro with Recorder, choose Record from the Macro menu, and select Ignore Mouse in the Record Mouse list box.  Use the keyboard only (do not use the mouse).

[ Top of Page ]


Keyboard Commands More Reliable With Recorder

Last reviewed: November 23, 1994
Article ID: Q78048
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11

SUMMARY

Macros recorded with the Microsoft Windows Recorder program are more reliable when created using keystrokes, than macros created using equivalent mouse operations.

MORE INFORMATION

Macros based on mouse operations are dependent upon the locations and sizes of objects on the desktop.  The sizes and location of objects tend to change for each Windows session and user.  Therefore using these as reference points may result in Recorder macro errors, such as the following:

Playback window does not exist

Keystroke-based macros do not depend on the locations or sizes of objects; thus, they are not sensitive to changes in these reference points.

Example of Keystroke Macro

Execute the Recorder program.

Minimize Program Manager.

From the Recorder menu, choose Macro Record.

Begin recording the macro, using the following settings:

Playback (Group Box)

To: Same Application
Speed: Fast
Record Mouse: Everything
Relative to: Screen

While holding down the ALT key, press the TAB key repeatedly until Program Manager is highlighted.  Release both ALT and TAB to restore Program Manager.

Press ALT+F, R to choose Run from Program Manager's File menu.

Type

clock.exe

and press ENTER to run the Clock program.

Type CTRL+BREAK to stop recording.

Save the macro.

Steps 1-4 must be performed because the Program Manager may be minimized at the start of the macro.  If so, it will not respond to the File Run command given in step 5.  These steps ensure the Program Manager is open.

[ Top of Page ]


Recorder Err Msg: Recorder Playback Aborted

Last reviewed: November 23, 1994
Article ID: Q77051
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11

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.

SYMPTOMS

If you execute a macro from Recorder's command line and you have Minimize On Use enabled, the following error message is displayed when you run Recorder:

Recorder Playback Aborted!

WORKAROUND

If you need to run the macro from the Recorder command line, the only workaround is to disable the Minimize on Use command in the Options menu of Program Manager.

MORE INFORMATION

For more information, query on the following words in the Microsoft Knowledge Base:

Recorder and Macro and Command and Line and Windows

[ Top of Page ]


Automatically Running Recorder Macros, Command Line Parameters

Last reviewed: March 1, 1995
Article ID: Q72439
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11

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.

From the Program Manager, click the Recorder icon.

From the File menu, choose Properties.

Specify the optional parameters in the Command Line box.

MORE INFORMATION

To 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 Macros

Optionally, you can have Recorder automatically execute a macro that is defined in the macro file.  The syntax of the line that does this is

RECORDER.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.REC

Note the % in this example.  This signifies the ALT key.  The following table explains the key sequences:

Key Sequence
ALT %
CTRL ^
SHIFT +

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.REC

Depending on your version of Windows, there are up to three ways to automatically run macros when you start Windows.

To start Recorder from the MS-DOS prompt when you start Windows and have it execute a macro, use the following command line during startup:

WIN RECORDER.EXE -h %^+F10 TEST.REC

NOTE: If you are entering this command line into a batch file, you need to use a double percent sign, %%.  A single percent sign is interpreted as a null character and does not perform the desired function.

-or-

Run the macros from the RUN= or LOAD= line in the WIN.INI file (for example, enter "RUN=mymacro.rec" in the WIN.INI file [without the quotation marks]).

-or-

In Windows 3.0, Use the following steps to automatically execute your Windows Recorder macro without having to include the command line parameters:

a.  From File Manager, highlight a Recorder macro document file.

b.  From the File menu, choose Associate.

c.  Type "recorder.exe -h <shortcutkey>" (without the quotation marks), where <shortcutkey> is the hotkey for your macro.

For example, if a macro was defined in the macro file MYMACRO.REC that used the shortcut key ALT+F12, type the following in the Associate dialog box:

recorder.exe -h %f12

NOTE: Using CTRL+Shortcutkey does not work in this situation.  The symbol for CTRL "^" is reserved in the [EXTENSIONS] section of WIN.INI.  Using CTRL in the hotkey causes the following message:

No macro file - ignoring shortcut key MACRONAME.REC

d.  Place the name of the macro file on the LOAD= or RUN= line of the WIN.INI file.

-or-

Start Windows from MS-DOS, specifying the macro filename (for example, type "win mymacro.rec" [without the quotation marks]).

Note that all macro files run from any command line, including File Manager and the MS-DOS Executive, execute files automatically using the specified shortcut key.

[ Top of Page ]


Macro Recorder Error When Playing Back to Project

Last reviewed: November 23, 1994
Article ID: Q71782
1.00 WINDOWS kbother
The information in this article applies to:
Microsoft Project for Windows, version 1.0

SUMMARY

If the Windows 3.00 Recorder is used to automate tasks such as printing in Project for Windows, Recorder may return the message "Playback Window does not Exist."

This error seems to occur most often when the View PERT Chart command is active and the keystrokes are played back at Fast speed.  To avoid this problem, have the macro playback at Recorded Speed, or use the mouse to record the macro.

MORE INFORMATION

Steps to Reproduce the Error

Open Project and enter one task.

Switch to Windows Program Manager and open Recorder.

From the Recorder Macro menu, choose Record.

Name the Macro "Project" (without the quotation marks).  Enter a "q" for the shortcut key.  Playback should be set to Same Application, and the Speed should be Fast.  Choose OK.

Reactivate Project.

Using the keyboard commands, choose PERT Chart from the View menu.

Using the keyboard commands, choose Print from the File menu.  Choose OK.

Switch back to Recorder.

From the Recorder dialog box, choose the Save Macro button.  Choose OK.

Press CTRL+Q.

At this point, the Recorder will start the playback and will display a dialog message.  The error line will say "Playback Window does not Exist."

REFERENCES

"Microsoft Windows User's Guide," version 3.00.  "Additional Accessories," pages 405-415.

[ Top of Page ]


Running Recorder Lesson in Windows Class-in-the-Box

Last reviewed: November 23, 1994
Article ID: Q69925
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a

SYMPTOMS

In the "Record Keystrokes" section in lesson 6 of the Microsoft Windows 3.0 Class-in-the-Box, the completed macro (when hot keyed) may not always capture the complete logo if the Paintbrush window is not maximized during the recording.

WORKAR0UND

To correct this problem:

Press ALT+F to choose the File menu.  Press R to choose Run.  When the run dialog box appears, type

pbrush

and press ENTER.

Press ALT+SPACEBAR to bring up the Control menu.  Press X to maximize the window and the press ENTER.

Press ALT+F to open the File Menu and then press O for the Open command.

Follow the rest of the steps outlined in the lesson.  When the macro is executed, Paintbrush will maximize and the entire logo will be captured.

REFERENCES

"Microsoft Windows Class-in-the-Box," Windows version 3.0.

[ Top of Page ]


Recorder Err Msg: Playback Window Does Not Exist

Last reviewed: November 21, 1994
Article ID: Q68757
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11
Microsoft Windows for Workgroups version 3.1, 3.11

SYMPTOMS

You may receive one of the following error messages in Microsoft Windows:

Playback window does not exist

-or-

Playback window no longer exists

CAUSE

This error message occurs when you playback a Recorder macro created with a mouse, and the recorded mouse movement is outside the current window boundaries or a window is not open.

WORKAROUND

Use keystrokes to re-create the macro.

REFERENCES

"Microsoft Windows User's Guide," version 3.00, page 420.

[ Top of Page ]


Cannot Create Macro with Macro Recorder to End Windows Session

Last reviewed: November 23, 1994
Article ID: Q68139
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11

The Microsoft Windows Recorder program cannot be used to create a macro that can completely end a Windows session.  A macro cannot be recorded to continue past the "This will end your Windows session" dialog box message.  Once this message is reached, you must to manually choose OK or press ENTER to fully exit Windows.

[ Top of Page ]


Only One Instance of Macro Recorder Can Be Run at a Time

Last reviewed: November 23, 1994
Article ID: Q65891
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a

SUMMARY

You can only run one instance of Recorder with Microsoft Windows version 3.0.  If Recorder is already running, and you try to start a second instance of Recorder, the first instance of Recorder becomes the active window and no second instance appears.

MORE INFORMATION

If a macro file is run when the Recorder is running, the Recorder loads that file.  If a macro file is already in the Recorder, and has unsaved changes, the Recorder brings up a dialog box asking if you want to save changes.

[ Top of Page ]


Macro Recorder and Write Problem with TAB in Windows 3.0, 3.0a

Last reviewed: November 23, 1994
Article ID: Q65173
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a

SYMPTOMS

When you use Microsoft Windows Recorder to create a macro that uses the TAB key, you may experience problems when you use Microsoft Windows Write.  For example, when you use Macro Recorder with Write to make a macro that does the following

TAB
TAB
Yours very truly,
ENTER
ENTER
TAB
TAB
John D. Doe

the first two TABS may not work correctly, and ENTER may display as a page break in certain cases.

CAUSE

This is a known problem with Macro Recorder when you use the macro with Write and TABs.

WORKAROUND

Use SHIFT+TAB instead of a TAB.

Use SHIFT+ENTER instead of ENTER.

STATUS

Microsoft has confirmed this to be a problem in Windows versions 3.0 and 3.0a.  This problem does not occur in later versions of Windows.

[ Top of Page ]


Windows 3.0 Notepad Search and Replace Macro

Last reviewed: November 23, 1994
Article ID: Q75479
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a

SUMMARY

Microsoft Windows 3.0 Notepad has no search-and-replace function.  You can, however, make a small macro to get around this by using the macro recorder included with the Windows retail package.

MORE INFORMATION

Creating the Macro The steps to create this macro are as follows:

Load Recorder as an icon by pressing SHIFT while double-clicking your mouse on the Recorder icon within the Program Manager.

Open the file you want to edit within Notepad.

Type a string that you would like to use to replace the current string in the file.  (For example, if you want to replace "Rename" with "REM," type "REM").  After typing the string, select it with the mouse or press SHIFT+<an ARROW key>.

From the Edit menu, choose Cut.

Move to the point in the file that you want to start the search (normally at the top).

From the Search menu, choose Find.

Type the string that you want to replace.

Press ENTER (this should highlight the first occurrence of the string).

Double-click the Recorder icon.

a.  From the File menu, choose New. b.  From the Macro menu, choose Record. c.  Enter a name for the macro. d.  Choose a hot key that will not conflict with other keys used by Notepad (for example, ALT+BACKSPACE). e.  Select Start.

Recorder will record keystrokes only by default, unless you change it.

Press DEL, then SHIFT+INSERT, and then F3 (this should replace the first occurrence of the word and find the next).

Press CTRL+BREAK (this will stop the recorder).

Choose Save.

Use the hot key to play back the macro and replace the rest of the occurrences of the string.

Using the Macro

When you want to use the macro later, do the following:

Run Recorder.

From the File menu, choose Open, and select the macro you created.

Run Notepad and open the file.

Type a replacement string.

From the Edit menu, choose Cut to place the string in the Clipboard.

Go to the place in the file that you want to start the search.

From the Search menu, choose Find and select the string you want to replace.

Type the hot key that you used in step 9d in the "Creating the Macro" section (each time that you press this, it will find the next occurrence of the string and replace it).

REFERENCES

"PC Magazine," April 16, 1991, page 356, "Search-and-Replace Mission"

[ Top of Page ]


One-Key Macros Can Be Used to Substitute for Two-Key Sequences

Last reviewed: December 11, 1997
Article ID: Q66418
3.00 3.00a 3.10 3.11 WINDOWS kbusage kbtool
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a, 3.1, 3.11

One-key macros can be used to allow single keys to function as two keys pressed simultaneously (for example, SHIFT+CTRL).  This ability may be of particular interest to people unable to press more than one key at a time.

For example, a macro can be used to execute the CTRL+ESC key combination when you press the F11 key, which is rarely used by applications.

A macro file containing such a macro, or a collection of similar macros, can be entered on the LOAD= or RUN= line of the WIN.INI file, allowing the macros to be immediately available upon entering Windows.

[ Top of Page ]


Macro Recorder Won't Record CTRL as First Key Press

Last reviewed: August 1, 1995
Article ID: Q59692
The information in this article applies to:
Microsoft Windows operating system versions 3.0, 3.0a
Microsoft Windows for Workgroups versions 3.1, 3.11

SYMPTOMS

The Microsoft Windows version 3.0 macro recorder does not record a CTRL+key combination as the very first keystroke in a macro recording session.

CAUSE

To work around this problem, perform some action before recording the CTRL+key combination.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

[ Top of Page ]


Works: Importing Files from Money to Works for Windows

Last reviewed: January 13, 1998
Article ID: Q78307
The information in this article applies to:
Microsoft Works for Windows, versions 2.0, 2.0a, 3.0, 3.0a, 3.0b
Microsoft Works for Windows 95, versions 4.0 and 4.5

SUMMARY

There is no direct way to link or transfer files between Microsoft Money and Microsoft Works for Windows.  However, you can export Microsoft Money reports by choosing your report type from the Report menu, selecting Export, typing a filename, and pressing ENTER.

Report files are exported in tab-delimited ASCII format; are given a .TXT extension; and can be opened in Microsoft Works as a Word Processor, Spreadsheet, or Database file.  Although Microsoft Money data files can be exported as .QIF files (Quicken interchange format), this format is not directly supported in Microsoft Works.

Because all transactions in Microsoft Money can be placed in reports, the best way to export Microsoft Money data for Microsoft Works use is usually as a report.

MORE INFORMATION

Data files in Microsoft Money can be exported as .QIF by choosing Export from the File menu of Microsoft Money.  Because fields in .QIF files are separated with a carriage return, and the .QIF specification includes an extra character at the beginning of each field entry as a descriptor, the files are not directly accessible as Microsoft Works Database or Spreadsheet files.  However, once the file is opened as a Works Word Processor file, you can use the Select Replace command to place the data in standard Tab or Comma delimited format.

The process for translating a .QIF file into Tab delimited format is as follows:

Choose Open Existing File from the File menu in Microsoft Works.  Select the file by changing to the appropriate subdirectory, typing the full filename, and pressing ENTER.  Open the file as a Word Processor file.

Press CTRL+HOME to move to the beginning of the file.

The next step involves using the Select Replace command.  For each command, type the Find What and Replace With entries as follows, then choose Replace All.  Note: ^p, ^^, and ^t are special characters used with the Find and Replace commands (^p = paragraph mark, ^^ = caret mark, and ^t = tab character).

Find What    Replace With
^p^^^p   &&&
^p   ^t
&&&   ^p

The file is now in tab delimited format, but will still have the one-letter descriptor at the beginning of each field.  For example:

D9/22/91 T1,000.00 N1249 PDeposit

To remove an entry, for example the "D" before the date, use the Select Replace command.  In this example, find ^pD and replace it with ^p.  (^p is used in this case because the D is preceded by a paragraph mark.) The "T" before the amount could be removed by finding ^tT and replacing it with ^t, as could the other descriptors, which are preceded by a tab -- N and P in this case.

Delete any extraneous information in the first (header) and last records.

From the File menu, choose Save As, select the Text format, and press ENTER.  The file is now ready to be opened as a Database or Spreadsheet file.  The Windows Recorder could be used to automate the process if you have many Microsoft Money files to import.

The third-party product discussed here is manufactured by a vendor independent of Microsoft; we make no warranty, implied or otherwise, regarding this product's performance or reliability.

[ Top of Page ]


Works: Macro Recorder Misinterprets Keys with Tandy 1000

Last reviewed: June 12, 1996
Article ID: Q87718
The information in this article applies to:
Microsoft Works for MS-DOS, version 2.0

SUMMARY

When you are using Works 2.0 with a Tandy 1000 computer, the Macro Recorder does not correctly interpret the following keys:
Key(s) Pressed Interpreted As
ALT+CTRL+F11 Not read
F11 ALT+UP ARROW
F12 ALT+PAGE UP
SHIFT+F11 ALT+SHIFT+INSERT
SHIFT+F12 ALT+SHIFT+DELETE
ENTER CTRL+M
CTRL+F12 ALT+F12
CTRL+F11 ALT+F11
CTRL+BACKSLASH(\) CTRL+DEL
PERIOD PERIOD
MINUS SIGN K+PERIOD
PLUS SIGN PLUS SIGN
ALT+PLUS SIGN ALT+DOWN ARROW
ALT+MINUS SIGN Not read
CTRL+MINUS SIGN CTRL+DEL
CTRL+PLUS SIGN CTRL+ALT+END
SHIFT+PLUS SIGN INS
SHIFT+MINUS SIGN DEL

This problem appears to be related only to the Tandy 1000 series of computer.

[ Top of Page ]