xmacroplay-keys: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/xmacroplay-keys - from package: xmacro

You may install the required package with command apt-get install {package}
Error in other languages:
xmacroplay-keys: bevel nie gevind nie
xmacroplay-keys: comandă negăsită
xmacroplay-keys: comando não encontrado
xmacroplay-keys: commande introuvable
xmacroplay-keys: command not found
xmacroplay-keys: käsku ei ole
xmacroplay-keys: không tìm thấy lệnh
xmacroplay-keys: komanda nerasta
xmacroplay-keys: Kommando nicht gefunden.
xmacroplay-keys: kommandot finns inte
xmacroplay-keys: komut yok
xmacroplay-keys: nie znaleziono polecenia
xmacroplay-keys: níor aimsíodh an t-ordú
xmacroplay-keys: no se encontró la orden
xmacroplay-keys: no s'ha trobat l'ordre
xmacroplay-keys: opdracht niet gevonden
xmacroplay-keys: parancs nem található
xmacroplay-keys: perintah tidak ditemukan
xmacroplay-keys: príkaz nenájdený
xmacroplay-keys: příkaz nenalezen
xmacroplay-keys: команда не найдена
xmacroplay-keys: командата не е открита
xmacroplay-keys: 命令找不到
xmacroplay-keys: コマンドが見つかりません