I’m wondering if there is some way to get the effect that clicking on the root window runs an action, but if the mouse is held longer (say more than 1/4 second) then a menu pops up instead.
Mouse 1 R A SomeFunc
DestroyFunc SomeFunc
AddToFunc SomeFunc
+ C RunSomeAction
+ H Menu SomeMenu
Please do some basic reading on this.
– Thomas Adam
The key thing I didn’t realize was the existence of the “H” option for defining functions. That does exactly what I wanted. Thanks.