Macro Language Reference > Macros > Window > wmd
  
wmd
Description
Simulates a mouse click in the window.
Syntax
wmd button:n?
wmd
[no parameter]
Simulate a left hand mouse click
button
0
Simulate a left hand mouse click
2
Simulate a right hand mouse click. This has the effect of executing the keystroke assigned to this button, by default it will produce a context sensitive menu depending on the current PTC ALD mode and/or the cursor position.