-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathautospace.ahk
68 lines (49 loc) · 3 KB
/
autospace.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
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;; forward slash to help ;;
;:*:/::help
;; infinite ;;
/*
{
Loop
{
Sleep, 2
Send, {Space}
}
}
*/
/*
!f::
If State=120
State=Off
else
State=120
SetTimer SendSpace, %State%
;Return ;uncoment if you don't want to send instantly
SendSpace:
Send {Space} ;; let's hope this works...
Return
*/
;Send {Space} ;; let's hope this works... ; next slide
;BreakLoop=9999
;a::BreakLoop=9999
SetTimer, Loop, 1
s::BreakLoop=1
Loop:
Loop {
if ( BreakLoop = 1 )
exitApp
Send {Space}
;; MsgBox Hello
Sleep 1100
}
/*
lar
*/
;; cistercian ;;
;; may interfere with Alt+x to convert unicode in libreoffice.. 533<alt>x
;; deploy / denounce script ;;
;; s::Suspend ; Press s to suspend, and s again to resume ;; didn't work.
^!s:: Suspend ;; windows cuit close autospace