This repository has been archived by the owner on Mar 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
FNVSGM.ahk
105 lines (75 loc) · 2.47 KB
/
FNVSGM.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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#Persistent
#SingleInstance, Force
myVERSION=1.2
;FNVSGM ini-filename
FNVSGMINIFILENAME=FNVSGM.ini
;Location of the Savegames folder
SAVEGAMESFOLDER=
PROFILESSUBFOLDER=FNVSGM
;the name of the active profile (=foldername)
ACTIVE=
;
;------------------------------------
; G*U*I
;------------------------------------
;------------
; Sub Menus
;------------
;savegames
Menu, subMenuSG, Add, Create New Profile..., submenuSGHandler
Menu, subMenuSG, Add, Scan For New Profiles, submenuSGHandler
Menu, subMenuSG, Add ;a line -----
Menu, subMenuSG, Add, Backup Active Profile..., submenuSGHandler
Menu, subMenuSG, Add, Backup All Profiles..., submenuSGHandler
Menu, subMenuSG, Add ;a line -----
Menu, subMenuSG, Add, Open Fallout New Vegas Savegame Folder, submenuSGHandler
Menu, subMenuSG, Add, Open Active Profile Folder, submenuSGHandler
;advanced
Menu, subMenuADV, Add, Change Play-button link..., submenuADVHandler
;help
;Menu, subMenuHELP, Add, Help, submenuHELPHandler
;Menu, subMenuHELP, Add ;a line -----
Menu, subMenuHELP, Add, About, submenuHELPHandler
;attach menus to app
Menu, menuMain, Add, Savegames, :subMenuSG
Menu, menuMain, Add, Advanced, :subMenuADV
Menu, menuMain, Add, Help, :subMenuHELP
;----------------
; Tray Menu
;----------------
;remove AHK items
Menu, Tray, NoStandard
Menu, Tray, Add ;a line ------
Menu, Tray, Add, Run Fallout New Vegas, submenuTrayHandler
Menu, Tray, Add ;a line ------
Menu, Tray, Add, Open FNVSGM window, submenuTrayHandler
Menu, Tray, Add ;a line ------
Menu, Tray, Add, Exit, submenuTrayHandler
;-------------------------------------
;GUI window 1
;-------------------------------------
Gui, Add, GroupBox, x6 y1 w320 h130 ,
Gui, Add, Text, x16 y11 w200 h20 , Select Profile
Gui, Add, DropDownList, x16 y31 w300 h300 vddlCharacter gguiDropdownProfile,
Gui, Add, Text, x16 y60 w180 h20 vguiSavegameCount,
Gui, Add, Button, x16 y80 w300 h40 gsubRunFalloutNV, Play
Gui, Add, Picture, x6 y135 w320 h-1 vpic, standard.jpg
Gui, Add, Text, x16 y380 w300 h20 +Center cBlue gsubLaunchNexus, www.newvegasnexus.com
; Generated using SmartGUI Creator 4.0
Gui, Show, xCenter yCenter h420 w331, FNV Savegame Manager %myVERSION%
Gui, Menu, menuMain
GuiControl, Focus, ddlCharacter
;------------------------------------------------
;-----------------------
; MAIN
;-----------------------
Gosub subSetupFNVSGM
;Mainloop
Return
;------------
FinishApp:
GuiClose:
ExitApp
#Include FNVSGM_subroutines.ahk
#Include FNVSGM_functions.ahk
#Include FNVSGM_guihandler.ahk