Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1818

How to use remote control with bash script .sh?

$
0
0
How to use remote control with bash script .sh?

I want to control the mouse with the keyboard keys.

Are there any methods?

I tried to use such code:

#!/bin/bash

wid=`xdotool search --onlyvisible --name 'chrome'`
if [ "$wid" != "" ]; then
    if  [ 'LEFT_BUTTON' ]; then
        xdotool mousemove_relative 20 0
    fi
fi

but nothing works((((

How to track keystrokes correctly?

Viewing all articles
Browse latest Browse all 1818

Latest Images

Trending Articles



Latest Images