How to Ctrl + C? #162
Unanswered
andersoncampolina
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think something like this should work ahk.send('{Ctrl down}{c down}') |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks!
Im tryin to execute this code:
ahk = AHK()
time.sleep(1)
ahk.key_press('lwin')
time.sleep(1)
ahk.type(r'C:\Users\zehn1984\Desktop\Fotos e videos sitio')
time.sleep(1)
ahk.key_press('enter')
time.sleep(1)
ahk.click(730, 474)
time.sleep(1)
ahk.key_down('Ctrl')
time.sleep(1)
ahk.key_press('c')
time.sleep(1)
ahk.key_up('Ctrl')
But it not working on the ctrl+c issue. Can someone help?
ps: theres a way to put a fixed pause time between each command, like in pyautogui (pyautogui.PAUSE = 1)?
Beta Was this translation helpful? Give feedback.
All reactions