Defined Shortcut can't get started with external controller

Hi, I created a shortcut, which starts if I press the shortcut on the keyboard, but does not work if I use the shortcut in Apple Shortcut App with AppleScript. Also it does not work with a programmable external controller. Could anyone help please?

on run {input, parameters}
tell application "Spotify" to activate
tell application "System Events"
delay 1
key code 14 using {control down, option down, command down} #Playlist focus
delay 1
end tell
return input
end run

why I can not run this script doing what I decided in BetterTouchTool. The shortcut in BTT is: ⌃⌥⌘E