-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathAeTrayMenu.ini
192 lines (173 loc) · 10.6 KB
/
AeTrayMenu.ini
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
[Config]
ImageList=graphics\images.bmp
ServiceCheckInterval=3
;TrayIcon=AeISCIcon.ico
ServiceGlyphRunning=13
ServiceGlyphPaused=14
ServiceGlyphStopped=15
TrayIconAllRunning=16
TrayIconSomeRunning=17
TrayIconNoneRunning=18
ID=TestConfig
;AboutHeader=Blue Elephants
;AboutVersion=Version 1.5
;AboutTextFile=AeTrayMenu.ini
AboutHeader=My Tray Menu
AboutVersion=Version 1.0
HtmlActions=StartAll StopAll Exit
;>>> List the batch action sections you want to be able to access from the
; html window here (space-separated => you can't use spaces in
; batch action section names).
; E.g. here, you can now use <a href="action:StartAll">...</a> and
; <a href="action:StopAll">...</a> in your HTML files.
[AboutText]
This tray menu is part of My Product.
My Product is Copyright (c) 2003 by Me.
[Variables]
Type: static; Name: ProgF; Value: "C:\Program Files\"; Flags: ispath
Type: static; Name: MijnDo; Value: "C:\Documents and Settings\Onno\Mijn Documenten"; Flags: ispath;
Type: prompt; Name: Prompt1; PromptCaption: "Please..."; PromptText: "Enter the first parameter:"; DefaultValue: "This is a default value"
Type: prompt; Name: Prompt2; PromptCaption: "One more please..."; PromptText: "Just one more parameter left, please:"
[Services]
Name: Apache2
Name: MySQL
;Name: NonExistingService
[Messages]
AllRunningHint=AEONSERV - All services running
SomeRunningHint=AEONSERV - %n of %t services running
NoneRunningHint=AEONSERV - None of %t services running
[Menu.Left.Settings]
BarVisible=no
SeparatorsAlignment=center
SeparatorsFade=yes
SeparatorsFadeColor=clBtnShadow
SeparatorsFlatLines=yes
SeparatorsGradientEnd=clSilver
SeparatorsGradientStart=clGray
SeparatorsGradientStyle=horizontal
SeparatorsSeparatorStyle=shortline
[Menu.Right.Settings]
AutoLineReduction=no
BarVisible=yes
BarCaptionAlignment=bottom
BarCaptionCaption=AEONSERV
BarCaptionDepth=1
BarCaptionDirection=downtoup
BarCaptionFont=Tahoma,16,clWhite,bold italic
BarCaptionHighlightColor=clNone
BarCaptionOffsetY=6
BarCaptionShadowColor=clNone
BarPictureHorzAlignment=center
BarPictureOffsetX=0
BarPictureOffsetY=0
BarPicturePicture=graphics\barimage.bmp
BarPictureTransparent=yes
BarPictureVertAlignment=bottom
BarBorder=clNone
BarGradientEnd=$00550000
BarGradientStart=clBlue
BarGradientStyle=horizontal
BarSide=left
BarSpace=0
BarWidth=32
SeparatorsAlignment=center
SeparatorsFade=yes
SeparatorsFadeColor=clBtnShadow
SeparatorsFlatLines=yes
SeparatorsFont=Arial,8,clWhite
SeparatorsGradientEnd=$00FFAA55
SeparatorsGradientStart=$00550000
SeparatorsGradientStyle=horizontal
SeparatorsSeparatorStyle=caption
[Menu.Left]
Type: item; Caption: "Open Menu Window"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"
;>>> Opens the HTML window (plain vanilla)
Type: item; Caption: "Open Menu Window (maximized)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: maximized
;>>> Opens the HTML window maximized
Type: item; Caption: "Open Menu Window (noresize)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noresize
;>>> Disables resizing the HTML window
Type: item; Caption: "Open Menu Window (noscrollbars)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noscrollbars
;>>> Removes the scrollbars from the HTML renderer
Type: item; Caption: "Open Menu Window (enablecontextmenu)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: enablecontextmenu
;>>> Enables the IE context menu (disabled by default)
Type: item; Caption: "Open Menu Window (width/height/noresize/noscrollbars)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noresize noscrollbars; Width: 300; Height: 100
;>>> Sets the height + width of the HTML window
Type: item; Caption: "Open Menu Window (width/height/noresize/noscrollbars/noclosebutton)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noresize noscrollbars noclosebutton; Width: 300; Height: 100
;>>> Sets the height + width of the HTML window (no close button)
Type: item; Caption: "Open Menu Window (noclosebutton/noheader)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noheader noclosebutton; Width: 300; Height: 100
Type: item; Caption: "Open Menu Window (width/height/noresize/noscrollbars/alwaysontop)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noresize noscrollbars alwaysontop; Width: 300; Height: 130
Type: item; Caption: "Open Menu Window (top/left)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; Width: 300; Height: 300; Top: 10; Left: 40; HtmlWindowFlags: noclosebutton noheader noscrollbars
Type: item; Caption: "Open Menu Window (-top/-left)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; Width: 300; Height: 300; Top: -400; Left: -400; HtmlWindowFlags: noclosebutton noheader noscrollbars
Type: item; Caption: "Open Menu Window (width/height/noscrollbars/alwaysontop)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noscrollbars alwaysontop; Width: 300; Height: 130
Type: item; Caption: "Open Menu Window (noheader/alwaysontop)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noheader alwaysontop; Width: 300; Height: 130
Type: item; Caption: "Open Menu Window (alwaysontop)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: alwaysontop; Width: 300; Height: 130
Type: item; Caption: "Open Menu Window (noresize/alwaysontop)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\menuhtml\test1.htm"; Header: "Html Window Test"; HtmlWindowFlags: noresize alwaysontop; Width: 300; Height: 130
Type: separator
Type: item; Caption: "Open Non-existing Html File (alwaysontop)"; Action: htmlwindow; Src: "%AeTrayMenuPath%\nonexisting.htm"; Header: "Html Window Test"; HtmlWindowFlags: alwaysontop; Width: 300; Height: 130
Type: item; Caption: "Open Non-existing Html File"; Action: htmlwindow; Src: "%AeTrayMenuPath%\nonexisting.htm"; Header: "Html Window Test"; Width: 300; Height: 130
Type: separator
Type: item; Caption: "&About"; Action: about
Type: item; Caption: "Reload Config"; Action: readconfig
Type: item; Caption: "E&xit"; Action: exit
[Menu.Right]
Type: separator; Caption: "AEONSERV"
Type: item; Caption: "&About..."; Action: about; Glyph: 1
Type: item; Caption: "E&xit"; Action: exit
Type: separator; Caption: "Services"
Type: servicesubmenu; Caption: "&Apache2"; Service: Apache2; SubMenu: Messenger
Type: servicesubmenu; Service: MySQL; SubMenu: seclogon
;Type: servicesubmenu; Caption: "Non-existing Service"; Service: NonExistingService; SubMenu: NonExistingService
Type: item; Caption: "Start All Services"; Action: multi; Actions: StartAll
Type: item; Caption: "Stop All Services"; Action: multi; Actions: StopAll
Type: item; Caption: "&Services Applet"; Action: controlpanelservices
Type: separator; Caption: "Programs"
Type: item; Caption: "ISX &3 Compiler"; Action: run; FileName: "%ProgF%\My Inno Setup Extensions 3\compil32.exe"; Glyph: 5
Type: submenu; Caption: "&Other"; SubMenu: SubMenu; Glyph: 3
[SubMenu]
Type: separator; Caption: "Other"
Type: item; Caption: "&Open Some Documents"; Glyph: 0; Action: multi; Actions: OpenSomeDocuments
Type: item; Caption: "Open &Config File"; Glyph: 6; Action: shellexecute; FileName: "%AeTrayMenuPath%\AeTrayMenu.ini"
Type: item; Caption: "Open Config File in Sci&TE"; Glyph: 6; Action: run; FileName: "%ProgramFiles%\SciTE\SciTE.exe"; Parameters: """%AeTrayMenuPath%\AeTrayMenu.ini"""
Type: item; Caption: "Open TODO-List in Sci&TE"; Action: run; FileName: "%ProgramFiles%\SciTE\SciTE.exe"; Parameters: """%AeTrayMenuPath%\AeTrayMenu.todo"""
Type: item; Caption: "Test Prompts"; Action: run; FileName: "%SysDrive%\ShowParams.exe"; Parameters: """%Prompt1%"" ""%Prompt2%"""
[OpenSomeDocuments]
Action: run; FileName: "%Windows%\Notepad.exe"; Parameters: "%MijnDo%\Internet.txt"; ShowCmd: maximized; Flags: waituntilterminated
Action: run; FileName: "C:\ShowParams.exe"; Parameters: "Done!"
Action: shellexecute; FileName: "%MijnDo%\Quotes.txt";
[DoubleClickAction]
Action: about;
[StartupAction]
Action: shellexecute; FileName: "%MijnDo%\Algemeen\Gein\grail.txt";
[Messenger]
Type: separator; Caption: "Messenger"
Type: item; Caption: "&Start/Resume Service"; Action: service; Service: Apache2; ServiceAction: startresume; Glyph: 9
Type: item; Caption: "&Pause Service"; Action: service; Service: Apache2; ServiceAction: pause; Glyph: 10
Type: item; Caption: "S&top Service"; Action: service; Service: Apache2; ServiceAction: stop; Glyph: 11
Type: separator
Type: item; Caption: "&Restart Service"; Action: service; Service: Apache2; ServiceAction: restart; Glyph: 12
[seclogon]
Type: separator; Caption: "Secondary Logon"
Type: item; Caption: "&Start/Resume Service"; Action: service; Service: MySQL; ServiceAction: startresume; Glyph: 9
Type: item; Caption: "&Pause Service"; Action: service; Service: MySQL; ServiceAction: pause; Glyph: 10
Type: item; Caption: "S&top Service"; Action: service; Service: MySQL; ServiceAction: stop; Glyph: 11
Type: separator
Type: item; Caption: "&Restart Service"; Action: service; Service: MySQL; ServiceAction: restart; Glyph: 12
[NonExistingService]
Type: separator; Caption: "NonExistingService"
Type: item; Caption: "&Start/Resume Service"; Action: service; Service: NonExistingService; ServiceAction: startresume; Glyph: 9
Type: item; Caption: "&Pause Service"; Action: service; Service: NonExistingService; ServiceAction: pause; Glyph: 10
Type: item; Caption: "S&top Service"; Action: service; Service: NonExistingService; ServiceAction: stop; Glyph: 11
Type: separator
Type: item; Caption: "&Restart Service"; Action: service; Service: NonExistingService; ServiceAction: restart; Glyph: 12
[StartAll]
;>>> This section can be called from within HTML files, using
; <a href="action:StartAll">...</a> (case insensitive)
Action: service; Service: Apache2; ServiceAction: startresume; Flags: ignoreerrors
Action: service; Service: MySQL; ServiceAction: startresume; Flags: ignoreerrors
[StopAll]
;>>> This section can be called from within HTML files, using
; <a href="action:StopAll">...</a> (case insensitive)
Action: service; Service: Apache2; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: MySQL; ServiceAction: stop; Flags: ignoreerrors
[Exit]
Action: exit;