-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtirabolas 3000.ahk
78 lines (69 loc) · 1.32 KB
/
tirabolas 3000.ahk
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#MaxThreadsPerHotkey 2
#SingleInstance
#Include <Graphics>
#Persistent
Menu, Tray, NoStandard
Menu, Tray, Icon, resources\icon.ico
Menu, Tray, Add, Bloquear posición, MenuHandler
_Toggle := false ; 0
Menu, Tray, Add, Salir, Exit
RenderImageI("resources\tutorial.png", "time:" 3300 " x:50%vw")
Sleep, 3300
+S::
RenderImageI("resources\saliendo.png", "time:" 2200 " x:50%vw")
Sleep, 500
ExitApp
F1::
{
Toggle := !Toggle ; Toggle hotkey check
If (Toggle != false)
{
RenderImageI("resources\tirabolas.png", "time:" 720 " x:50%vw")
Sleep, 720
}
While, Toggle
{
If (_Toggle != false) ; 1
{
BlockInput, MouseMove
}
Else ; 0
{
BlockInput, MouseMoveOff
}
Send t
Sleep, 100
Send {Click}
}
}
BlockInput, MouseMoveOff
Return
F2::
If (_Toggle != false) ; 1
{
_Toggle := false ; 0
RenderImageI("resources\desbloqueado.png", "time:" 350 " x:50%vw")
Menu, Tray, UnCheck, Bloquear posición
}
Else
{
_Toggle := true ; 1
RenderImageI("resources\bloqueado.png", "time:" 350 " x:50%vw")
Menu, Tray, Check, Bloquear posición
}
Return
MenuHandler:
If (_Toggle != false)
{
_Toggle := false ; 0
Menu, Tray, UnCheck, Bloquear posición
}
Else
{
_Toggle := true ; 1
Menu, Tray, Check, Bloquear posición
}
Return
!F4::
Exit:
ExitApp