Start a conversation

How to quickly discount items using a recorded macro.

IMPORTANT: Macros are not fully supported on Windows 8/10 which blocks them a security risk (unknown keyboard buffer activity). 

If you routinely issue a common discount amount, such as 10% off by line item selection, you can create a shortcut key to accomplish this task.

1. Launch the Store Operations POS application to bring up a blank transaction screen.

2. Press CTRL + F3 to begin recording a macro.

3. Choose your macro assignment key from the drop-down list of available keys. (ALT F1, F2, F3, etc...or CTRL ALT F1, F2, F3, etc...).

4. Assign the macro a name in the Caption field and hit Enter. (Example: Alt-F10: 10% Discount)

IMPORTANT: Use keystrokes not mouse clicks when recording a macro.

5. Press Shift F3 to bring up the discount window.

6. Press Shift F3 again to un-pause the macro recording engine.

Tip: Use this method anytime you have a macro that pauses before you are finished recording. Look at the top of the screen. If the recording icon is not blinking in red, it's paused. This may happen if your macro includes a dialog box. Press the key combo you used to activate the dialog box a second time to resume your recording.

7. Press ALT D to discount from retail price.

8. Press ALT T and use the numerical keys to enter the discount percent. Example: 10

Tip: You should use the row of numbers across the top of your keyboard. Using the numeric keypad on the right side of your keyboard can sometimes cause the macro to record improperly.

9. Press Tab to get to the 'OK' button, then press Enter.

10. Choose the appropriate Reason Code, if necessary, and press Enter. If you do not require a Reason Code, press the ESC key in the Reason Code window.

11. Press CTRL F3 to finish recording the macro.

12. To test the macro, bring up a new transaction screen, place the cursor on a line item, and press the ALT + function key you assigned to the macro.

Note: You can pause a macro recording whenever a form is open and you press Ctrl-F3. While the form is still open, press Ctrl-F3 again to resume the recording process.

IMPORTANT: To record and playback macros on Windows 7, you must adjust User Account Controls (UAC). Select Control Panel, User Accounts, Change User Account Control Setting, and drag slider down to Level 1. Restart workstation then record your macro.

Choose files or drag and drop files
Was this article helpful?
  1. Dave J

  2. Posted