code: def Alt_Fn(self, n, dl = 0):
          
          self.Delay(dl)
          self.keyboard.press_key(self.keyboard.alt_key)
          self.keyboard.tap_key(self.keyboard.function_keys[n])
          self.keyboard.release_key(self.keyboard.alt_key)
docs: Alt + Fn1~12 组合键