I have an AppleScript oneliner that I would like to indent. But I wonder how to do this.
Here is the oneliner:
tell application "System Events" to tell appearance preferences to set dark mode to not dark mode
Here is how I tried to accomplish it:
tell application "System Events" to
tell appearance preferences to
set dark mode to not dark mode
end tell
end tell
Apperently this won't work.
What am I missing?