logo
  • 教程列表
  • SO官方文檔
  • pyautogui 模組
    • 滑鼠功能
    • 鍵盤功能
    • ScreenShot 和影象識別
  1. StackOverflow 文件
  2. Python Language 教程
  3. pyautogui 模組
  4. 鍵盤功能

鍵盤功能

Created: November-22, 2018

這些是一些有用的鍵盤功能,可以自動按鍵。

typewrite('')    #this will type the string on the screen where current window has focused.
typewrite(['a','b','left','left','X','Y'])
pyautogui.KEYBOARD_KEYS    #get the list of all the keyboard_keys.
pyautogui.hotkey('ctrl','o')    #for the combination of keys to enter.
  • ScreenShot 和影象識別
  • 滑鼠功能

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明