AppleScript to control Yandex.Music player

To install open the .workflow file and in the "Service Installer" dialog box, click Install.

To assign hot keys to your Mac:

  1. Go to System Preferences -> Keyboard -> Shortcuts -> Service
  2. Find the Yandex.musik
  3. Set the hotkey