Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Keymando を介して「ディテクト ディスプレイ」を強制できるようにする必要があります。システムコマンドを実行する方法の例は見当たりませんでした。これを行う方法について何か考えはありますか?
これは、バックティックまたはsystem()を使用して、rubyで行うのと同じ方法で行うことができます。
例えば:
map "<Ctrl-u>" do `osascript -e 'set volume output volume (output volume of (get volume settings) + 7)'` end