How to set dark mode to Mojave hot keys

Dark mode macOS Mojave is one of the most popular functions of an operating system, but there are situations when in constant use, this option is not necessary, but in some moments it can be useful.

1

How to set dark mode to Mojave hot keys

For example, if the user is in normal mode, but for presentations it is necessary to use dark mode, you can assign a key combination to activate function. About how to do it, wrote in his blog developed by Ilya Birman.

To do this you need an application to automate the Spark (not to be confused with a mail client) or any other creating labels using scripts.

2
  • Run the application and create the AppleScript. How to set dark mode to Mojave hot keys
  • Specify the key combination and enter the following commands:
  • tell application “System Events”

    tell appearance preferences

    set dark mode dark mode to not

    3

    end tell

    end tell

    How to set dark mode to Mojave hot keys

  • Save by pressing “Create”.
  • Now left click the “Start Spark Daemon” and you can enable/disable dark mode hot keys.
  • How to set dark mode to Mojave hot keys

    This same script can be written in the embedded application Automator, but each time you turn on dark mode keys, the program in which you are activating the script will ask permission. It is therefore easier and more convenient to use apps to create shortcuts from third-party developers.

    You may also like...

    r



    Leave a Reply

    Your email address will not be published. Required fields are marked *

     


    f