简单易懂

global flag:= false
!z::
    flag := not flag
    if (flag)
    {
         send, {Lctrl down}
         MouseClick, left, , ,,,D
    }
    else
    {
        send, {Lctrl up}
         MouseClick, left, , ,,,U
    }