Short Press Shortcut Do One Action, Long Press Do Something Else

Here's a template for creating macros that allow multi-press hotkeys: