Hello everyone, I’m new to this forum, and pretty new to AppleScript.
I am a landscape photographer, and I use both Adobe Lightroom and Photoshop for my post-production work, working on 2- 27" monitors. Due to the monitor size, for every app but the 2 Adobe apps, I enlarge my cursor for better visibility. But that creates problems in LR and PS when using brushes – the brush size is shown enlarged by the same amount as the cursor, but the actual brush size is much smaller. Makes fine adjustment a pain.
I have been using the following script in Automator. It works fine, but each time I hit the keyboard shortcut it opens Automator and I have to manually run it. How would I make this run just with a keyboard shortcut?
tell application “System Preferences”
set current pane to pane "com.apple.preference.universalaccess" tell application "System Events" repeat until slider "Cursor size:" of window "Accessibility" of process "System Preferences" exists end repeat set theSlider to slider "Cursor size:" of window "Accessibility" of application process "System Preferences" set stash to value of theSlider if value of theSlider is 1.0 then set value of theSlider to 2.5 else set value of theSlider to 1.0 end if stash end tell
Browser: Safari 604.5.6
Operating System: Mac OS X (10.12.5)