中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

AutoItLibrary之鍵盤操作(send)

發布時間:2020-08-23 14:40:50 來源:網絡 閱讀:1283 作者:kan56cto 欄目:軟件技術

1、首先,用到的庫是AutoItLibrary,用到的方法是send;按F5可用看到
2、demo
看demo,很簡單,打開百度,輸入內容查找,只要是看send
第4行:意思是指全選操作,即我們平時的Ctrl+a
第5行:把全選的內容進行一次復制ctrl+c
第6行:進行粘貼ctrl+v
3、win切換窗口(鍵盤按下alt,操作tab鍵)
操作步驟如下:
AutoITLibrary.send?? ?{ALT DOWN}
AutoITLibrary.send?? ?{tab}
AutoITLibrary.send?? ?{tab}
AutoItLibrary.Send?? ?{ALT UP}

其它鍵盤操作,請參考:
鍵盤輸入
??? [Arguments]??? ${keys}? ${flag}=0
??? [Documentation]? 模擬鍵盤輸入,需要兩個參數:
??? ...? 第一個參數: 需要輸入的鍵盤按鍵
??? ...? 第二個參數: 標記變量,可選值,默認為0,
??? ...?????????????? 0:? 代表第一個參數${keys}中的!+^#代表特殊按鍵
??? ...?????????????? 1:? 代表第一個參數${keys}中的所有字符都是普通字符串
??? ...? 舉例:
??? ...? ^a^c^v!{F4}????? 代表:Ctrl+a Ctrl+c Ctrl+v Alt+F4
??? ...? 關于特殊按鍵的說明:
??? ...????? 如果${flag}為0,則:
??? ...???? !? 代表ALT按鍵
??? ...???? +? 代表SHIFT按鍵
??? ...???? ^? 代表CTRL按鍵
??? ...???? #? 代表WIN按鍵
??? ...? 比如:!+a? 代表:ALT+SHIFT+a
??? ...? 其他特殊按鍵:
??? ...? ${flags}為0的時候,還支持下述特殊按鍵:
??? ...???? 輸入? 最終的鍵盤按鍵
??? ...???? {!}???????????????????? !
??? ...???? {#}???????????????????? #
??? ...???? {+}???????????????????? +
??? ...???? {^}???????????????????? ^
??? ...???? {{}???????????????????? {
??? ...???? {}}???????????????????? }
??? ...???? {SPACE}???????????????? SPACE
??? ...???? {ENTER}???????????????? ENTER key on the main keyboard
??? ...???? {ALT}?????????????????? ALT
??? ...???? {BACKSPACE} or {BS}???? BACKSPACE
??? ...???? {DELETE} or {DEL}?????? DELETE
??? ...???? {UP}??????????????????? Cursor up
??? ...???? {DOWN}????????????????? Cursor down
??? ...???? {LEFT}????????????????? Cursor left
??? ...???? {RIGHT}???????????????? Cursor right
??? ...???? {HOME}????????????????? HOME
??? ...???? {END}?????????????????? END
??? ...???? {ESCAPE} or {ESC}?????? ESCAPE
??? ...???? {INSERT} or {INS}?????? INS
??? ...???? {PGUP}????????????????? PageUp
??? ...???? {PGDN}????????????????? PageDown
??? ...???? {F1} - {F12}??????????? Function keys
??? ...???? {TAB}?????????????????? TAB
??? ...???? {PRINTSCREEN}?????????? Print Screen key
??? ...???? {LWIN}????????????????? Left Windows key
??? ...???? {RWIN}????????????????? Right Windows key
??? ...???? {NUMLOCK on}??????????? NUMLOCK (on/off/toggle)
??? ...???? {CAPSLOCK off}????????? CAPSLOCK (on/off/toggle)
??? ...???? {SCROLLLOCK toggle}???? SCROLLLOCK (on/off/toggle)
??? ...???? {BREAK}???????????????? for Ctrl+Break processing
??? ...???? {PAUSE}????????????????? PAUSE
??? ...???? {NUMPAD0} - {NUMPAD9}??? Numpad digits
??? ...???? {NUMPADMULT}???????????? Numpad Multiply
??? ...???? {NUMPADADD}????????????? Numpad Add
??? ...???? {NUMPADSUB}????????????? Numpad Subtract
??? ...???? {NUMPADDIV}????????????? Numpad Divide
??? ...???? {NUMPADDOT}????????????? Numpad period
??? ...???? {NUMPADENTER}??????????? Enter key on the numpad
??? ...???? {APPSKEY}??????????????? Windows App key
??? ...???? {LALT}?????????????????? Left ALT key
??? ...???? {RALT}?????????????????? Right ALT key
??? ...???? {LCTRL}????????????????? Left CTRL key
??? ...???? {RCTRL}????????????????? Right CTRL key
??? ...???? {LSHIFT}???????????????? Left Shift key
??? ...???? {RSHIFT}???????????????? Right Shift key
??? ...???? {ALTDOWN}??????????????? Holds the ALT key down until {ALTUP} is sent
??? ...???? {SHIFTDOWN}????????????? Holds the SHIFT key down until {SHIFTUP} is sent
??? ...???? {CTRLDOWN}?????????????? Holds the CTRL key down until {CTRLUP} is sent
??? ...???? {LWINDOWN}?????????????? Holds the left Windows key down until {LWINUP} is sent
??? ...???? {RWINDOWN}?????????????? Holds the right Windows key down until {RWINUP} is sent
??? ...???? {ASC nnnn}?????????????? Send the ALT+nnnn key combination
??? AutoItLibrary.Send? ${keys}? ${flag}

鍵盤輸入Alt+F4
??? AutoItLibrary.Send? !{F4}

鍵盤輸入Ctrl+Space
??? AutoItLibrary.Send? ^{SPACE}

鍵盤輸入Ctrl+a
??? AutoItLibrary.Send? ^a

鍵盤輸入Ctrl+c
??? AutoItLibrary.Send? ^c

鍵盤輸入Ctrl+v
??? AutoItLibrary.Send? ^v

鍵盤輸入Ctrl+s
??? AutoItLibrary.Send? ^s

鍵盤輸入Ctrl+p
??? AutoItLibrary.Send? ^p

鍵盤輸入Ctrl+Home
??? AutoItLibrary.Send? ^{HOME}

鍵盤輸入Ctrl+End
??? AutoItLibrary.Send? ^{END}

鍵盤輸入Win+d
??? 鍵盤輸入? {LWINDOWN}d{LWINUP}

鍵盤輸入Win+r
??? 鍵盤輸入? {LWINDOWN}r{LWINUP}

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

富宁县| 五原县| 山西省| 德化县| 通山县| 周宁县| 霍州市| 灵台县| 诏安县| 宁安市| 壤塘县| 台东市| 邯郸县| 德州市| 赤水市| 银川市| 长春市| 襄汾县| 哈尔滨市| 泰宁县| 隆回县| 朝阳市| 汾阳市| 大洼县| 报价| 论坛| 南澳县| 凌源市| 三原县| 云梦县| 克山县| 安顺市| 本溪| 清新县| 东山县| 额济纳旗| 水富县| 夏津县| 小金县| 城固县| 东乌珠穆沁旗|