-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathCustom.ahk
62 lines (59 loc) · 1.77 KB
/
Custom.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
EmuleMsg(intext) {
; MsgBox IM IN!
Loop Parse intext, "`n"
{
If (A_Index = 1) {
emuleSingleLine := A_LoopField
}
}
Loop Parse emuleSingleLine, A_Tab
{
If (A_Index <= 2) {
emuleFinalVar .= A_LoopField . "`r`n`r`n"
}
If (A_Index = 3)
{
emuleFinalVar .= "Sources: " . A_LoopField . "`r`n"
}
If (A_Index = 4) {
emuleFinalVar .= "Complete: " . A_LoopField . "`r`n"
}
If (A_Index = 5) {
emuleFinalVar .= "Type: " . A_LoopField . "`r`n"
}
If (A_Index = 6) {
emuleFinalVar .= "FileID: " . A_LoopField . "`r`n"
}
If (A_Index = 7) {
emuleFinalVar .= "Artist: " . A_LoopField . "`r`n"
}
If (A_Index = 8) {
emuleFinalVar .= "Album: " . A_LoopField . "`r`n"
}
If (A_Index = 9) {
emuleFinalVar .= "Title: " . A_LoopField . "`r`n"
}
If (A_Index = 10) {
emuleFinalVar .= "Length: " . A_LoopField . "`r`n"
}
If (A_Index = 11) {
emuleFinalVar .= "Biterate: " . A_LoopField . "`r`n"
}
If (A_Index = 12) {
emuleFinalVar .= "Codec: " . A_LoopField . "`r`n"
}
If (A_Index = 13) {
emuleFinalVar .= "Folder: " . A_LoopField . "`r`n"
}
If (A_Index = 14) {
emuleFinalVar .= "Known: " . A_LoopField . "`r`n"
}
If (A_Index = 15) {
emuleFinalVar .= "AICH Hash: " . A_LoopField . "`r`n"
}
}
If (StrLen(emuleFinalVar) < 10) {
emuleFinalVar := "Blank data returned." . "`r`n" . "Activate function before tooltip kicks in."
}
return emuleFinalVar
}