#!/bin/bash

if [[ "$(xdotool getactivewindow getwindowname)" == *'tormach'* ]]; then

xdotool mousemove 70 440
xdotool click 1
xdotool mousemove 70 400
xdotool click 1
xdotool sleep .1

xdotool type "G54"
xdotool key Return

fi
