I want to get the eighth line in the text of the text in the clipboad,
but when I call GetClipboardData
I only get a string, how can I repair it?
thanks a lot.
My code is here :
try:
win32clipboard.OpenClipboard(hWnd)
#win32api.Sleep(500)
text = win32
just like "ctrl + A",
I want to select all the text in a window, now , I operate right menu to
get it, but it can not work all the time.
so I want to send "ctrl + a" to the window
blow is my code
thanks
hWnd = win32gui.FindWindow(None, "“中华会计网校”财税法规库下载版V1.09-法
规阅读器")
print hWnd
if hWnd <> 0:
p
just like "ctrl + A",
I want to select all the text in a window, now , I operate right menu to
get it, but it can not work all the time.
so I want to send "ctrl + a" to the window
blow is my code
thanks
hWnd = win32gui.FindWindow(None, "“中华会计网校”财税法规库下载版V1.09-法
规阅读器")
print hWnd
if hWnd <> 0:
p
Hi,I want to send "ctrl + A" and "ctrl + C" to a window,
but my code can not work, who can help me ?
Thanks a lot!
hWnd = win32gui.FindWindow(None, "“pad")
print hWnd
if hWnd <> 0:
point = (555, 175)
x, y = point
win32api.SetCursorPos(point)
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,x,