Jump to content

DECKED

Members
  • Posts

    2
  • Joined

  • Last visited

DECKED's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. O código no primeiro post tem pequenos erros. Fica aqui o código corrigido: Procurar por: from _weakref import proxy Adicionar por baixo: from switchbot import Bot Procurar por: self.quickSlotPageIndex = 0 Adicionar por baixo: self.switchbot = Bot() self.switchbot.hide() Procurar por: onPressKeyDict[app.DIK_F4] =lambda : self.__PressQuickSlot(7) Adicionar por baixo: onPressKeyDict[app.DIK_F6] =lambda : self.__toggleSwitchbot() Adicionar no fim do ficheiro: def __toggleSwitchbot(self): if self.switchbot.bot_shown == 1: self.switchbot.Hide() else: self.switchbot.Show()
×
×
  • Create New...