Send mouse click to hypermesh
Altair Forum User
Altair Employee
Hello
I would like to bind as keystroke to running a macro, which in turn simulates a middle mouse click.
I have no trouble binding any key (even outside the regular keys). But I find no way to emit/simulate middle mouse click.
Any ideas ?
0
Answers
-
I don't think we can use 'bind' command to bind a script to middle mouse click event, this event (and mouse left, right also) is processed by hm and not exposed to tcl/tk
key events is exposed, so tcl/tk can bind them with script
middle mouse click event will raise 'menudraw' event which can be bound by a tcl script
but as many other tasks can also raise 'menudraw' event, controlling the script will be very tough
0