-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDemo_1.ahk
48 lines (47 loc) · 885 Bytes
/
Demo_1.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
; --- demo 1 ---
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance,Force
SetWorkingDir,%A_ScriptDir% ; Ensures a consistent starting directory.
Class_Console("a",100,100,200,435)
Class_Console("b",313,100,400,200)
Class_Console("c",313,335,400,200,,,,9)
a.show()
b.show()
c.show()
loop,18
{
a.log("Line: " A_Index)
sleep,67
}
sleep,200
a.log([111,222,[1,2,3,4],444])
b.log("aaaa,bbb,ccc,ddd`naaaaaaa,bbb,ccc,dd`naaaa,bbb,cccccc,ddd`na,b,cc,dd",",","1|2|3")
sleep,200
a.log("aaa")
sleep,200
a.prepend("bbb")
sleep,500
b.log()
b.log(" ")
b.log(" ")
b.log([111,222,[1,2,3,4],444])
c.log(c.Debug("Vars"))
sleep,3000
b.close()
sleep,700
b.show()
Sleep,1000
a:=""
sleep,800
Class_Console("a",100,100,200,435)
a.show()
a.log(c.Debug("KeyHistory"))
Sleep,2000
c.destroy()
b:=""
a.close()
return
Esc::
critical
exitapp
return