#!/bin/sh
. ./functions
create_trans_window
tell " - Click in upper left cell please"
get_clicked_mouse_position > puzzle_coordinates.in
tell " - Click in lower right cell please"
get_clicked_mouse_position >> puzzle_coordinates.in
xdotool mousemove $X $Y
cat puzzle_coordinates.in 1>&2 
echo get_puzzle_coordinates killtrans $PWD 1>&2
killtrans

scrot -o desktop.png
