I am using Mac OS Ventura and would like to build a Shortcut for switching between Dark and Light mode.
I came up with:
but I cannot find a way to test if the variable
curr_appearance
has a specific value. The only two options are has any value
and does not have any value
.
If I run the shortcut I see that the variable has the value Dark mode
:
Is there a way to test if curr_appearance
has value "Dark Mode"?
I used a variable instead of testing "Current Appearance" directly because of the if
, but nothing changes in the two solutions (using a variable or testing directly the current appearance): the if condition Shortcuts uses does not change.