LoginSignup
0
0

ステージマネージャーを使いやすくする

Posted at

やったこと

alt + ctrl + {1 ~ 5} でステージマネージャーのステージを切り替える

image.png

set currStageManagerMode to (do shell script "echo $(defaults read com.apple.WindowManager GloballyEnabled 2> /dev/null)") as integer
if currStageManagerMode is 0 then
	do shell script "defaults write com.apple.WindowManager GloballyEnabled -bool true"
else
	do shell script "defaults write com.apple.WindowManager GloballyEnabled -bool false"
end if

参考記事
https://zenn.dev/usagimaru/articles/1567803a51e812

alt + ctrl + s でステージマネージャーの on offを切り替える

image.png

tell application "System Events" to tell process "WindowManager"
	tell list 1 of group 1
		-- 何番目か
		click button 1
	end tell
end tell

参考記事
https://forum.latenightsw.com/t/stage-manager-control-from-applescript/4303/3

その他

ステージマネージャの設定はこんな感じにしています
image.png

気になること

ショートカットを入力してからちょっとdelayがあるのが気になりますが、マウスで操作したりするよりは全然良いなと思うので、使ってみようと思います

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