Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 61

Advertising
background image

Publication 1746-PM001A-US-P

Editing a Program 4-13

5. Move the mouse cursor to the QuickStroke assignment field and click the left

mouse button. If you do not have a mouse, press

[Tab]

to move the cursor to

the QuickStroke assignment field and then press

[Space bar]

. The

EDIT

QUICKSTROKE

dialog box appears.

6. Press

[Alt-B]

, the QuickStroke for this macro. Legal QuickStroke key

assignments are described in Valid QuickStroke Key Assignments on
page 4-15.

7. Press

[Tab]

to move down to the Mode field. This is described in Editing

Keystroke Macros.

8. Press

[Enter]

to leave the Mode field unchanged and return to the keystroke

MACRO MANAGER

dialog box. There you see Company header added to the list

of keystroke macros with

[Alt-B]

, the QuickStroke that activates it, on the

right.

From this point on in the current editing session, whenever you press

[Alt-B]

,

the header is entered at the current cursor location.

Changing Recorded Keystrokes

Before leaving the keystroke

MACRO MANAGER

dialog box, you may want to make a

change to the recorded keystrokes. For example, you find that the company header
is always left-highlighted after the file-merge operation you defined with the
{Alt-B] QuickStroke. Since it is necessary to turn this block marking off before any
other block editing can be done, you can add the necessary keystrokes to the
macro.

1. From the keystroke

MACRO MANAGER

dialog box, highlight the

Company

header

keystroke macro, and press

[F3]

to edit it.

2. On the

EDITING KEYSTROKE MACRO

dialog box, select

Edit keystrokes

with the mouse and press the left mouse button. If you do not have a mouse,
press

[Tab]

to move the cursor to highlight

Edit keystrokes

, and then press

the space bar or down arrow.

3. Move the cursor down the list of keystrokes to the line immediately preceding

where you wish to insert keystrokes.

4. Press

[INS-F2]

to insert the keystroke to access the pull-down menus.

[INS-B]

to insert the keystroke to access the block menu.

[INS-F]

to insert the keystroke to turn the block marking off.

5. Press

[Enter]

, indicating that you are done editing keystrokes.

6. Press

[Enter]

, indicating that you are done editing the keystroke macro.

7. Press

[Enter]

, indicating that you are done with the keystroke

MACRO

MANAGER

.

Advertising