#!/bin/bash

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

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

xdotool type "G20"
xdotool key Return

fi
