forked from yhding5618/FantasyLifeEasier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.ahk
More file actions
40 lines (36 loc) · 942 Bytes
/
Copy pathmain.ahk
File metadata and controls
40 lines (36 loc) · 942 Bytes
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
#Requires AutoHotkey v2.0
#SingleInstance Force
#Include "lib/utils.ahk"
#Include "lib/gui.ahk"
#Include "lib/game_window.ahk"
#Include "lib/teleportation_gate.ahk"
#Include "lib/save_load.ahk"
#Include "lib/long_cape.ahk"
#Include "lib/mini_game.ahk"
#Include "lib/treasure_grove.ahk"
#Include "lib/weapon_aging.ahk"
#Include "lib/online.ahk"
#Include "lib/mystery_box.ahk"
#Include "lib/mimic.ahk"
#Include "lib/legendary.ahk"
#Include "lib/harvest.ahk"
#Include "lib/script_control.ahk"
; 外部库
#Include "lib/external/Gdip_All.ahk"
#Include "lib/external/OCR.ahk"
ProcessSetPriority("High")
CoordMode("Pixel", "Client")
F3:: Pause(-1)
F4:: SaveAndExit()
F5:: SaveAndReload()
MainTitle := "Fantasy Life Easier"
myGui := Gui(, MainTitle)
myGui.OnEvent("Close", (*) => SaveAndExit())
BuildMyGui()
LoadConfig()
ShowMyGui()
SetTimer(UpdateByTimer1, 500)
UpdateByTimer1() {
GameWindowStatusUpdate()
ScriptControlStatusUpdate()
}