[macos]BTT 中增加 4 finger swipedown 和 3 finger doubletap功能, applescript 触发快捷键

1.4 finger

 

swipe down 是cmd+m

 

 

 

 

2. 3 finger doubletap是cmd+tab (注意这里用applescript去触发,而不是直接用btt中的快捷键,是为了触发context的效果

 

tell application "Dictionary" to if it is running then quit

tell application "System Events"

    keystroke tab using {command down}

end tell

 

 

 

 

 

applescript触发快捷键:

https://apple.stackexchange.com/questions/314647/applescript-command-sendkeys

posted @ 2022-11-05 23:53  hh9515  阅读(104)  评论(0)    收藏  举报