private static void TrackKeys(AppCommandValues cmd)
 {
     //this does not work when running as admin
     //byte msg = trackMove == TrackMove.Previous ? (byte)0xB1 : (byte)0xB0;
     //keybd_event(msg, 0x45, 0, IntPtr.Zero);
     AppCommand.Send(cmd);
 }
 public static void Send(AppCommandValues cmd)
 {
     if (_frm == null)
     {
         Initialize();
     }
     _frm?.Invoke(new MethodInvoker(() => SendMessage(_frm.Handle, WM_APPCOMMAND, _frm.Handle, (IntPtr)((int)cmd << 16))));
     Cleanup();
 }