<MouseAction>

SCRIPT {
    if _arg1 = "Go" then MouseGrid 0
    if _arg1 = "Click" then ButtonClick 1,1
    if _arg1 = "Double Click" then ButtonClick 1,2
    if _arg1 = "Left Click" then ButtonClick 1,1
    if _arg1 = "Right Click" then ButtonClick 2,1
    if _arg1 = "Mark" then
        RememberPoint
        MouseGrid 0
    end if
    if _arg1 = "Go" then MouseGrid 0
    if _arg1 = "Drag" then DragToPoint 1
    if _arg1 = "Shift Drag" then
        ShiftKey 1,1
        DragToPoint 1
        ShiftKey 1,0
    end if
    if _arg1 = "Control Drag" then
        ShiftKey 2,1
        DragToPoint 1
        ShiftKey 2,0
    end if
}