xmacroplay: 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 - from package: xmacro

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