autohotkey - 更多字符作为一个热键

时间:2016-05-16 13:29:15

标签: autohotkey

有没有办法映射一系列字符来触发事件?

我想要一个特殊的热键来记住(e.g. Control-k) 在其后的另一封信中,我可以触发不同的事件: 前

^km  --> do something 
^kp  --> do something else
^kc  --> do something else
...

1 个答案:

答案 0 :(得分:0)

protected function handleUserWasAuthenticated(Request $request, $throttles)
{
    if ($throttles) {
        $this->clearLoginAttempts($request);
    }

    if (method_exists($this, 'authenticated')) {
        return $this->authenticated($request, Auth::guard($this->getGuard())->user());
    }

    // HERE: control the user that has logged in and change the value
    // of $this-redirectTo property accordingly.

    return redirect()->intended($this->redirectPath());
}

https://autohotkey.com/docs/commands/_If.htm