Apple Shortcuts Keys into Action Event

Hi, I was wondering if it was possible to program existing mac shortcut keys (eg Shift-Command-Q, which logs out a user) into the Action Event of a button. Every search I have done leads me to either A list of all mac shortcuts or Useful Xojo keyboard shortcuts, or Menu Shortcuts. I might need to use apple script. but if not all the better.

Many Thanks

Check Monkeybread’s RemoteControlMBS which lets you send to the app any key combination.

Thanks, I went with the AppleScript option for now.