|
From: François S. <sch...@un...> - 2022-03-12 13:49:20
|
Le 11/03/2022 à 17:28, David Brant a écrit :
> Correction!
> I must have moved mouse after click, but before return.
> Just tried again carefully without moving and it looks spot on 🙂
>
> Just wondered if it might be possible to remove the enter(return)
> option to make it a one click step?
Well then maybe test on another key to quit the loop like :
set print 'your_file.txt'
pause mouse key "Set point, click=validate, your key=[esc]\\n"
until ( MOUSE_KEY == your choice of escape key) {
print MOUSE_X, MOUSE_Y
pause mouse key
}
I don't remember why I used the first version. It was some time ago.
F.
|