Netflix control


#1

Hi there,

I am trying to control playback on Netflix website.
How the “Press any key” action works?
I have tried to assign f key to a button but it does not appear to work.
If I open Texedit, f is being printed but in my browser, it does not seem to send the F key.
Is it possible to send for example Space key or a combination of keys (Cmd+ or Ctrl+ or Option+).

Thanks :wink:


#2

I figured it out.

I have used the “Run script” action with the scripts below (Apple scripts triggered via bash):

Left remote key (back)

#!/usr/bin/osascript

tell application "System Events"
    keystroke (ASCII character 28) using {shift down}
end

Right remote key (forward)

#!/usr/bin/osascript

tell application "System Events"
    keystroke (ASCII character 29) using {shift down}
end

Top remote key (play/pause)

#!/usr/bin/osascript

tell application "System Events"
    keystroke space
end

Bottom remote key (toggle fullscreen)

#!/usr/bin/osascript

tell application "System Events"
    keystroke "f"
end

Keyboard shortcuts from https://help.netflix.com/en/node/24855


#3

@samuelclay What I would really love is to be able to assign two scripts per buttons (single press, double press).
That way I could add volume management :heart_eyes:


#4

Yes, I intend to build double-click support into the Custom app. I thought it was there already? Oh, I guess not on the custom script/file, just on the key and url.