Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

How can you easily toggle the Ink preference pane setting "Write Anywhere"?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

With this script you can toggle the Write Anywhere setting on and off, however it opens the System Preferences in the background:

tell application "System Preferences"
    reveal (pane id "com.apple.preference.ink")
end tell
tell application "System Events"
            tell application process "System Preferences"
                click checkbox "Allow me to Ink in any application" of group 1 of tab group 1 of window "Ink"
            end tell
end tell

I use it for toggling WriteAnywhere from the "Radial Menu" of my Wacom tablet.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.