-
Notifications
You must be signed in to change notification settings - Fork 0
/
StartWinMinMaxPos.exe.ini
45 lines (42 loc) · 2.14 KB
/
StartWinMinMaxPos.exe.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
; Copyright ©2023 David Maisonave (www.Axter.com)
; This is an example INI file for StartWinMinMaxPos.
; Important!: Make sure to rename this file to the target executable with ".ini" appended.
[StartWinMinMaxPos]
;ShowWindow=min,max,norm, or any ShowWindow API name (default value is min)
;PosX=Offset of the upper left corner of a window (default value 0)
;PosY=Offset of the upper left corner of a window (default value 0)
;SizeX=Window width (default value 0)
;SizeY=Window height (default value 0)
;Executable=Full path of a target executable. This field only needs to be populated if the target executable doesn't have the name "TheProgramName.Original.exe"
ShowWindow=min
;SizeX=1000
;SizeY=400
;PosX=200
;PosY=50
;; Advanced Fields
;LogFile=full path of log file
;PauseOnExit=1
;ProgramArguments=Additional arguments to pass to target program
;Title=The title displayed in the title bar if a new console window is created.
;LinkName=The full path of the shortcut file (.lnk)
;AppUserModelID=
;dwXCountChars=
;dwYCountChars=
;dwFillAttribute=
;AddTodwFlags=A number associated with one or more of the following flags:
; STARTF_FORCEONFEEDBACK (0x00000040)
; STARTF_FORCEOFFFEEDBACK (0x00000080)
; STARTF_PREVENTPINNING (0x00002000)
; STARTF_RUNFULLSCREEN (0x00000020)
; STARTF_UNTRUSTEDSOURCE (0x00008000)
; For more information see (https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/ns-processthreadsapi-startupinfoa).
;AddTodwFlags will get OR (added) to the valued calculated by the following field settings:
;If ShowWindow is populated, bit 0x00000001 (STARTF_USESHOWWINDOW) is set.
;If SizeX and SizeY is set, bit 0x00000002 (STARTF_USESIZE) is set.
;If PosX and PosY is set, bit 0x00000004 (STARTF_USEPOSITION) is set.
;If dwXCountChars and dwYCountChars is set, bit 0x00000008 (STARTF_USECOUNTCHARS) is set.
;If dwFillAttribute is set, bit 0x00000010 (STARTF_USEFILLATTRIBUTE) is set.
;If LinkName is populated, bit 0x00000800 (STARTF_TITLEISLINKNAME) is set.
;If AppUserModelID is populated, bit 0x00001000 (STARTF_TITLEISAPPID) is set.
;
;Fields Title, LinkName, and AppUserModelID are exclusive, so only one of these three fields can be populated.