測試一下 google 翻譯 與 win32com.client.Dispatch("WScript.Shell")
開始
I thought it was was try my login password in.
( ︶︿︶)_╭∩╮............................................................................
.@@@@@@@@@@@.........@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@.............
.@@@@@@@@@@@.........@@@@@@@@@@@..........@@@@@@@@@@@....@@@@@@@@@@@........
......@@@@@@@@@@@....@@@@@@...............@@@@@@@@@@@.........@@@@@@@@@@@...
...........@@@@@@@@@@@....................@@@@@@@@@@@.........@@@@@@@@@@@...
...........@@@@@@@@@@@....................@@@@@@@@@@@.........@@@@@@@@@@@...
......@@@@@@....@@@@@@@@@@@...............@@@@@@@@@@@.........@@@@@@@@@@@...
.@@@@@@@@@@@.........@@@@@@@@@@@..........@@@@@@@@@@@.........@@@@@@@@@@@...
.@@@@@@@@@@@.........@@@@@@@@@@@..........@@@@@@@@@@@....@@@@@@@@@@@........
.@@@@@@@@@@@.........@@@@@@@@@@@..........@@@@@@@@@@@@@@@@@@@@@.............
............................................................................( ︶︿︶)_╭∩╮m川@.川m( ︶︿︶)_╭∩╮( ︶︿︶)_╭∩╮?
( ︶︿︶)_╭∩╮ow thewe
ather is cold, not the air conditioning broken, right?
看來中間好像誤觸ctrl+enter 怪怪的
程式碼:
import win32clipboard
import win32con
import win32com.client
import time
import random
shell = win32com.client.Dispatch("WScript.Shell")
win32clipboard.OpenClipboard()
text = win32clipboard.GetClipboardData(win32con.CF_UNICODETEXT) # get by
unicode obj
win32clipboard.CloseClipboard()
strLen = len(text)
i = 0
time.sleep(3)
while i < strLen :
shell.SendKeys(text[i], 0)
time.sleep(random.uniform(1,16)/10 )
#print( text[i],end = ' ' )
i = i+1
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.34.34.51