Custom Action: AppleScript

AppleScript action will allow macOS users to utilize Apple's automated control over scriptable macOS applications

AppleScript - action can be found in the Custom Actions in the Loupedeck software (5.4 or higher) for macOs users. You can create AppleScript files (.scpt) for example with Apple's Script Editor. 

How to create an AppleScript Action

Write down a display name for the action and browse for a compiled AppleScript file to create the action. These mandatory fields are marked with a red dot. If needed, you can also add a subroutine and arguments to your action in the next fields in the action editor.

Press "save" to save the action to the Stored Custom Actions - folder. Now you can assign the action as a press action on almost any button.