We can adjust the cursor size in System Preferences -> Accessibility -> Display. How to do this using AppleScript? Maybe do shell script "...."
or tell application "System Preferences"
?
答案 0 :(得分:0)
https://github.com/alexzielenski/Mousecape/releases. It is an open-source application that allows the customization of cursors for Mac OS X 10.8-10.10. It can import old MightyMouse files or you can create your own "cape". Included on that page is a link to download a remastered version of Max Rudberg's Svanslös cursors.
And if problem is that it is difficult for you to spot cursor on terminal screen then Holding down the alt key on Mac OSX changes the cursor to a black cross that has a white border which makes it far easier to spot than the default text bar.
Good luck!
答案 1 :(得分:0)
我有一个在Catalina之前使用的脚本,不幸的是它不再起作用了,我似乎找不到原始版本,但是现在我为系统偏好设置的新布局修复了它,可以共享更新的版本:< / p>
tell application "System Preferences"
reveal anchor "Seeing_Cursor" of pane id "com.apple.preference.universalaccess"
delay 0.2
tell application "System Events"
set contentView to tab group 1 of group 1 of window "Accessibility" of application process "System Preferences"
set theSlider to slider "Cursor size:" of contentView
set stash to value of theSlider
if value of theSlider is 1.0 then
set value of theSlider to 4.0
say "Big Mouse" using "Pipe Organ"
else
set value of theSlider to 1.0
say "Tiny Mouse" using "Zarvox"
end if
stash
end tell
end tell
请原谅我的声音……这是我自己的娱乐。 这些片段非常适合我的自定义触摸栏按钮