Please use Keyboard Maestro and the Flic for Mac app to do that.
Set up a macro in Keyboard Maestro like this:
And then find the script in the Flic App like this:
Let me know how it goes!
Looks like your connection to Community was lost, please wait while we try to reconnect.