LoginSignup
0
0

More than 5 years have passed since last update.

command+Q 二度押しでアプリケーション終了 / quit application by pressing command+Q twice

Last updated at Posted at 2018-09-17

BetterTouchToolには今の所アクティブなアプリケーションを終了するActionがないため、メニューバーの終了アクションを呼び出してアプリケーションを終了させる方法を取る。(現在実装中ではあるらしい issue
Add New Shortcut or Key Sequenceで以下を追加。

  • Key-Sequence: cmd・Q・Q
  • Trigger Predefined Action: Trigger Menu-bar Menu-Item
  • Value: (2);*quit*||*終了

スクリーンショット 2018-09-18 0.44.59.png

(2); でメニューバーの左から2番目のメニューアイテムを選択し *quit||*終了*quit もしくは *終了 というテキストをもつサブメニューアイテムを選択する。基本的にアクティブなアプリケーションのメニューは左から2番めであること、終了のメニューアイテムは quit または 終了 というテキストを持つことを利用している。

ついでに command QNo Action を割り当てておくとアプリケーション終了の誤爆を防げて良い。

追記 2018-09-18

アプリケーションによってはQuit ~ というテキストもあるので *quit* に変えた

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0