If you set both single and double click to script with
echo "single";
and echo "double";
respectively, on double click only the "single" message will appear.echo "single";
and echo "double";
respectively, on double click only the "single" message will appear.