code: def Ctrl_W(self, delay=0):
          
          self._delay(delay)
          self.add(Command("KeyDown", 'KeyDown "%s", %s' % (BoardKey.Ctrl, 1)))
          self.add(Command("KeyPress", 'KeyPress "%s", %s' % (BoardKey.W, 1)))
          self.add(Command("KeyUp", 'KeyUp "%s", %s' % (BoardKey.Ctrl, 1)))
docs: Ctrl + W shortcut.