Create TOC

2014년 10월 21일

OSX - 다크 모드 토글

tell application "System Preferences"
    set current pane to pane "com.apple.preference.general"
    activate
end tell

tell application "System Events" to tell process "System Preferences"
    delay 2
    tell window "일반"
        click checkbox 3
    end tell
end tell

tell application "System Preferences"
    quit
end tell