<< Click to Display Table of Contents >> Navigation: 3. Script Language > Mouse-Operations > Direct Engine > Direct Engine Mouse-Operations |
MiniRobotLanguage (MRL)
MDM. Command
Mouse Down Message (direct engine)
Intention
For few operations, you may need to just press a mouse-button down and release it later.
There are two commands for this purpose:
• MDM. - Direct Engine
• MLD. - Compatible Engine
MDM. has all the strong and all the weak sides of a typical Direct Engine command.
MDM. can simulate all the three mouse buttons, depending on parameter P1.
The MDM. Event will take place at the position of the current "Active Point".
You can find some more details on the "Active Point" here: MAP - Move Active Point.
Some Hints:
• If MDM. seems not to work on your target window, try MLD.
• You can not use MDM. for Drag'n Drop operation, as the direct engine does not support that.
• For Drag'n Drop operations, always use: MLD., MMV./MPO. and MLU.
Syntax
MDM.[P1]
Parameter Explanation
P1 - Prototypes:
l = left mouse button will be pressed
m = then middle button will be pressed (press on wheel)
r = right button will be pressed
Example
' Will click the right Mouse-Button
' on the WinXP-Desktop
' on an Icon with the name "Furmark"
STW.ct|Progman|Program Manager
SCW.nct|1|SHELLDLL_DefView|{&NOTEXT:}
SCW.nct|1|SysListView32|FolderView
SAO.rn|34|FurMark
MDM.r
MUM.r
ENR.
Remarks
-
Limitations:
-
See also:
• 1.C Direct Engine and Compatible Engine
• MLE. - Mouse-Left-Click Event
• MLM - Mouse Left click Move (Invinsible)
• MLI - Mouse Left Click quIckly (Invinsible)
• MRC. / MRI. - Mouse-Right-Click