script a button for multiple keystrokes

SUGGESTED

Is it possible to create a button with a script that is a sequence of keystrokes?

Sage 100c 2016 sp5

from item Maintenance or Item Inquiry I would like to create a button that would take the user through a series of keystrokes.

ALT 5 ALT W ALT Y TAB A TAB ALT O

As always thanks for your assistance.