-
Notifications
You must be signed in to change notification settings - Fork 3
/
copy and paste
57 lines (53 loc) · 1.12 KB
/
copy and paste
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
##Psuedo_code
##bot for the beginner
#####LINE 1######
##short the library
import pyautogui as pg
import time
##find the position
##Start Point(x=3503, y=253)
time.sleep(1)##wait for 1 sec
start_point=(3503,253)
pg.click(start_point)
end_point =(3658,253)
pg.dragTo(end_point)
pg.hotkey('ctrl','c')
target_point=(2605,251)
pg.click(target_point)
pg.hotkey('ctrl','v')
pg.press('enter')
#####LINE 2######
##short the library
import pyautogui as pg
import time
##find the position
##Start Point(x=3503, y=253)
time.sleep(1)##wait for 1 sec
start_point=(3503,274) ##253+21
pg.click(start_point)
end_point =(3658,253)
pg.dragTo(end_point)
pg.hotkey('ctrl','c')
target_point=(2605,251)
pg.click(target_point)
pg.press('down')
pg.hotkey('ctrl','v')
pg.press('enter')
#####LINE 3######
##short the library
import pyautogui as pg
import time
##find the position
##Start Point(x=3503, y=253)
time.sleep(3)##wait for 1 sec
start_point=(3503,295)
pg.click(start_point)
end_point =(3658,253)
pg.dragTo(end_point)
pg.hotkey('ctrl','c')
target_point=(2605,251)
pg.click(target_point)
pg.press('down')
pg.press('down')
pg.hotkey('ctrl','v')
pg.press('enter')