So many objects have "left click" action, but maybe you need to use a "Double-Click" action, for example you have a picture and you want to show its detail by double-clicking on it, Here is a piece of code which I\m using for such actions:
put it in pub's start-up section:
Code: Select all
SetVar "[LCount]" "0"
and put the codes below on "left-lick" actions of your target object like a picture:
Code: Select all
SetVar "[LCount]" "[LCount]+1"
If "[LCount]-2" "=" "0"
MessageBox "" "" "OK" ""
SetVar "[LCount]" "0"
Else
Delay "200"
SetVar "[LCount]" "0"
EndIf
Hope It can help and be useful,
If you know a better way or trick, I'll be glad to learn it