-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.html
238 lines (237 loc) · 12.8 KB
/
readme.html
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang xml:lang>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<title>README</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<style type="text/css">html {color: #1a1a1a;background-color: #fdfdfd;}body {margin: 0 auto;padding-left: 20px;padding-right: 20px;padding-top: 20px;padding-bottom: 20px;hyphens: auto;overflow-wrap: break-word;text-rendering: optimizeLegibility;font-kerning: normal;h1 {font-size: 1.2em;}}@media (max-width: 600px) {body {font-size: 0.9em;padding: 12px;}h1 {font-size: 1.8em;}}@media print {html {background-color: white;}body {background-color: transparent;color: black;font-size: 12pt;}p, h2, h3 {orphans: 3;widows: 3;}h2, h3, h4 {page-break-after: avoid;}}p {margin: 1em 0;}a {color: #1a1a1a;}a:visited {color: #1a1a1a;}img {max-width: 100%;}h1, h2, h3, h4, h5, h6 {margin-top: 0.4em;}h5, h6 {font-size: 1em;font-style: italic;}h6 {font-weight: normal;}ol, ul {padding-left: 1.7em;margin-top: 1em;}li > ol, li > ul {margin-top: 0;}blockquote {margin: 1em 0 1em 1.7em;padding-left: 1em;border-left: 2px solid #e6e6e6;color: #606060;}code {font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;font-size: 85%;margin: 0;hyphens: manual;}pre {margin: 1em 0;overflow: auto;}pre code {padding: 0;overflow: visible;overflow-wrap: normal;}.sourceCode {background-color: transparent;overflow: visible;}hr {background-color: #1a1a1a;border: none;height: 1px;margin: 1em 0;}table {margin: 1em 0;border-collapse: collapse;width: 100%;overflow-x: auto;display: block;font-variant-numeric: lining-nums tabular-nums;}table caption {margin-bottom: 0.75em;}tbody {margin-top: 0.5em;border-top: 1px solid #1a1a1a;border-bottom: 1px solid #1a1a1a;}th {border-top: 1px solid #1a1a1a;padding: 0.25em 0.5em 0.25em 0.5em;}td {padding: 0.125em 0.5em 0.25em 0.5em;}header {margin-bottom: 4em;text-align: center;}#TOC li {list-style: none;}#TOC ul {padding-left: 1.3em;}#TOC > ul {padding-left: 0;}#TOC a:not(:hover) {text-decoration: none;}code{white-space: pre-wrap;}span.smallcaps{font-variant: small-caps;}div.columns{display: flex; gap: min(4vw, 1.5em);}div.column{flex: auto; overflow-x: auto;}div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}ul.task-list{list-style: none;}ul.task-list li input[type="checkbox"] {width: 0.8em;margin: 0 0.8em 0.2em -1.6em;vertical-align: middle;}.display.math{display: block; text-align: center; margin: 0.5rem auto;}table{background-color:#fafafa}table tr td,.haroopad table tr th{border:1px solid #e6e6e6}table tr:nth-child(2n){background-color:#f2f2f2}</style>
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
</head>
<body>
<header id="title-block-header">
<h1 class="title">README</h1>
</header>
<h1 id="startdelayed">Startdelayed</h1>
<h2 id="status-beta-version">Status: Beta version</h2>
<p><strong>The purpose of Startdelayed is to start other (persistent)
apps at Windows boot-time.</strong><br />
or to stop / restart running background apps (if they support a
stop/remove command).</p>
<p>Important: To start Startdelayed in Edit-mode use
"startdelayedEdit.exe".</p>
<h4 id="latest-changes">Latest changes:</h4>
<table>
<thead>
<tr class="header">
<th>Version (>=)</th>
<th>Change</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>0.010</td>
<td>stdshortcuts.txt -> stdshortcuts_<ComputerName>.txt</td>
</tr>
<tr class="even">
<td>0.001</td>
<td>Start of dev. 2023/05/14</td>
</tr>
</tbody>
</table>
<h4 id="known-issues--bugs">Known issues / bugs</h4>
<table>
<thead>
<tr class="header">
<th>Issue / Bug</th>
<th>Type</th>
<th>fixed in version</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Only even entries are editable</td>
<td>Bug</td>
<td>0.005</td>
</tr>
</tbody>
</table>
<h4 id="download">Download</h4>
<p>Via Updater is the preferred method!<br />
Portable, run from any directory, but running from a subdirectory of the
windows programm-directories<br />
(C:\Program Files, C:\Program Files (x86) etc.)<br />
requires admin-rights and is not recommended!<br />
<strong>Installation-directory (is created by the Updater) must be
writable by the app!</strong></p>
<p>To download <strong>Startdelayed</strong> from Github please use:</p>
<p>Windows, 64bit: <a href="https://github.com/jvr-ks/startdelayed/raw/main/updater.exe">updater.exe</a><br />
Windows, 32bit: <a href="https://github.com/jvr-ks/startdelayed/raw/main/updater32.exe">updater.exe</a></p>
<p><strong>Be sure to use only one of the *.exe at a time!</strong></p>
<p>(Updater viruscheck please look at the <a href="https://github.com/jvr-ks/updater">Updater repository</a>)</p>
<ul>
<li>From time to time there are some false positiv virus
detections<br />
<a href="#virusscan">Virusscan</a> at Virustotal see below.</li>
</ul>
<h5 id="demo-data">Demo-data:</h5>
<p>At the first start of "startDelayed" the file
"stddirectoriesDEMO.txt" is copied to a new file<br />
"stddirectories_COMPUTERNAME.txt" and this file is used then.</p>
<h4 id="app-start">App-start</h4>
<p>Startdelayed has three modes:</p>
<ul>
<li>Execution-modes (no startparameter = run all StartCmds or
startparameter stopall = run all StopCmds),</li>
<li>Edit-mode.</li>
</ul>
<p>There are two a helper apps to start startdelayed in the edit-mode:
<strong>"startdelayedEdit.exe"</strong><br />
or to stop all started apps:
<strong>"startdelayedStopall.exe"</strong>.<br />
(A stop is always required to update the apps via a network copy).</p>
<p>Otherwise the functionality is selected by the start parameters:</p>
<p>64 bit Windows: <strong>startdelayed.exe</strong> runs all StartCmds
(top to down) <strong>startdelayed.exe stopall</strong> runs all
StopCmds (top to down) <strong>startdelayed.exe editmode</strong> opens
the gui-window</p>
<p>32 bit Windows:<br />
use <strong>startdelayed32.exe ...</strong> instead</p>
<p>Start with Windows:</p>
<ul>
<li>To create a shortcut of "startdelayed.exe" in the windows-autostart
folder ("shell:startup"),<br />
run the simple Powershell script:<br />
"create_startdelayed_exe_link_with_in_autostartfolder.bat".</li>
</ul>
<h4 id="edit-mode">Edit-mode</h4>
<p>Mouse-click an entry: executes the "StartCmd",<br />
Ctrl + Mouse-click an entry: executes the "StopCmd",<br />
Shift + Mouse-click an entry: edit the entry. *1)</p>
<p>Each entry consists of comma-separated-values (CSV),<br />
NAME, [running directory] ,command, [modifier, [delay after running the
command (milliseconds)],<br />
saved in the [Directories-file].</p>
<p>Environment-variables (like "%SystemRoot%") are <strong>NOT</strong>
usable insíde the Start/Stop-Cmd!</p>
<p>*1) Use it to correct tipos only, otherwise use [Setup] -> [Edit
...] or use an external editor</p>
<h4 id="configuration">Configuration</h4>
<p>Configuration is done by a few files,<br />
file encoding is: <strong>UTF-8-BOM</strong> besides the
[Configuration-file] (UTF-16 LE-BOM):</p>
<p>[Directories-file]
<strong>"stddirectories_<ComputerName>.txt"</strong>,<br />
[Configuration-file]
<strong>"startdelayed_<ComputerName>.ini"</strong>
[Shortcuts-file]
<strong>"stdshortcuts_<ComputerName>.txt"</strong><br />
Use <a href="https://notepad-plus-plus.org/">Notepad++</a>, Atom, Scite
or any other editor to edit the files,<br />
or use the builtin editor (Menu -> Setup -> Edit ...), but it is
very "rudimentary"!</p>
<h4 id="configuration-files-backup--autorestore">Configuration-files
backup / autorestore</h4>
<p>If the Data-directory
"C:\Users&lt;UserName>\AppData\Roaming\startdelayed" exists, the
app saves a copy of the Configuration-files (those with
*_<ComputerName> filename only) to this backup-directory.<br />
If the Configuration-file is missing,<br />
an attempt is made to restore the file from the backup directory.<br />
Otherwise a new Configuration-file is created, containing
default-values.</p>
<p>If the Data-directory does not exist, the app tries to created it
once.</p>
<h4 id="directories-file-stddirectories_computernametxt">[Directories-file]
<strong>"stddirectories_<ComputerName>.txt"</strong>:</h4>
<p>contains on each line separated by a comma:</p>
<p>Name | Dir | StartCmd | StopCmd | Modifier ------------ |
------------- | ------------- | -------------<br />
The name of the entry | the working directory | Command to start the app
| Command to stop the app | Modifier</p>
<h4 id="configuration-file">[Configuration-file]:</h4>
<p>The default [Configuration-file] filename is
"startdelayed_COMPUTERNAME.ini".<br />
The file is created with default values.</p>
<h4 id="shortcuts-file-stdshortcuts_computernametxt">[Shortcuts-file]
<strong>"stdshortcuts_<ComputerName>.txt"</strong>:</h4>
<p>The format of shortcuts is: [shortcut-key].<br />
Shortcuts can be used to shorten long directory-names inside the
[Directories-file]!<br />
The [Shortcuts-file] can contain an unlimited number of [shortcut-key],
[value] definition pairs.<br />
[shortcut-key] must be alphanumeric (no symbols or special characters
allowed).</p>
<h4 id="modifier">Modifier:</h4>
<p><strong>inactive</strong> This [Directories-file] entry is
inactivated,<br />
but can still be executed by clicking the entry in the list if running
the edit-mode!e.</p>
<p><strong>comspec</strong><br />
executes inside a command-shell, can be combined with "admin".</p>
<p><strong>admin</strong><br />
executes as an administrator, but to use it, startdelayed.exe must be
run as an admin too!</p>
<p><strong>wsl</strong><br />
Start in WSL as current user.</p>
<p><strong>wsladmin</strong><br />
Start in WSL as Admin.</p>
<p><strong>Examples of [Directories-file] entries:</strong><br />
(The file "stddirectories_JVRENVY.txt" im currently using)</p>
<pre><code>sbt_console_select,[_ahk]\sbt_console_select,sbt_console_select.exe hidewindow,sbt_console_select.exe remove,,3000
clipboardresize,[_ahk]\clipboardresize,clipboardresize.exe,clipboardresize.exe remove,,3000
cmdlinedev,[_ahk]\cmdlinedev,cmdlinedev.exe,cmdlinedev.exe remove,,3000
titleliner,[_ahk]\titleliner,titleliner.exe,titleliner.exe remove,,3000
skatstube,[_ahk]\skatstube,skatstube.exe,skatstube.exe remove,,3000
aottext,[_ahk]\aottext,aottext.exe,aottext.exe remove,,3000
Disk overview,,shell:::{20D04FE0-3AEA-1069-A2D8-08002B30309D},, inactive
God mode,,shell:::{ED7BA470-8E54-465E-825C-99712043E01C},, inactive
Autostart folder user,,shell:startup,, inactive
Dir c:\,c:\,dir,, comspec inactive
TEST WSL,[_ahk]\aottext,ls -l,, wsl inactive,30000
TEST WSL ADMIN,[_ahk]\aottext,ls -l,, wsladmin inactive,30000</code></pre>
<h4 id="sourcecode-autohotkey-format">Sourcecode: <a href="https://www.autohotkey.com">Autohotkey format</a></h4>
<ul>
<li>"startdelayed.ahk"</li>
</ul>
<h4 id="requirements">Requirements</h4>
<ul>
<li>Windows 10 or later only.</li>
</ul>
<h4 id="sourcecode">Sourcecode</h4>
<p>Github URL <a href="https://github.com/jvr-ks/startdelayed">github</a>.</p>
<h4 id="hotkeys">Hotkeys</h4>
<p><a href="https://github.com/jvr-ks/startdelayed/blob/main/hotkeys.md">Overview
of all default Hotkeys used by my Autohotkey "tools"</a></p>
<h4 id="license">License</h4>
<p>GNU GENERAL PUBLIC LICENSE</p>
<p>Take a look at the file "license.txt"</p>
<p>Copyright (c) 2020 J. v. Roos</p>
<p><a name="virusscan"></a></p>
<h5 id="virusscan-at-virustotal">Virusscan at Virustotal</h5>
<p><a href="https://www.virustotal.com/gui/url/5a1af220c848260ad3cc36fa7a757b7faff1ef9c67f53cee3c60aa944d605ac5/detection/u-5a1af220c848260ad3cc36fa7a757b7faff1ef9c67f53cee3c60aa944d605ac5-1711459304">Virusscan
at Virustotal, startdelayed.exe 64bit-exe, Check here</a><br />
<a href="https://www.virustotal.com/gui/url/b9b964d88776335fd82abd5bed315279efde34efa0866fb29b58fa91f607037f/detection/u-b9b964d88776335fd82abd5bed315279efde34efa0866fb29b58fa91f607037f-1711459305">Virusscan
at Virustotal, startdelayed32.exe 32bit-exe, Check here</a><br />
<a href="https://www.virustotal.com/gui/url/ebdeb88c41ba149017b179335cb08624ac98dc698af41f6fcb05dc58fe9d1d70/detection/u-ebdeb88c41ba149017b179335cb08624ac98dc698af41f6fcb05dc58fe9d1d70-1711459306">Virusscan
at Virustotal, startdelayedA32.exe 32bit-exe ANSI, Check here</a><br />
Use [CTRL] + Click to open in a new window!</p>
</body>
</html>