Einleitung

In this Guide, we will create a service using Automator to change the System Appearance from Light to Dark with a single keyboard shortcut.

  1. 3ZJocGkrvxkVjaap
    3ZJocGkrvxkVjaap
    OTJtggsx2veH1duP
    • Open up Spotlight.

    • Click the Magnifying Glass in the menu bar.

    • Use Keyboard Shortcut: Cmd + Space

  2. NVGCJhcTHmvwmCop
    • Type Automator in the Text area.

    • Double Click the application to open it.

  3. fuODPflonwTGTM5n
    fuODPflonwTGTM5n
    1qnWHhbOSMxIfXq3
    • Go to File => New and a window will appear.

    • You can also use the shortcut Cmd + N

    • When you open Automator, nothing will happen until you create a new document.

  4. PPrL1YGURfJECO2L
    PPrL1YGURfJECO2L
    ujchq4VdCmHflskC
    • Choose Quick Action in the window that appears.

    • Hit Enter or Click Choose

  5. pkHjHkveVyVCyyoo
    • We won't be walking through every single thing that Automator does in this guide, we will just be creating the shortcut.

  6. 5WoBypLbWnsGCj2y
    5WoBypLbWnsGCj2y
    HLFjaaTeBONRNXNS
    • In Workflow receives, Choose Automatic

    • Beside in, Choose any application

    • If you choose anything else besides any application, the shortcut will work only when a certain application is open.

  7. gmUFPiuyENIxpqVr
    gmUFPiuyENIxpqVr
    TsVIgQMGCiB6tMV3
    • In Image and Color, these will not change the shortcut at all, but you can adjust them to the way you like.

  8. ySnsfJNT2KgjcXQm
    • The commands should look something like this:

  9. uyYKLu2M2LCIe5FH
    uyYKLu2M2LCIe5FH
    vHpqcnAbhRcQZkBp
    2PExXAfwvBjmoCOC
    • To create the action, choose Library in the Top-Left corner of the window.

    • Click the Search bar and start typing Change System Appearance

  10. IICnttaiKZeVqKq3
    IICnttaiKZeVqKq3
    EfMqZ15Tcj5hRNKK
    • Click the action that appears.

    • Drag it into the giant box

  11. huBfbTOCQfB5bitA
    • The action will appear in the box.

  12. cjtBdBOisdW2YVYB
    • You will see three different commands: Light, Dark, Toggle Light/Dark

    • Choose Toggle Light/Dark so you won't have to create two shortcuts.

    • One for Light, one for Dark.

  13. kCWGhoDnMIj5xsOL
    kCWGhoDnMIj5xsOL
    gJg3KepJVqnmkJQ1
    MujTI2lXxGHxgUsT
    • Time to test this action!

    • Click the Run command in the corner of the window.

    • As the action is running, the screen may flash a couple of times.

    • If everything is successful, the system should be dark.

  14. oxcYjOuYy6ZVMLCx
    • Click Run once more to make the system Light

    • Make sure everything was successful by checking the text at the bottom of the window.

    • If the action was not successful, go back and make sure everything is the same as this guide.

  15. 6tRHmFPJCiZHJaIA
    6tRHmFPJCiZHJaIA
    JbrASVAaiG1meQ5p
    iRVjXY1dhpYa3SYF
    • Choose File => Save or Cmd + S to save your Service. Name it whatever you wish.

    • Your Service will be saved in Users/User Name/Library/Services

  16. mvuGrGdst1hsZbDX
    mvuGrGdst1hsZbDX
    yogPpL6bXcrZaSu6
    oult1cYvDkQMOOPL
    • You can now Quit Automator

    • Click the current Application in the menu bar, and choose Services. There, you will see your new service.

    • If you are using the service for the first time, you will probably get a notification like the one in the picture. This is simply because the app wants to change your system settings, and macOS does not like it very much. Click OK to continue.

  17. OgkmdXmuObtrtklV
    • Now we will add a keyboard shortcut to quickly change the system appearance.

    • Search for System Preferences in Spotlight.

  18. Ckj1161edjRuQ3yt
    Ckj1161edjRuQ3yt
    UwBtHHqJT4rwDHFs
    TSOuAywK3V6YnL6b
    • Click Keyboard in the window, and then Shortcuts. Then choose Services

  19. jMJjWH4RSeRKPvvu
    • Scroll to the very bottom, you will see a section named General. You will see your Service in this section.

  20. g62nMEJFwvVkGYW3
    g62nMEJFwvVkGYW3
    MdEntKsTZWjw6vQZ
    • Click on your Shortcut.

    • Click Add Shortcut.

    • A Text box will appear

  21. Brcf45ANOBEhJMMH
    • You can now add your own shortcut.

    • A shortcut is any combination of at least one modifier key (Cmd / Opt / Control / Shift) and one regular key (Any Letter or Number on the keyboard).

    • You should probably choose a shortcut that requires a few keys. I chose Shift+Opt+Cmd+Z. No other commands on the mac use this shortcut.

  22. 4iNHgQNQDLt4uCX5
    • When you press the keys to create your shortcut, nothing will happen, click Add Shortcut one last time and then hit enter.

    • You do not have to type out a shortcut. Simply press the keys you want to be your shortcut in order to make it.

  23. IybaongooOfV6sma
    • You can know quit System Preferences.

Abschluss

You can now change your system appearance by pressing your shortcut.

lyonmissions

Mitglied seit: 29/03/13

599 Reputation

0 Kommentare