Scheme Notification

 

Switch from dark to light.

https://github.com/miyako/4d-plugin-appearance

Syntax

scheme:=Get system color scheme
scheme:=Get effective color scheme
Parameter
Type
Description
scheme
TEXT
light, dark or auto
  1. On Catalina and above, read NSUserDefaults AppleInterfaceStyleSwitchesAutomatically for “auto”.

  2. If not “auto”, on Mojave or later, read NSUserDefaults AppleInterfaceStyle for “light” or “dark”.

ON APPEARANCE CHANGE CALL(method)
Parameter
Type
Description
method
TEXT
#DECLARE($mode:Text) $1 is light or dark