Maybe this script demonstrates the main problem (i.e. the difference between click and touch):
Code: Select all
LButton::
t := A_TickCount
KeyWait LButton
t := A_TickCount - t
ToolTip Time = %t%
Return
I suppose, Time is the between down and up of the click or touch.
On my computer Time for the left mouse click is typically > 170 ms, for the touch always 0.
Second difference:
The touch is not blocked by the above hotkey, it has its normal effect, in contrary to the click.
Which seems to be the main problem for AHK ...
Any new ideas?