def skipToNextItem(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() keyboard.press(Key.shift) keyboard.press(Key.right) keyboard.release(Key.shift) keyboard.release(Key.right) keyboard.press(Key.shift) keyboard.press("n") keyboard.release(Key.shift) keyboard.release("n")
def pressNum7(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() key = "7" keyboard.press(key) keyboard.release(key)
def Fullscreen(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() key = "f" keyboard.press(key) keyboard.release(key)
def pressDownArrow(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() keyboard.press(Key.down) keyboard.release(Key.down)
def pressRightArrow(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() keyboard.press(Key.right) keyboard.release(Key.right)
def miniplayer(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() key = "i" keyboard.press(key) keyboard.release(key)
def pressESC(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() keyboard.press(Key.esc) keyboard.release(Key.esc)
def theaterMode(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() key = "t" keyboard.press(key) keyboard.release(key)
def mute(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() key = "m" keyboard.press(key) keyboard.release(key)
def closePlayer(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() key = "x" keyboard.press(key) keyboard.release(key)
def pressSpacebar(Program): WindowsProgramControl.switchFocus(Program) keyboard = Controller() keyboard.press(Key.space) keyboard.release(Key.space)