def handle_mouse_scroll_right_intent(self, message):
if platform.system().lower().startswith('lin'):
self.speak('scrolling right now')
scroll = message.data.get('Scroll')
scroll_right = int(scroll)
pyautogui.hscroll(scroll_right)
else:
self.speak('Sorry, I cannot scroll right on your current operating system')
评论列表
文章目录