tag:blogger.com,1999:blog-54676134286204915172024-03-06T08:19:52.927+01:00memoablagecarafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.comBlogger309125tag:blogger.com,1999:blog-5467613428620491517.post-1048852388866089182023-04-21T05:00:00.004+02:002023-04-21T05:00:00.204+02:00Farbe ist das neue Schwarz<p>Das gute alte Batch - sie funktioniert und tut, aber leider ist sie so schwarz und unschön.</p><p>Dabei gibt es von (nahezu) Anfang an die Möglichkeit, auch farbig auszugeben. Des Rätsels Lösung ist der Befehl ECHO mit einem ESC zu verbinden. </p><p>Das Wichtigste, was man wissen muss:</p><p></p><ol style="text-align: left;"><li>Nehmt einen vernünftigen Editor, der auch nichtdruckbare Zeichen anzeigen kann. Ein guter Editor ist <a href="https://notepad-plus-plus.org/downloads/" target="_blank">Notepad++</a></li><li>Das ESC-Zeigen wird eingegeben mit gedrückter Taste [ALT]+027 (Zifferntastatur)</li></ol><div>Ansonsten könnt ihr euch austoben:</div><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgISVD5IJRrX1a9W-XXSH0xMZPskKncm96y5c1W_aG889xgJJVo6h6Me76haXl_1kEoU2q0CWC6JSl5AMWM1XrT6oBjQDM-QfSBsIoELlCuCxYaPu_SzTAqm9A1k0UzXwybLQJJi7HPq1NXWoCxIyWUOVkpkUNBdWiW438nh5glg4fRL-5s0vV42KAXIA/s979/CMD_Farbe.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="512" data-original-width="979" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgISVD5IJRrX1a9W-XXSH0xMZPskKncm96y5c1W_aG889xgJJVo6h6Me76haXl_1kEoU2q0CWC6JSl5AMWM1XrT6oBjQDM-QfSBsIoELlCuCxYaPu_SzTAqm9A1k0UzXwybLQJJi7HPq1NXWoCxIyWUOVkpkUNBdWiW438nh5glg4fRL-5s0vV42KAXIA/w400-h209/CMD_Farbe.png" width="400" /></a></div><br /><p>Oben abgebildete Batch sieht dann so aus:</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiDOx-gRBZOT_xfmmRfkwTt2WxWXZdIPyDnKKOg2rMu6fkj9So5fjPHTvlFfmRlaImc5MZJU47vmpEC-q5zSMuhWYiGrgWR0VtHfDfcsJyUfWphWL0XHQRDSTOC7t44EplAV1moh2wPbaX1OuZctQEuH-NHBOvzbDli2DBrEZH4HaXuenM9Bv24_77mA/s2419/Batch-Farbe-Code.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="704" data-original-width="2419" height="116" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiDOx-gRBZOT_xfmmRfkwTt2WxWXZdIPyDnKKOg2rMu6fkj9So5fjPHTvlFfmRlaImc5MZJU47vmpEC-q5zSMuhWYiGrgWR0VtHfDfcsJyUfWphWL0XHQRDSTOC7t44EplAV1moh2wPbaX1OuZctQEuH-NHBOvzbDli2DBrEZH4HaXuenM9Bv24_77mA/w400-h116/Batch-Farbe-Code.png" width="400" /></a></div><br /><p>Oder als Code so :</p><p>
<!--HTML generated using hilite.me--></p><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;">@<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #008800; font-weight: bold;">off</span>
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">93</span>m [<span style="color: #6600ee; font-weight: bold;">93</span>mYellow[<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">7</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">7</span>m <span style="color: #6600ee; font-weight: bold;">1</span> <span style="color: #6600ee; font-weight: bold;">6</span> D A R S T E L L B A R E N F A R B E N [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">7</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>mDUNKEL HELL [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> __________________________________________
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">40</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">40</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">100</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">100</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">41</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">41</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">101</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">101</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">42</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">42</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">102</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">102</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">43</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">43</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">2</span>;<span style="color: #6600ee; font-weight: bold;">103</span>m esc <span style="color: #6600ee; font-weight: bold;">2</span>;<span style="color: #6600ee; font-weight: bold;">103</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">44</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">44</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">104</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">104</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">45</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">45</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">105</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">105</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">46</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">46</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">106</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">106</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m esc <span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m [<span style="color: #6600ee; font-weight: bold;">2</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m esc <span style="color: #6600ee; font-weight: bold;">2</span>;<span style="color: #6600ee; font-weight: bold;">107</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">103</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">43</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">101</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">41</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">105</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">45</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">44</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">104</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">46</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">106</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">102</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">42</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">40</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">100</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">103</span>m <span style="color: #6600ee; font-weight: bold;">103</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">43</span>m <span style="color: #6600ee; font-weight: bold;">43</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">101</span>m <span style="color: #6600ee; font-weight: bold;">101</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">41</span>m <span style="color: #6600ee; font-weight: bold;">41</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">105</span>m <span style="color: #6600ee; font-weight: bold;">105</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">45</span>m <span style="color: #6600ee; font-weight: bold;">45</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">44</span>m <span style="color: #6600ee; font-weight: bold;">44</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">104</span>m <span style="color: #6600ee; font-weight: bold;">104</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">46</span>m <span style="color: #6600ee; font-weight: bold;">46</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">106</span>m <span style="color: #6600ee; font-weight: bold;">106</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">102</span>m <span style="color: #6600ee; font-weight: bold;">102</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">42</span>m <span style="color: #6600ee; font-weight: bold;">42</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">40</span>m <span style="color: #6600ee; font-weight: bold;">40</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">100</span>m <span style="color: #6600ee; font-weight: bold;">100</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m <span style="color: #6600ee; font-weight: bold;">47</span> [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m <span style="color: #6600ee; font-weight: bold;">107</span> [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m Das [<span style="color: #6600ee; font-weight: bold;">7</span>;<span style="color: #6600ee; font-weight: bold;">90</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m[ESC] [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m-Zeichen wird via [<span style="color: #6600ee; font-weight: bold;">7</span>;<span style="color: #6600ee; font-weight: bold;">91</span>;<span style="color: #6600ee; font-weight: bold;">107</span>mALT+<span style="color: #6600ee; font-weight: bold;">027</span> [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m eingegeben. Das funktioniert [<span style="color: #6600ee; font-weight: bold;">4</span>mNICHT [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m mit dem Windows-Editor! Besser geeignet ist [<span style="color: #6600ee; font-weight: bold;">7</span>;<span style="color: #6600ee; font-weight: bold;">36</span>;<span style="color: #6600ee; font-weight: bold;">107</span>mNotepad++ [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">31</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m. [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>;<span style="color: #6600ee; font-weight: bold;">30</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">1</span>;<span style="color: #6600ee; font-weight: bold;">47</span>m [<span style="color: #6600ee; font-weight: bold;">0</span>m
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> [<span style="color: #6600ee; font-weight: bold;">35</span>;<span style="color: #6600ee; font-weight: bold;">107</span>m
<span style="color: #008800; font-weight: bold;">pause</span>
</pre></div>
<p></p>
<p>Das seltsame Fragezeichen ist das [ESC]-Zeichen im Screenshot.</p>
carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-59031683236687668192023-04-07T05:00:00.001+02:002023-04-07T05:00:00.187+02:00Click twice, my Cherry!<p> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9t3NJAAaH6_vdIC45t5jz1F6eQqya8NR-TTbj6Csa8BJhvkpOQV7_Yx3iqVt-8nc9VtQ9pUmrBxhNm36pA6tLK5QOe_V6UxZuRZnm1Wsuivm1rsXfFP5TtYKyyMG3FjZH3iEqX75NS799nGXlHhCmuntFkxecrOnwLvThO3kyxRF7JOdSSEDVpymZNA/s889/cherry_slim_dw_9100_202111_40.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="407" data-original-width="889" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9t3NJAAaH6_vdIC45t5jz1F6eQqya8NR-TTbj6Csa8BJhvkpOQV7_Yx3iqVt-8nc9VtQ9pUmrBxhNm36pA6tLK5QOe_V6UxZuRZnm1Wsuivm1rsXfFP5TtYKyyMG3FjZH3iEqX75NS799nGXlHhCmuntFkxecrOnwLvThO3kyxRF7JOdSSEDVpymZNA/w640-h294/cherry_slim_dw_9100_202111_40.jpg" width="640" /></a></div><br /><p></p><p>Ich habe mir und meinem Schreibtisch eine stylishere Tastatur + Maus gegönnt. Die Wahl fiel auf Cherry DW9100, einem kabellosem Maus-Tastatur-Set, welche via USB C aufgeladen werden kann.</p><p><br /></p><p>Die Haptik ist toll, der Geräuschpegel äußerst niedrig, die Verbindung zum PC via USB-Dongle und Smartphone via Bluetooth stabil - kurz ich bin eigentlich ganz zufrieden.</p><p>"Eigentlich"? </p><p>Cherry liefert eine eher mäßige Software zum Anpassen aus. Meine Ansprüche sind zwar gar nicht so hoch, aber wenn ich schon eine mittlere Taste habe, dann möchte ich darauf auch einen Doppelklick legen. Das geht leider nicht mit der Cherry-Software. </p><p>Nun allerdings hat mir der Support eine Freeware empfohlen, die ich hiermit weiterempfehlen möchte:</p><p style="text-align: center;"><b><a href="https://www.highrez.co.uk/downloads/xmousebuttoncontrol.htm" target="_blank">X-Mouse Button Control</a></b></p><p>Damit habe ich unter anderem auch den Doppelklick wieder und vieles mehr - probiert es mal aus.</p>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-86364246085898855702023-03-24T05:00:00.029+01:002023-03-24T15:28:34.601+01:00ChatGPampig<p>Dass ChatGPT im neuen Bing irgendwie schneller schrullig wird, als uns lieb sein kann, hat uns Keno <a href="https://www.youtube.com/watch?v=6-HCW3s3ocI" target="_blank">hier</a> und <a href="https://www.youtube.com/watch?v=q_lwlW1NIlQ&t=1s" target="_blank">hier</a> gezeigt. </p><p>Ich hätte da auch eine Geschichte beizutragen:</p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNPKh1gusBoiJFu4eo5dVlflc1pmWBM3xO7zAZlvaBCQKhb-cJLm0eGKtmergtOLbHMcsZZvW87ZJaYhXANgeKj295kP_qgNf-Re2Dxqc95I_2zGP2rfM7K1bG-horhLXOqgojhkUkYH5XbOh1JZ3JQnSRSTRwDNJAVlqDaLf3WuP3GR_sekGkbIc8Bw/s4801/40460durch11.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="4801" data-original-width="1164" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNPKh1gusBoiJFu4eo5dVlflc1pmWBM3xO7zAZlvaBCQKhb-cJLm0eGKtmergtOLbHMcsZZvW87ZJaYhXANgeKj295kP_qgNf-Re2Dxqc95I_2zGP2rfM7K1bG-horhLXOqgojhkUkYH5XbOh1JZ3JQnSRSTRwDNJAVlqDaLf3WuP3GR_sekGkbIc8Bw/s320/40460durch11.jpg" width="78" /></a></div><div><br /></div><div style="text-align: center;"><span style="font-size: x-small;"><b>Klickt auf das Bild, um es zu vergrößern, dann rechte Maustaste und auf "Bild in neuen Tab öffnen" </b></span></div><div><br /></div><div>Interessant aus meiner Sicht:</div><div><ul style="text-align: left;"><li>Bing wird schnell beleidigend: <br /><span style="color: #0b5394;">"Hast Du Schwierigkeiten mit Mathe?" </span><br /><br /></li><li>Die Ergebnisse gleichen einer Wundertüte. Es ist erstaunlich, was KI kann, aber erschreckend, was KI nicht kann. Und es lässt einen ratlos zurück, woher die KI zuweilen die seltsamen Erkenntnisse zieht.<br /><span style="color: #0b5394;">Rechenweg ...</span><br /><br /></li><li>Bing hat immer Recht.<br /><span style="color: #0b5394;">"Du hast Dich verrechnet." <br />"Es kann sein, dass der Windows-Rechner falsch rechnet."<br />"Nein, ich mache keinen Fehler."<br />"Der Windows-Rechner und Excel liegen falsch."</span><br /><br /></li><li>Wenn Bing einmal eine vermeintliche Lösung gefunden hat, sucht es danach nur noch nach Bestätigung der eigenen Richtigkeit.<br /><span style="color: #0b5394;">"suche nach: <b>windows rechner falsch</b>"</span><br /><br /></li><li>Wenn Bing sich in die Enge getrieben fühlt, wird das Gespräch beleidigt und vorwurfsvoll abrupt beendet.<br /><span style="color: #0b5394;">"Ich möchte nicht weiter darüber diskutieren."<br />"Bitte sein respektvoll und höflich:"</span><br /></li></ul><p>Ich finde es insgesamt ziemlich gruslig. </p><p><br /></p></div>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-6401638523786170342023-03-17T05:00:00.001+01:002023-03-17T05:00:00.199+01:00Remotedesktop vs. Microsoft Account (2)<p> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZvSimdIcFwpNGeilJCDVeoF7R3enB3Ku8btukSEA_KSNvrE20lDMzgjFtREDMbteclvAK7PGJBBxm_nMGbmlOuhozg9HszowzVD_nUkDYEBLg-Ng-m3-x7XGQ1Hp-b1p_8rISojY0jyDqyePkCC0Y3aXFMc6faRyg-8pokrNWk6dCNGru0VDkh6oFqw/s1914/Windows11Banner.jpg" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="711" data-original-width="1914" height="149" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZvSimdIcFwpNGeilJCDVeoF7R3enB3Ku8btukSEA_KSNvrE20lDMzgjFtREDMbteclvAK7PGJBBxm_nMGbmlOuhozg9HszowzVD_nUkDYEBLg-Ng-m3-x7XGQ1Hp-b1p_8rISojY0jyDqyePkCC0Y3aXFMc6faRyg-8pokrNWk6dCNGru0VDkh6oFqw/w400-h149/Windows11Banner.jpg" width="400" /></a></div><br /><p></p><p>Kleine Ergänzung zu dem Problem des Zugriffs via Remotedesktop auf einen Computer mit Windows 11. Es gibt noch eine andere Lösung:</p><p></p><ul style="text-align: left;"><li>Auf dem Windows 11 Computer abmelden.</li><li>Beim Anmelden auf "PIN vergessen" klicken.</li><li>via Microsoft-Account-Kennwort anmelden </li><li>mit der App "Microsoft Authenticator" bestätigen, und eine neue PIN eingeben (habe die alte genommen). </li><li>Danach konnte ich auf diesem Computer wieder via RDP zugreifen.</li></ul><p></p><p>crazy? yes!</p>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-71589713646637992032022-08-01T05:00:00.112+02:002022-08-01T09:33:12.367+02:00Remotedesktop vs. Microsoft Account<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCvk7uVk90hasSXkPANrNGHEIPtk4XPODA2JdOeChS1Hpmfj2fP6_rOzDL8rARL318inId2YYfXyLldTmd28pumimo-nRbwbfXkhWeJR60v4Assa1SYOKOK_zBDxHgnl5EW1ptzN4oX2h9vYcI14JIMox19kFO4eUBGYJkSF--9kmYPQnQPUNZUsmbA/s1920/RDP_win11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1080" data-original-width="1920" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRCvk7uVk90hasSXkPANrNGHEIPtk4XPODA2JdOeChS1Hpmfj2fP6_rOzDL8rARL318inId2YYfXyLldTmd28pumimo-nRbwbfXkhWeJR60v4Assa1SYOKOK_zBDxHgnl5EW1ptzN4oX2h9vYcI14JIMox19kFO4eUBGYJkSF--9kmYPQnQPUNZUsmbA/w400-h225/RDP_win11.png" width="400" /></a></div><br /><p><b>Das Setting: </b></p><p>Ihr möchtet von Windows 10 Pro auf einen Rechner mit Windows 11 Pro per Remotedesktop zugreifen, bekommt aber ständig , "<span style="font-family: courier;"><b>Der Anmeldeversuch ist fehlgeschlagen.</b></span>".</p><p>Dabei versucht ihr es mit dem Microsoft-Account (<b style="font-family: courier; text-align: center;">NUTZERNAME</b><span style="font-family: courier;"><b>@live.de</b></span>) und seid euch ganz sicher, dass Benutzername und Passwort stimmen.</p><p>Eine Verbindung zu einem Windows 10 Pro mit dem Microsoft-Account funktioniert hingegen einwandfrei. </p><p><br /></p><p><b>Wie kommt ihr weiter?</b></p><p>Drückt Windows+R und gebt ein: </p><p style="text-align: center;"><span style="font-family: courier;"><b>runas /u:MicrosoftAccount\NUTZERNAME@live.de cmd.exe</b></span></p><p>Dann OK. Es öffnet sich die Eingabeaufforderung und verlangt nach dem Windows-Kennwort. Gebt es ein, und die Remotedesktopverbindung funktioniert wieder.</p><p><br /></p><p><b>Warum passiert das?</b></p><p>Das passiert, wenn ihr mit dem Microsoft-Account arbeitet (was ja bei Windows 11 der Standard ist). Offenbar benötigt Windows 11 da nochmal einen Tritt, um den lokalen Account mit dem Cloud-Account abzugleichen. </p><p style="text-align: right;"><span style="font-size: x-small;">Quelle: <a href="https://www.youtube.com/watch?v=FasKuyTE0BY" target="_blank">Remote Desktop: Fehler bei Anmeldung mit Microsoft Konto</a></span></p>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-37388728841175871562022-04-20T05:00:00.068+02:002022-04-20T05:00:00.192+02:00SQL: Alle Tabellen, Felder, Datentypen + 0 ja/nein<p>Will man sich einen Überblick darüber verschaffen, wie eine Datenbank aufgebaut ist, ist es unter Zuhilfenahme von <b>sysobjects </b>und <b>syscolums </b>ganz gut möglich. Auch die Länge der Felder ist auswertbar. </p><p>Ich habe allerdings ein bisschen Lebenszeit verbraucht, um das Problem der Maximallänge bei Feldern des Datentyps <b>nvarchar </b>zu begreifen.</p><p><b>Problem</b>: Die Länge des Feldes steht normalerweise in <b>syscolumns </b>im Wert <b>length</b>. Allerdings ist der Wert bei <b>nvarchar</b> nicht korrekt. Um genaz genau zu sein, ist der doppelt zu groß.</p><p><br /></p><p><b>Ursache</b>: Zitat: </p><blockquote><p><span face=""Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif" style="background-color: white; color: #333333; font-size: 14px;">... a column that is declared to be varchar(10) will show 10 in that column. A column that is nvarchar(10) will show 20 in that column since each nvarchar character takes 2 bytes. If the value of the max_length is -1 then the column was declared as varchar(max), nvarchar(max), or varbinary(max).</span></p></blockquote><p style="text-align: right;"><span style="font-size: x-small;"><i>Quelle: <a href="https://social.msdn.microsoft.com/Forums/sqlserver/en-US/be4ad98b-473a-4183-a541-71c3fd79d958/length-of-nvarchar-column-in-system-tables?forum=transactsql" target="_blank">Tom via msdn</a></i></span></p><p><br /></p><p><b>Lösung</b>:</p><p>OK, das Problem mit "(max)" und dem darauf folgendem "-1" und ist mir nicht so wichtig, aber die maximale Länge von begrenzten Textfeldern schon. </p><p>Also sieht meine Abfrage so aus:</p>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="font-family: courier;"><span style="color: #2b00fe;"><span style="font-weight: bold;">select</span> </span>
Tabellenname <span style="color: #333333;">=</span> <span style="color: #04ff00;">dbo.sysobjects.name</span>
, Spaltenname <span style="color: #333333;">=</span> <span style="color: #04ff00;">dbo.syscolumns.name</span>
, Datentyp <span style="color: #333333;">=</span> <span style="color: #04ff00;">sys.types.name</span>
, Laenge <span style="color: #333333;">=</span>
<span style="color: #2b00fe;"><span style="font-weight: bold;">case</span> <span style="font-weight: bold;">when</span></span> <span style="color: #04ff00;">sys.types.name</span> <span style="color: #333333;">=</span><span style="color: red;"> <span style="background-color: #fff0f0;">'nvarchar'</span></span> <span style="color: #2b00fe;"><span style="font-weight: bold;">then</span> </span><span style="color: #04ff00;">dbo.syscolumns.<span style="font-weight: bold;">length</span></span> <span style="color: #333333;">/</span> <span style="color: #0000dd; font-weight: bold;">2</span>
<span style="color: #2b00fe;"><span style="font-weight: bold;">else</span> </span><span style="color: #04ff00;">dbo.syscolumns.<span style="font-weight: bold;">length</span></span>
<span style="color: #2b00fe; font-weight: bold;">end</span>
, Null_OK <span style="color: #333333;">=</span> <span style="color: #04ff00;">dbo.syscolumns.isnullable</span>
<span style="color: #2b00fe;"><span style="font-weight: bold;">from</span> </span><span style="color: #04ff00;">dbo.syscolumns</span>
<span style="color: #2b00fe;"><span style="font-weight: bold;">inner</span> <span style="font-weight: bold;">join</span></span> <span style="color: #04ff00;">dbo.sysobjects</span> <span style="color: #2b00fe;"><span style="font-weight: bold;">on</span> </span><span style="color: #04ff00;">dbo.syscolumns.id</span> <span style="color: #333333;">=</span> <span style="color: #04ff00;">dbo.sysobjects.id</span>
<span style="color: #2b00fe;"><span style="font-weight: bold;">left</span> <span style="font-weight: bold;">Join</span></span> <span style="color: #04ff00;">sys.types</span> <span style="color: #2b00fe;"><span style="font-weight: bold;">on</span> </span><span style="color: #04ff00;">user_type_id</span> <span style="color: #333333;">=</span> <span style="color: #04ff00;">dbo.syscolumns.xusertype</span>
<span style="color: #2b00fe;"><span style="font-weight: bold;">where</span> </span>(<span style="color: #04ff00;">dbo.sysobjects.xtype</span> <span style="color: #333333;">=</span> <span style="background-color: #fff0f0; color: red;">'U'</span>)
<span style="color: #2b00fe;"><span style="font-weight: bold;">order</span> <span style="font-weight: bold;">by</span></span> Tabellenname , Spaltenname</span>
</pre></div>
<p>Es könnte jetzt natürlich noch eleganter sein, da ja die Werte bei beispielsweise <b>bit </b>und <b>datetime </b>was völlig anderes meinen, aber in meiner Welt sind "<b>bit</b>" und "<b>datetime</b>" hinreichend eindeutig für eine Schnittstellen-Konzeption.</p><p><br /></p>
carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-18756588214247764062021-05-28T05:00:00.001+02:002021-05-28T05:00:00.223+02:00Windows 10 - Features aktivieren<p> </p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQxrQ3NDOYY1FNufxpoWpXOJIF7ZaF0ZDpGqkIxjTM8NI3L85Sq2m4t7tngMrnEcBl_rV4H6K9RS8BzoZjsUuF2qlrC1PpescpPDEInt58w6fh_oyTkcSPbRh4kmE7xqo6pjOXBQylph-S/s1919/ViVe.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1076" data-original-width="1919" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQxrQ3NDOYY1FNufxpoWpXOJIF7ZaF0ZDpGqkIxjTM8NI3L85Sq2m4t7tngMrnEcBl_rV4H6K9RS8BzoZjsUuF2qlrC1PpescpPDEInt58w6fh_oyTkcSPbRh4kmE7xqo6pjOXBQylph-S/w400-h224/ViVe.png" width="400" /></a></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Windows 10 bietet ein paar Features, die Microsoft seltsamerweise nicht allen ausliefert. So wäre beispielsweise das Banner in den Einstellungen ❶ oder "Neuigkeiten und interessante Themen" in der Taskleiste ❷.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Ich habe noch nicht herausgefunden, wonach Microsoft bemisst, wer genau diese Features sehen und benutzen darf. Ich habe mehrere Rechner mit dem identischem Konto laufen, und da ist es komplett unterschiedlich.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: large;"><b>Aber man kann nachhelfen:</b></span></div><div class="separator" style="clear: both; text-align: left;"><ol style="text-align: left;"><li><a href="https://github.com/thebookisclosed/ViVe/releases" target="_blank">ViVe</a> herunterladen, entpacken</li><li>CMD mit Admin-Rechten starten</li><li>ViVeTool mit entsprechenden Parametern aufrufen</li><li>Windows neustarten</li></ol></div><div class="separator" style="clear: both; text-align: left;"><b><span style="font-family: courier; font-size: large;">Welche Parameter gelten?</span></b></div><div class="separator" style="clear: both; text-align: left;"><ol style="text-align: left;"><li>Für das Banner in den Einstellungen: <br /><b><span style="font-family: courier;">ViVeTool.exe addconfig 18299130 2</span><br /><br /></b></li><li>Für die News in der Taskleiste:<br /><span style="font-family: courier;"><b>Vivetool.exe addconfig 27368843 2</b><br /><b>Vivetool.exe addconfig 27371152 2</b><br /><b>Vivetool.exe addconfig 30213886 2</b><br /><b>Vivetool.exe addconfig 29947360 2</b><br /><b>Vivetool.exe addconfig 29990934 2</b></span><br /><br />(ja alle 5 sind notwendig)</li></ol><div>Dabei sind drei Schalter zum Parameter möglich:</div></div><p></p><div>0 = Standard</div><div class="separator" style="clear: both;"><div>1 = Deaktiviert </div><div>2 = Aktiviert </div><div><br /></div><div>sowie 8 Befehle:</div><div><div><span style="font-family: courier;"><b>queryconfig </b></span>Listet vorhandene Feature-Konfiguration(en) auf</div><div><b><span style="font-family: courier;">querysubs </span></b>Listet bestehende Feature-Nutzungsbenachrichtigungs-Abos auf</div><div><b><span style="font-family: courier;">changestamp </span></b>Druckt den aktuellen Änderungsstempel des Feature Stores</div><div><b><span style="font-family: courier;">addconfig </span></b>Fügt eine Feature-Konfiguration hinzu</div><div><b><span style="font-family: courier;">delconfig </span></b>Löscht eine Feature-Konfiguration</div><div><b><span style="font-family: courier;">addsub </span></b>Fügt eine Benachrichtigung über die Nutzung eines Feature-Abos hinzu</div><div><b><span style="font-family: courier;">delsub </span></b>Löscht eine Benachrichtigung über die Nutzung eines Funktionsabos</div><div><b><span style="font-family: courier;">notifyusage </span></b>Löst eine Benachrichtigung über die Verwendung von Funktionen aus</div></div><div><br /></div></div><p></p><div class="separator" style="clear: both; text-align: left;"><span style="font-family: courier; font-size: large;"><b>Welche Parameter gibt es noch?</b></span></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;">Rafael Rivera stellt regelmäßig eine Liste mit Parametern zusammen, die er auf <a href="https://github.com/riverar/mach2/tree/master/features" target="_blank">GitHub</a> veröffentlicht.</div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><b><span style="font-family: courier; font-size: large;">Weblinks: </span></b></div><div class="separator" style="clear: both; text-align: left;"><ul style="text-align: left;"><li><a href="https://www.deskmodder.de/blog/2020/04/10/mit-vive-vivetool-versteckte-funktionen-in-der-windows-10-aktivieren-oder-deaktivieren/" target="_blank"><span style="font-size: x-small;">mit ViVe (ViVeTool) versteckte funktionen in der Windows 10 aktivieren oder deaktivieren</span></a></li><li><a href="https://www.deskmodder.de/phpBB3/viewtopic.php?f=334&t=25286" target="_blank"><span style="font-size: x-small;">Wetter in der Taskleiste integrieren</span></a></li><li><a href="https://www.deskmodder.de/phpBB3/viewtopic.php?f=334&t=24088&p=365287#p365287" target="_blank"><span style="font-size: x-small;">Fenster Windows-Einstellungen - neue Kopfanzeige</span></a></li><li><a href="https://github.com/thebookisclosed/ViVe/releases" target="_blank"><span style="font-size: x-small;">ViVe-Tool</span></a></li><li><a href="https://github.com/riverar/mach2/tree/master/features" target="_blank"><span style="font-size: x-small;">Master Feature List</span></a></li></ul></div><p></p><p></p><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><div class="separator" style="clear: both; text-align: left;"><br /></div><br /><p></p>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-68254867229514316612021-03-26T05:00:00.001+01:002021-03-26T05:00:08.258+01:00SQL-Abfrage direkt in Datei ausgeben<p><span style="font-family: helvetica;"><b>Problem:</b> Ich möchte eine Abfrage direkt in eine Datei ausgeben. </span></p><p><span style="font-family: helvetica;">Nutzer von MySQL oder MariaDB werden müde lächeln - da gibt es entsprechende Befehle, die das tun. Im MSSQL habe ich keine gefunden. Es gibt aber Lösungen:</span></p><h2 style="text-align: left;"><b><span style="font-family: helvetica;">Lösung 1: Im SSMS selbst</span></b></h2><p><span style="font-family: helvetica;">Im SSMS kann ich das einstellen: Unter Extras, Optionen, Abfrageergebnisse kann ich einstellen, dass direkt in eine Datei ausgegeben wird:</span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFvL0_6w2dyq8jc1AOXluqEM78DO-PQpeAn3H9VFXvoTVsXXrM7rH19xJCCYDawwfNTwejDTG6zqyYGTl-uoWhTCjJPtkBfuUBHyX-PvE0dNmabEyVhNQjazT1_MhBRgzxA5OYiUqAk2Z/s743/2021-03-24+09_49_50-Microsoft+SQL+Server+Management+Studio.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="431" data-original-width="743" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirFvL0_6w2dyq8jc1AOXluqEM78DO-PQpeAn3H9VFXvoTVsXXrM7rH19xJCCYDawwfNTwejDTG6zqyYGTl-uoWhTCjJPtkBfuUBHyX-PvE0dNmabEyVhNQjazT1_MhBRgzxA5OYiUqAk2Z/w400-h233/2021-03-24+09_49_50-Microsoft+SQL+Server+Management+Studio.png" width="400" /></a></div><br /><p><span style="font-family: helvetica;">Das ist OK, hat aber zwei Nachteile: </span></p><p></p><ol style="text-align: left;"><li><span style="font-family: helvetica;">Die Einstellung gilt nun für alle Abfragen im SSMS</span></li><li><span style="font-family: helvetica;">Es wird "nur" eine </span><span style="font-family: courier;">.RPT</span><span style="font-family: helvetica;"> - Datei erstellt</span></li></ol><p></p><p><span style="font-family: helvetica;">Ich würde aber gern nur diese eine Abfrage als Datei ausgeben...</span></p><p><span style="font-family: helvetica;"><br /></span></p><h2 style="text-align: left;"><b><span style="font-family: helvetica;">Lösung 2: SQLCMD</span></b></h2><p><span style="font-family: helvetica;">Der Befehl </span><span style="font-family: courier;"><b>SQLSCMD </b></span><span style="font-family: helvetica;">in eine Batch eingebunden könnte in etwa so aussehen:</span></p><p>
</p><div style="background: rgb(248, 248, 248); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: green; font-weight: bold;">SQLCMD</span> <span style="color: green; font-weight: bold;">-S</span> <span style="color: #ba2121;">"SERVER\INSTANZ"</span> <span style="color: green; font-weight: bold;">-U</span> <span style="color: green; font-weight: bold;">BENUTZER</span> <span style="color: green; font-weight: bold;">-P</span> <span style="color: green; font-weight: bold;">PASSWORT</span> <span style="color: green; font-weight: bold;">-d</span> <span style="color: green; font-weight: bold;">DATENBANK</span> <span style="color: green; font-weight: bold;">-i</span> <span style="color: #ba2121;">"C:\PFAD\ZUR\ABFRAGE\ABFRAGESKRIPT.sql"</span> <span style="color: green; font-weight: bold;">-o</span> <span style="color: #ba2121;">"C:\PFAD\ZUM\ERGEBNIS\ERGEBNIS.csv"</span> <span style="color: green; font-weight: bold;">-W</span> <span style="color: green; font-weight: bold;">-w</span> <span style="color: green; font-weight: bold;">1024</span> <span style="color: green; font-weight: bold;">-s</span><span style="color: #ba2121;">";"</span>
</pre></div>
<p></p><p><span style="font-family: helvetica;">Die Schalter -S -U -P und -d sind klar.</span></p><div style="text-align: left;"><span style="font-family: helvetica;"><b>-i </b>zeigt auf die Abfrage, und -o auf Ausgabe.<br /><b>-W</b> entfernt Leerzeichen in Spalten<br /><b>-w </b>verlängert die Ausgabe pro Zeile (die sonst nach 80 Zeichen endet) hier auf 1024 Zeichen.<br /><b>-s </b>definiert den Seperator zwischen den Spalten</span></div><div style="text-align: left;"><span style="font-family: helvetica;"><br /></span></div><div style="text-align: left;"><span style="font-family: helvetica;">Denkbar ist noch <b>-u</b>, um den Zeichensatz der Ausgabe zu beeinflussen.</span></div><p><span style="font-family: helvetica;">Das funktioniert gut. Allerdings wurden bei mir Ergebnisse aus Feldern mit dem Typ </span><span style="font-family: courier;">MONEY </span><span style="font-family: helvetica;">seltsamerweise mit sinnfreien Nullen aufgefüllt, was das Ergebnis unbrauchbar gemacht hat. Ich habe auch nichts gefunden, das erklärt, warum das so ist. Seltsam, seltsam...</span></p><p><span style="font-family: helvetica;">Es muss also eine andere Lösung her.</span></p><h2 style="text-align: left;"><b><span style="font-family: helvetica;">Lösung 3: PowerShell</span></b></h2><p><span style="font-family: helvetica;">Das Pendant zu SQLCMD im PowerShell ist </span><span style="font-family: courier;"><b>Invoke-Sqlcmd</b></span><span style="font-family: helvetica;">. Der Code der </span><span style="font-family: courier;">.PS1</span><span style="font-family: helvetica;">-Datei sieht dann folgendermaßen aus:</span></p><p></p><div style="background: rgb(248, 248, 248); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><pre style="line-height: 125%; margin: 0px;"><span style="color: #408080; font-style: italic;">#Mandant_Anpassung</span>
<span style="color: #19177c;">$SQLdb</span> = <span style="color: #ba2121;">"DATENBANK"</span>
<span style="color: #19177c;">$ExpFile</span> = <span style="color: #ba2121;">"C:\PFAD\ZUR\AUSGABE\Export.csv"</span>
<span style="color: #408080; font-style: italic;">#Kunden_Anpassung</span>
<span style="color: #19177c;">$SQLServer</span> = <span style="color: #ba2121;">"SERVER\INSTANZ"</span>
<span style="color: #19177c;">$uid</span> =<span style="color: #ba2121;">"BENUTZER"</span>
<span style="color: #19177c;">$pwd</span> = <span style="color: #ba2121;">"PASSWORT"</span>
<span style="color: #19177c;">$ImpFile</span> = <span style="color: #ba2121;">"C:\PFAD\ZUR\ABFRAGE\ABFRAGE.sql"</span>
<span style="color: #408080; font-style: italic;">#Befehl</span>
<span style="color: green;">Invoke-Sqlcmd</span> -ServerInstance <span style="color: #19177c;">$SQLServer</span> -Database <span style="color: #19177c;">$SQLdb</span> -UserName <span style="color: #19177c;">$uid</span> -Password <span style="color: #19177c;">$pwd</span> -Inputfile <span style="color: #19177c;">$ImpFile</span> | <span style="color: green;">Export-Csv</span> <span style="color: #19177c;">$ExpFile</span> -Delimiter <span style="color: #ba2121;">";"</span> -NoTypeInformation -Encoding UTF8
</pre></div>
<p></p><p><span style="font-family: helvetica;">Seltsamerweise ist die </span><span style="font-family: helvetica;">Standard</span><span><span style="font-family: helvetica;">-Ausgabe von </span><span style="font-family: courier;"><b>Invoke-Sqlcmd</b></span><span style="font-family: helvetica;"> zwar "hübsch", aber nicht weiterverarbeitbar, weil nicht im Tabellenformat. Dementsprechend sind vor allem folgende Schalter unablässig:</span></span></p><pre style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><span><b><span style="font-family: courier;">-Delimiter <span style="color: #ba2121;">";"</span></span><span style="font-family: helvetica;"> </span></b></span><span style="font-family: helvetica;"> - definiert den Seperator</span></pre><pre style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><span style="font-family: courier;"><b>-NoTypeInformation</b></span><span style="font-family: helvetica;"> - lässt sinnfreie Informationen der Ausgabe weg.</span></pre><pre style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><span style="font-family: courier;"><b>-Encoding UTF8 </b></span><span style="font-family: helvetica;">- sorgt dafür, dass der richtige Zeichensatz verwendet wird.</span></pre><pre style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><span style="font-family: helvetica;"><br /></span></pre><pre style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><span style="white-space: normal;"><span style="font-family: helvetica;">Nun erfolgt die Ausgabe mit korrekten und nicht nachformatierten Werten.</span></span></pre><pre style="line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><span style="font-family: inherit;"><br /></span></pre>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-11860275434273684052020-11-20T05:00:00.062+01:002021-03-16T11:54:40.159+01:00Remotedesktop-Anmeldungen regulieren und kontrollieren (2)<p>Wie können wir (ohne das aus meiner Sicht extrem unübersichtliche Ereignisprotokoll durchzuwuseln) rausbekommen, wer sich wann am Server angemeldet hat?</p><h2 style="text-align: left;">Benutzer protokollieren</h2><p>Ich benutze dafür ein Skript, was einen Zeitstempel und den Benutzernamen in eine Datei schreibt.</p><h3 style="text-align: left;">Das Skript</h3><div>Eigentlich sind es ja zwei, weil eins die Anmeldung und eins die Abmeldung protokolliert:</div><div><br /></div><div>Das Anmeldeskript sieht so aus:</div><div><pre style="background-color: white; color: #333333; line-height: 16.25px; margin-bottom: 0px; margin-top: 0px;"><br /></pre></div>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><table><tbody><tr><td><pre style="line-height: 125%; margin: 0px;">1
2
3
4</pre></td><td><pre style="line-height: 125%; margin: 0px;">@<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #008800; font-weight: bold;">off</span>
<span style="color: #008800; font-weight: bold;">echo</span> ------------------------ >> c:\Users\Public\Documents\Showlogin.txt
<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #996633;">%date%</span> <span style="color: #996633;">%time%</span> <span style="color: #996633;">%USERNAME%</span> >> c:\Users\Public\Documents\Showlogin.txt
exit
</pre></td></tr></tbody></table></div>
<br />
<div>Das Abmeldeskript ähnlich:</div><div><br /></div>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><table><tbody><tr><td><pre style="line-height: 125%; margin: 0px;">1
2
3</pre></td><td><pre style="line-height: 125%; margin: 0px;">@<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #008800; font-weight: bold;">off</span>
<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #996633;">%date%</span> <span style="color: #996633;">%time%</span> <span style="color: #996633;">%USERNAME%</span> abgemeldet >> c:\Users\Public\Documents\Showlogin.txt
exit
</pre></td></tr></tbody></table></div>
<br />
<div>Das Ganze wird, wie man oben sehen kann, dann in eine Textdatei SHOWLOGIN.TXT gespeichert:</div><div><br /></div>
<!--HTML generated using hilite.me--><div style="background: rgb(255, 255, 255); border-color: gray; border-image: initial; border-style: solid; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;"><table><tbody><tr><td><pre style="line-height: 125%; margin: 0px;">1
2
3
4
5
6
7
8
9</pre></td><td><pre style="line-height: 125%; margin: 0px;">------------------------
<span style="color: #6600ee; font-weight: bold;">30</span>.<span style="color: #6600ee; font-weight: bold;">11</span>.<span style="color: #6600ee; font-weight: bold;">2020</span> <span style="color: #6600ee; font-weight: bold;">07</span><span style="color: #997700; font-weight: bold;">:30:27</span>,<span style="color: #6600ee; font-weight: bold;">58</span> Benutzer
<span style="color: #6600ee; font-weight: bold;">30</span>.<span style="color: #6600ee; font-weight: bold;">11</span>.<span style="color: #6600ee; font-weight: bold;">2020</span> <span style="color: #6600ee; font-weight: bold;">15</span><span style="color: #997700; font-weight: bold;">:48:28</span>,<span style="color: #6600ee; font-weight: bold;">74</span> Benutzer abgemeldet
------------------------
<span style="color: #6600ee; font-weight: bold;">01</span>.<span style="color: #6600ee; font-weight: bold;">12</span>.<span style="color: #6600ee; font-weight: bold;">2020</span> <span style="color: #6600ee; font-weight: bold;">08</span><span style="color: #997700; font-weight: bold;">:45:29</span>,<span style="color: #6600ee; font-weight: bold;">96</span> Benutzer
<span style="color: #6600ee; font-weight: bold;">01</span>.<span style="color: #6600ee; font-weight: bold;">12</span>.<span style="color: #6600ee; font-weight: bold;">2020</span> <span style="color: #6600ee; font-weight: bold;">16</span><span style="color: #997700; font-weight: bold;">:23:30</span>,<span style="color: #6600ee; font-weight: bold;">90</span> Benutzer abgemeldet
------------------------
<span style="color: #6600ee; font-weight: bold;">02</span>.<span style="color: #6600ee; font-weight: bold;">12</span>.<span style="color: #6600ee; font-weight: bold;">2020</span> <span style="color: #6600ee; font-weight: bold;">07</span><span style="color: #997700; font-weight: bold;">:55:47</span>,<span style="color: #6600ee; font-weight: bold;">47</span> Benutzer
<span style="color: #6600ee; font-weight: bold;">02</span>.<span style="color: #6600ee; font-weight: bold;">12</span>.<span style="color: #6600ee; font-weight: bold;">2020</span> <span style="color: #6600ee; font-weight: bold;">17</span><span style="color: #997700; font-weight: bold;">:05:48</span>,<span style="color: #6600ee; font-weight: bold;">67</span> Benutzer abgemeldet
</pre></td></tr></tbody></table></div>
<br /><div>Nun muss das nur noch eingebunden werden.</div><div><br /></div><h3 style="text-align: left;">Die Automatisierung</h3><div><span face="Verdana, Geneva, sans-serif" style="background-color: white;">Die </span><span face="Verdana, Geneva, sans-serif" style="background-color: white;">Dateien </span><span face="Verdana, Geneva, sans-serif" style="background-color: white;">müssen nun noch an den richtigen Ort:</span></div><div><span face="Verdana, Geneva, sans-serif" style="background-color: white;"><br /></span></div><div><span style="color: #0b5394; font-family: courier;"><b><span face="Verdana, Geneva, sans-serif" style="background-color: white;">LogOn.BAT - </span><span style="background-color: white;">%WINDIR%</span><span style="background-color: white;">\System32\GroupPolicy\User\Scripts\Logon\</span></b></span></div><div><span face="Verdana, Geneva, sans-serif" style="background-color: white; color: #0b5394; font-family: courier;"><b>LogOff.BAT - %WINDIR%\System32\GroupPolicy\User\Scripts\Logoff\</b></span></div><div><span face="Verdana, Geneva, sans-serif" style="background-color: white;"><br /></span></div><div><span face="Verdana, Geneva, sans-serif" style="background-color: white;">Dann konfigurieren wir das noch in </span><span face="Verdana, Geneva, sans-serif" style="background-color: white;">der </span><span style="background-color: white;">Benutzerkonfiguration (weil wir es ja für die Benutzer </span><span style="background-color: white;">einrichten wollen) in </span><span face="Verdana, Geneva, sans-serif" style="background-color: white;">den Gruppenrichtlinien: </span></div><div><span face="Verdana, Geneva, sans-serif" style="background-color: white;"><br /></span></div><div><b style="font-size: 13.2px;"><span style="color: #0b5394; font-family: courier;">Benutzerkonfiguration, Windows-Einstellungen, Skripts (Anmelden/Abmelden), Anmelden </span></b></div><div><span style="background-color: white;">und </span></div><div><span style="background-color: white; font-size: 13.2px;"><span face="Verdana, Geneva, sans-serif"><div style="font-size: medium;"><b style="font-size: 13.2px;"><span style="color: #0b5394; font-family: courier;">Benutzerkonfiguration, Windows-Einstellungen, Skripts (Anmelden/Abmelden), Abmelden </span></b></div><div><b style="font-size: 13.2px;"><span style="color: #0b5394; font-family: courier;"><br /></span></b></div></span></span></div><div><span style="background-color: white; font-size: 13.2px;"><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggVFe6VeTACwiXqkIhkCRVgAg78QxU-zaO6ThL1TQbTsTDCp7nEhjfo1WsBEnAvvMt-cu27NSLE3uuIZoTj_OnbZB8YbzMj8EWoglkzMcNH-O0FSMWzm7neHs8_8-5JYWOU_lr81W4fBVD/s811/GPO_Skript.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="374" data-original-width="811" height="185" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggVFe6VeTACwiXqkIhkCRVgAg78QxU-zaO6ThL1TQbTsTDCp7nEhjfo1WsBEnAvvMt-cu27NSLE3uuIZoTj_OnbZB8YbzMj8EWoglkzMcNH-O0FSMWzm7neHs8_8-5JYWOU_lr81W4fBVD/w400-h185/GPO_Skript.png" width="400" /></a></div><br /><span face="Verdana, Geneva, sans-serif"><br /></span></span></div><div><span style="background-color: white;"><span face="Verdana, Geneva, sans-serif">Nun wird bei jedem An- und Abmelden der Benutzer, das Datum und die Zeit die o.g. Datei geschrieben. </span></span></div>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-50386939334812503272020-11-13T05:00:00.006+01:002020-11-13T11:20:52.801+01:00Remotedesktop-Anmeldungen regulieren und kontrollieren (1)<p>Betreibt man einen von der Ferne erreichbaren Windows-Server, könnte es interessant sein, zu wissen, wer sich wann genau anmeldet. Zudem möchte man auch verhindern, dass Benutzer das System durch Leerlaufsitzungen unnütz belasten.</p><p>Für beide Anforderungen haben wir die Gruppenrichtlinien.</p><h2 style="text-align: left;">Fangen wir mit den Sitzungszeitlimits an.</h2><p>Diese konfigurieren wir entweder in den Computerkonfiguration oder der Benutzerkonfiguration:</p><p><span style="color: #0b5394; font-family: courier;"><b>Benutzerkonfiguration, Administrative Vorlagen, Windows-Komponenten, Remotedesktopdienste, Remotedesktopsitzungs-Host, Sitzungszeitlimits</b></span></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr7B6uvzKMhqPn98odqWIHrb9EFCxQH-zvIwsbuOGCBZdfwPKH-V3tGTIsIjdso3jVBY41MiFQDW_ow-bdrUXThm0RwVIbL2m4J6f6yit75r7M_6j3b4WvV8TxWze0d2nrT02yPkHqk-Pc/s1054/GPO_Timelimit.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="991" data-original-width="1054" height="376" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjr7B6uvzKMhqPn98odqWIHrb9EFCxQH-zvIwsbuOGCBZdfwPKH-V3tGTIsIjdso3jVBY41MiFQDW_ow-bdrUXThm0RwVIbL2m4J6f6yit75r7M_6j3b4WvV8TxWze0d2nrT02yPkHqk-Pc/w400-h376/GPO_Timelimit.png" width="400" /></a></div><br /><p>Für mich sind besonders die Zeitlimits für getrennte Sitzungen als auch für aktive, aber im Leerlauf befindliche Sitzungen relevant. </p><p>Trägt man hier ein Limit ein, wird der Benutzer erst getrennt und später die Sitzung abgemeldet.</p>carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-3263602121730707152020-07-18T05:00:00.000+02:002020-07-18T05:00:15.433+02:00Iconcache leeren<span style="font-family: "verdana" , sans-serif;">Dass Windows mit Caches arbeitet ist zuweilen hilfreich, bei Icons nervt es mich eher.</span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
<span style="font-family: "verdana" , sans-serif;">Allerdings lässt sich das via Eingabeaufforderung recht leicht beheben:</span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.4em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">echo</span> j|del <span style="color: #996633;">%userprofile%</span>\AppData\Local\Microsoft\Windows\Explorer\Iconcache*.*
</pre>
</div>
<br />
<span style="font-family: "verdana" , sans-serif;">Ihr könnt statt %USERPROFILE% natürlich auch Euren den Namen des benannten Profiles eintragen, aber mit Umgebungsvariablen ist es irgendwie universeller.</span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
<span style="font-family: "verdana" , sans-serif;">Tja, und schon sind wir bei den Umgebungsvariablen. Es kann nicht schaden, hin und wieder mal zu kontrollieren, welche bei Euch gesetzt sind. Das wieder erledigt ihr mit dem Befehl</span><br />
<span style="font-family: "verdana" , sans-serif;"><br /></span>
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.4em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">set</span>
</pre>
</div>
<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-44268877673909773392019-06-21T05:00:00.000+02:002019-06-21T05:00:00.644+02:00Bunt und eckigEs gibt zwar zahlreiche Tools, das Windows 10 - Startmenü so aussehen zu lassen, wie das, was man seit 1995 kennt - ich halte aber wenig von dieser 25 Jahre alten Benutzerführung. Ich mag die Kacheln. Warum aber manche Kacheln bunt sind (z.B. Firefox, Office), und andere wieder nicht, stört mich. Eigentlich stört es mich, dass ich es nicht beeinflussen kann.<br />
<br />
Kann ich aber:<br />
<br />
Mit <a href="https://www.thewindowsclub.com/windows-tile-color-changer-download" target="_blank">Windows Tile Color Changer</a> kann ich den Hintergrund jeder Kachel färben:<br />
<br />
Nehmen wir das Beispiel <b>Skype</b>:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmO4PKoIzZy6oEX8vzHU-XJMB_LXVRszQfkmFNuFdJldSHNocFKH2NrlvfETaeFk0zwKF57wSuuDD26QAZ_J2jAatAk2I01SgMJFS8QVgvF-opwJBhU34OtTA8dCoKf14pZ6wi14FgqXZd/s1600/wtcc_skype1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="736" data-original-width="1297" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmO4PKoIzZy6oEX8vzHU-XJMB_LXVRszQfkmFNuFdJldSHNocFKH2NrlvfETaeFk0zwKF57wSuuDD26QAZ_J2jAatAk2I01SgMJFS8QVgvF-opwJBhU34OtTA8dCoKf14pZ6wi14FgqXZd/s400/wtcc_skype1.png" width="400" /></a></div>
<br />
<br />
So gehts:<br />
<br />
WTCC unter <a href="https://www.thewindowsclub.com/windows-tile-color-changer-download" target="_blank">https://www.thewindowsclub.com/windows-tile-color-changer-download</a> herunterladen, Programm öffnen, Application im Drop Down auswählen, Farbe auswählen oder Hex-Code eintragen und auf "Change Color" klicken.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgep2YjHavh0CSU51x7pbZlvvkwhDBx3AIKB2pI8thB9rS4uJHpwMF2qdLfx7bhPOEGba75JXbhaQlh-0eiKstnXajZIAxdXFIxXOQlaiYs_O5jwGIthIJu2B-fceuG9FHyjbkMjP0EClZE/s1600/wtcc_skype2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="400" data-original-width="600" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgep2YjHavh0CSU51x7pbZlvvkwhDBx3AIKB2pI8thB9rS4uJHpwMF2qdLfx7bhPOEGba75JXbhaQlh-0eiKstnXajZIAxdXFIxXOQlaiYs_O5jwGIthIJu2B-fceuG9FHyjbkMjP0EClZE/s400/wtcc_skype2.png" width="400" /></a></div>
<br />
Nun ist die gewählte Kachel farbig:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5zxJjkFx8RLxBHJk8UISpnhnECi6PG1r1FbgS4qEDDnqRfZXZVlY3Ua0UBPKG8nJ-xvvdguFVjTxvzODsvMf0FHJ-Hh12k1nR5v9GS5ikII9BMjXRF_nNHvVv0K4TDqrMjFzz0d7mhhtu/s1600/wtcc_skype3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="735" data-original-width="1298" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5zxJjkFx8RLxBHJk8UISpnhnECi6PG1r1FbgS4qEDDnqRfZXZVlY3Ua0UBPKG8nJ-xvvdguFVjTxvzODsvMf0FHJ-Hh12k1nR5v9GS5ikII9BMjXRF_nNHvVv0K4TDqrMjFzz0d7mhhtu/s400/wtcc_skype3.png" width="400" /></a></div>
<br />
<br />
Wem die in dieser App angezeigten Farben nicht reichen, kann den Color-Hex auch gern über <a href="https://html-color-codes.info/" target="_blank">https://html-color-codes.info</a> ermitteln und dann manuell eintragen.<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-81951810420294273442019-05-10T05:00:00.000+02:002019-05-10T05:00:08.675+02:00Renn weg - Renne nichtWer fällt auf sowas rein?<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYdjG-0cllLeO1AFkxToU64a-7ZZsGWCw99Yxg4q4vaHvgjxNkvoYPzF8XrvoeIYlegalkx0U8M0U1TDLTUFKeKun0H_2ElE69x6f6yw1aakKJugLkv-Qm9wZMgkQlEd9WKgDeXINj-iUM/s1600/Webfake1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="739" data-original-width="1600" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYdjG-0cllLeO1AFkxToU64a-7ZZsGWCw99Yxg4q4vaHvgjxNkvoYPzF8XrvoeIYlegalkx0U8M0U1TDLTUFKeKun0H_2ElE69x6f6yw1aakKJugLkv-Qm9wZMgkQlEd9WKgDeXINj-iUM/s400/Webfake1.png" width="400" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib7U813r6lMZO9OBX6JN36Nui6qD_e-g99TBIFSIo1n2dZd8kJKEOdRbPo5JcWw8e702fFCHHip5P4p-8YUFbAaL48s4pQ9aQlEJN29BKEMIYA9tQvHFpCbqN8rTsEo-d3ijyhkHZWwUMr/s1600/Webfake2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="739" data-original-width="1600" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEib7U813r6lMZO9OBX6JN36Nui6qD_e-g99TBIFSIo1n2dZd8kJKEOdRbPo5JcWw8e702fFCHHip5P4p-8YUFbAaL48s4pQ9aQlEJN29BKEMIYA9tQvHFpCbqN8rTsEo-d3ijyhkHZWwUMr/s400/Webfake2.png" width="400" /></a></div>
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-70718019331265669492019-04-26T05:00:00.000+02:002019-04-26T05:00:06.029+02:00Windows-Shortcuts<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTL83e6MO8ggD1xgzS-yDFylhJ3nl57vKt4fbrXcPlK1W4ohoEJfkqXD_dfyzpMNRDtug94dyO9imNX5wbERndOGfYfgiFoUd-NC_613pyvxdc8anLWuUaD8yyiUi1bI8K7l5UzbSbnb5q/s1600/keyboard-886462_1920.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTL83e6MO8ggD1xgzS-yDFylhJ3nl57vKt4fbrXcPlK1W4ohoEJfkqXD_dfyzpMNRDtug94dyO9imNX5wbERndOGfYfgiFoUd-NC_613pyvxdc8anLWuUaD8yyiUi1bI8K7l5UzbSbnb5q/s400/keyboard-886462_1920.jpg" width="400" /></a></div>
<br />
Ich arbeite seit fast 30 Jahren mit Windows und dennoch gibt es immer wieder etwas Neues, was ich über das Betriebssystem lernen kann - z.B. aus diesem Artikel:<br />
<br />
<div style="text-align: center;">
<a href="https://www.n-tv.de/technik/Die-zehn-besten-Tastenkuerzel-fuer-Windows-10-article20968852.html" rel="nofollow" target="_blank"><b><span style="font-size: large;">Die zehn besten Tastenkürzel für Windows 10</span></b></a></div>
<br />
Was ich noch nicht kannte:<br />
<br />
<b>Windows-Logo + Links (Rechts, Oben, Unten)</b><br />
Verkleinert, vergrößert Fenster oder ordnet sie an<br />
<br />
<b>Windows-Logo + D</b><br />
Verkleinert sofort alles<br />
<br />
<b>Windows-Logo + V</b><br />
Bei aktivierter Option ist das ein Zwischenablage-Verlauf<br />
<br />
<b>Windows-Logo + STRG + D</b><br />
Erzeugt einen neuen leeren virtuellen Desktop<br />
<br />
<b>Windows-Logo + Punkt</b><br />
öffnet ein Emoji-Fenster 😃<br />
<br />
Den Rest nutze ich bereits.<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-70132909416831855082019-04-12T05:00:00.000+02:002020-07-14T08:21:53.463+02:00Wann läuft mein Passwort ab?Unsere IT besteht darauf, dass wir regelmäßig unser Kennwort ändern. Wie ich dazu stehe, habe ich ja in diesem Post <a href="http://memoablage.blogspot.com/2016/05/wider-den-zwang-zur-passwort-anderung.html" target="_blank"><b>Wider den Zwang zur Passwort-Änderung</b></a> hinreichend beschrieben. Aber es ist halt so - da kann ich zetern, wie ich möchte - ich kann es nur für mich managen.<br />
<br />
Nun ist es für mich sehr viel besser, wenn ich mich nicht unterwegs davon überraschen lasse, dass mein Kennwort abgelaufen ist; E-Mails funktionieren nicht mehr, Termine und Aufgaben werden nicht mehr verlässlich synchronisiert und es wird zu einem mittlerem Chaos führen, wenn ich mich im Büro wieder in die Domäne anmelden möchte.<br />
<br />
Also wäre es super, wenn ich wüsste, wann mein Kennwort ausläuft. Und das geht mit folgendem Befehl in der Eingabeaufforderung:<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace; font-size: large;"><b>net user Benutzername /domain</b></span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTmX-N2E-pKSwSXF_QHP3TtEJ5ANZkofpeh5siZP1J83c8gt18iH4dldcrCJl9vPbSnT-TuQOV5kf6iNQ9pFTXWORkP1yQ2vCBrPteuncLJLUoCMZ9oCvwQ5cbiKCbgtPJgdt3VnKwb7Dk/s1600/Benutzer.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="760" data-original-width="979" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTmX-N2E-pKSwSXF_QHP3TtEJ5ANZkofpeh5siZP1J83c8gt18iH4dldcrCJl9vPbSnT-TuQOV5kf6iNQ9pFTXWORkP1yQ2vCBrPteuncLJLUoCMZ9oCvwQ5cbiKCbgtPJgdt3VnKwb7Dk/s400/Benutzer.jpg" width="400" /></a></div>
<br />
<span style="color: white;">·</span><br />
<br />
<b>Schon wieder Eingabeaufforderung? Hat Microsoft nicht so 'ne wunderschöne PowerShell?</b><br />
<br />
Ja, wenn ihr das mit der Powershell realisieren wollt, gib es hier einen Ansatz:<br />
<a href="https://www.windowspro.de/script/ablaufdatum-ad-passwoertern-powershell-auslesen" target="_blank">Ablaufdatum von AD-Passwörtern in PowerShell auslesen</a>.<br />
<br />
Für mich ist "net user" perfekt - deshalb lasse ich auch hier die PowerShell links liegen.<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-39162068811238413182019-03-29T05:00:00.000+01:002019-03-29T05:00:04.980+01:00Ping mit Beep via Batch<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJOOhmGKtEC815CT2z3XIhCAHwc19GeOc54UpfaykP_SwDp3T4yH0lYtB5tHETmHMRivKc5yeL2XSrYmbYik9d9F4wwZqnH6NTjNWQh9QkmGZKNSVALsGUg6mn5yE57bjcOvFYpjmDpBLw/s1600/PingPong_Beep.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="420" data-original-width="577" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJOOhmGKtEC815CT2z3XIhCAHwc19GeOc54UpfaykP_SwDp3T4yH0lYtB5tHETmHMRivKc5yeL2XSrYmbYik9d9F4wwZqnH6NTjNWQh9QkmGZKNSVALsGUg6mn5yE57bjcOvFYpjmDpBLw/s1600/PingPong_Beep.png" /></a></div>
<div style="text-align: center;">
<br /></div>
Batch ist tot? Bei mir nicht. Ich mache viel damit:<br />
<br />
<ul>
<li>Laufwerke in Abhängigkeit des Standortes verbinden</li>
<li>Funktionen je nach Verfügbarkeit bereitstellen</li>
</ul>
<br />
oder eben<br />
<br />
<ul>
<li>warnen, wenn die VPN ausfällt</li>
</ul>
<br />
<br />
Bei uns ist das so, dass die Standorte via VPN gegenseitig verfügbar sein sollen und uns die Jungs von der "IT" einen Router hingestellt haben, der das zwar tut, aber alle Nase lang neu gestartet werden muss. Mich nervt das, weil mich der Internetausfall durch den Routerneustart regelmäßig unvorbereitet trifft.<br />
<br />
Wie schön wäre es doch, wenn ich mich selbst wenigstens vorwarnen könne?<br />
<br />
Kann ich - mach ich - mit Batch.<br />
<br />
<h2>
Beep mit Batch</h2>
Schwierigkeit 1 ist, dass es eine BEEP.EXE o.ä. nicht mehr gibt. Die könnte man zwar aus WinXP extrahieren, aber wer will das schon. Also mit Boardmitteln:<br />
<br />
Leider muss man hier ein wenig tricksen, weil wir ein nichtdruckbares Zeichen benutzen wollen, welches wir nicht so ohne weiteres eingeben können. Aber so geht's:<br />
<br />
cmd öffnen, dann nacheinander folgende Befehle eingeben und jeweils mit der ENTER-Taste abschließen:<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<table><tbody>
<tr><td><pre style="line-height: 125%; margin: 0;">1
2
3</pre>
</td><td><pre style="line-height: 125%; margin: 0;">copy con beep.bat
<span style="color: #008800; font-weight: bold;">echo</span> ^G
^Z
</pre>
</td></tr>
</tbody></table>
</div>
<br />
<div style="text-align: right;">
<span style="font-size: x-small;">(Das ^G erhaltet ihr, indem ihr die Tasten [Strg + G] drückt.)</span></div>
<br />
Jetzt haben wir schon mal eine BEEP.BAT, die Windows dazu veranlasst, dass ein Standardton ausgegeben wird.<br />
<br />
<h2>
Schön und funktional</h2>
Der Eintrag in der BEEP.BAT sieht richtigerweise so aus:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDpwZwFlgdCE_3jxV4EAJm96KDgGY3Xn-5jCk5N9rSaR1LFcc7TSNUg-pAOQY1DgzwM9YlwWSJuw2ZVU6zWowqJ-rMkvZ_2ahmZo368LaKzNvdnMmklM67NQ9xBAc2KkKOWxmaPRvJlHUh/s1600/beep.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="20" data-original-width="155" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDpwZwFlgdCE_3jxV4EAJm96KDgGY3Xn-5jCk5N9rSaR1LFcc7TSNUg-pAOQY1DgzwM9YlwWSJuw2ZVU6zWowqJ-rMkvZ_2ahmZo368LaKzNvdnMmklM67NQ9xBAc2KkKOWxmaPRvJlHUh/s1600/beep.png" /></a></div>
<div style="text-align: center;">
<br /></div>
<br />
Den Eintrag kopieren wir in eine funktionale BATCH:<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #997700; font-weight: bold;">:Start</span>
@<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #008800; font-weight: bold;">off</span>
<span style="color: #888888;">rem Ping-Test mit Warnton auf Verfuegbarkeit der VPN </span>
<span style="color: #008800; font-weight: bold;">set</span> <span style="color: #996633;">ipziel</span><span style="color: #333333;">=</span><span style="color: #6600ee; font-weight: bold;">192</span>.<span style="color: #6600ee; font-weight: bold;">168</span>.<span style="color: #6600ee; font-weight: bold;">168</span>.<span style="color: #6600ee; font-weight: bold;">168</span>
<span style="color: #008800; font-weight: bold;">set</span> <span style="color: #996633;">Minute</span><span style="color: #333333;">=</span><span style="color: #996633;">%time:~4</span>,<span style="color: #6600ee; font-weight: bold;">1</span>%
<span style="color: #008800; font-weight: bold;">
</span></pre>
<pre style="line-height: 125%; margin: 0;">cls
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> ---------------------------------------
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> Es ist:
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> <span style="color: #996633;">%time:~0</span>,<span style="color: #6600ee; font-weight: bold;">8</span>%
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> ---------------------------------------
ping -n <span style="color: #6600ee; font-weight: bold;">1</span> localhost > NUL
<span style="color: #997700; font-weight: bold;">:Ping</span>
ping <span style="color: #996633;">%ipziel%</span> -n <span style="color: #6600ee; font-weight: bold;">2</span> -w <span style="color: #6600ee; font-weight: bold;">1000</span> -l <span style="color: #6600ee; font-weight: bold;">128</span>|findstr <span style="background-color: #fff0f0;">"berschreitung"</span>
<span style="color: #008800; font-weight: bold;">if</span> <span style="color: #996633;">%errorlevel%</span><span style="color: #333333;">==</span><span style="color: #6600ee; font-weight: bold;">0</span> <span style="color: #008800; font-weight: bold;">goto</span> <span style="color: #997700; font-weight: bold;">Fehler</span>
<span style="color: #008800; font-weight: bold;">if</span> <span style="color: #996633;">%Minute%</span> <span style="color: #333333;">==</span> <span style="color: #6600ee; font-weight: bold;">0</span> <span style="color: #008800; font-weight: bold;">goto</span> <span style="color: #997700; font-weight: bold;">Bild</span>
<span style="color: #008800; font-weight: bold;">goto</span> <span style="color: #997700; font-weight: bold;">Start</span>
<span style="color: #997700; font-weight: bold;">:Fehler</span>
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span>.
<span style="color: #008800; font-weight: bold;">echo</span> !!!! Achtung: die VPN ist offline !!!!
<span style="color: #008800; font-weight: bold;">echo</span>
timeout <span style="color: #6600ee; font-weight: bold;">2</span> >> NUL
<span style="color: #008800; font-weight: bold;">echo</span> Die IP: <span style="color: #996633;">%ipziel%</span> ist nicht erreichbar!
<span style="color: #008800; font-weight: bold;">echo</span>
timeout <span style="color: #6600ee; font-weight: bold;">2</span> >> NUL
<span style="color: #008800; font-weight: bold;">echo</span>
timeout <span style="color: #6600ee; font-weight: bold;">20</span> >> NUL
<span style="color: #008800; font-weight: bold;">goto</span> <span style="color: #997700; font-weight: bold;">Start</span>
<span style="color: #997700; font-weight: bold;">:Bild</span>
<span style="color: #008800;"><b>for</b></span> /L <span style="color: #996633;">%%A</span> IN (<span style="color: #6600ee; font-weight: bold;">1</span>,<span style="color: #6600ee; font-weight: bold;">1</span>,<span style="color: #6600ee; font-weight: bold;">14</span>) <span style="color: #008800; font-weight: bold;">DO</span> <span style="color: #008800; font-weight: bold;">call</span> PingPong_PIC.bat
<span style="color: #008800; font-weight: bold;">cls</span>
<span style="color: #008800; font-weight: bold;">goto</span> <span style="color: #997700; font-weight: bold;">Start</span>
<span style="color: #997700; font-weight: bold;">:Ende</span>
</pre>
</div>
<br />
Zur Erläuterung:<br />
<br />
<b>set ipziel=192.168.200.158</b><br />
hier wird eine Variable mit der Ziel-IP deklariert<br />
<br />
<b>set Minute=%time:~4,1%</b><br />
<div>
hier wird eine Variable deklariert, die die 5. Stelle (es beginnt mit "0") der Uhrzeit auswirft. Das benutzen wir später, um die Anzeige etwas aufzulockern</div>
<div>
<br /></div>
<b>echo %time:~0,8%</b><br />
wirft die aktuelle Uhrzeit aus, aber nur von der 0. Stelle und davon 8 Zeichen<br />
<br />
<b>ping -n 1 localhost > NUL</b><br />
<div>
ist nur davor da, dass die Anzeige einen Augenblick sichtbar ist</div>
<div>
<br /></div>
<div>
<div>
<b>ping %ipziel% -n 2 -w 1000 -l 128|findstr "berschreitung"</b></div>
</div>
<div>
das ist der eigentliche PING-Befehl: zwei Pakete mit 1 KB, einer Antwortdauer von 128 ms</div>
<div>
hinter dem Pipe wird der Output auf die Zeichenfolge "berschreitung" geprüft. Das nutzen wir, um einen Errorlevel zu bekommen (0 = erfolgreich), und dadurch den Fehler des Pings von dessen Erfolg unterscheiden zu können.</div>
<div>
<br /></div>
<div>
<div>
<b>if %errorlevel%==0 goto Fehler</b></div>
<div>
wenn also in der Rückgabe des Pings die Zeichenkette "berschreitung" gefunden wird, ist der Errorlevel erfolgreich und das Programm springt zur Sprungmarke ":Fehler"</div>
<div>
<br /></div>
<div>
<b>if %Minute% == 0 goto Bild</b></div>
</div>
<div>
wenn Errorlevel nicht 0 (also 1) ist, dann ist alles in Ordnung. Hier prüfen wir ab, ob die Minute eine Zehner-Minute ist (1<b>0</b> oder 2<b>0</b> oder 3<b>0</b> oder ...). Wenn ja, dann springe zur Sprungmarke ":Bild".</div>
<div>
<br /></div>
<div>
<div>
<b>echo <span style="background-color: black; color: white;">BEL</span></b></div>
<div>
<b>timeout 2 >> NUL</b></div>
</div>
<div>
in der Sektion ":Fehler" wird nun das o.a. BEEP ausgegeben. Damit es auch hörbar ist, ergänzen wir es um einen timeout-Befehl.</div>
<div>
<br /></div>
<div>
Übrigens nutze ich für die Anzeige von Quellcode <a href="http://hilite.me/">http://hilite.me/</a>. Leider kann <a href="http://hilite.me/">hilite.me</a> mit nichtdruckbaren Zeichen nicht umgehen und zeigt nur ein " " an...</div>
<div>
<br /></div>
<div>
<b>for /L %%A IN (1,1,14) DO call PingPong_PIC.bat</b></div>
<div>
in der Sektion ":Bild" rufen wir eine PINGPONG_PIC.BAT auf, die wiederum nichts anderes tut, als ein ASCII-Art anzuzeigen. Bei mit sind das eine Abfolge von Bildern, die insgesamt eine ASCII-Animation ergeben. Das beschäftigt den Prozessor witzigerweise enorm, sodass ich ihm diesen Auslauf nur aller 10 Minuten gönne (siehe die Bedingung mit der Variable <b><span style="color: #666666;">%Minute%</span></b>).</div>
<br />
<b>goto Start</b><br />
Tja und die verteilten Sprungmarken zurück verhelfen uns, dass wir immer wieder von vorn beginnen können.<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-85276670578592337972019-03-15T05:00:00.000+01:002019-03-15T05:00:00.261+01:00SCRCPY - Android fernsteuern Bezugnehmend auf diesen Post: <a href="https://memoablage.blogspot.com/2016/04/sidesyncmal-wieder-eines-etwas-mehr.html" target="_blank">SideSync...mal wieder eines etwas mehr gelungen</a> möchte ich meinen derzeit technisch irrgeleiteten Mitautor folgendes Tool für den Fall des Wiedereintritts auf die gute Seite der Macht in Aussicht stellen:<br />
<br />
<div style="text-align: center;">
<span style="font-family: "courier new" , "courier" , monospace; font-size: large;"><b>SCRCPY</b></span></div>
<br />
Das Programm benutzt adb und benötigt deshalb ein per Kabel angeschlossenes Smartphone und aktiviertes USB-Debugging. Um USB-Debugging zu aktivieren müsst ihr erst die Entwickleroptionen durch fünfmaliges Tippen auf die Buildnummer aktivieren:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD81v2YBA-eQSug_f4uofbyGx7IhNH_h96M4qeaPyW1gJKjvbauTpl_mg6btO1RQWIE8PP24-sokzvD1qCvv3dm-28JqG0o45hMaJqS2GLWumTvpDEWwF-lr0d2GE-FXqgkmouTNPejylR/s1600/2019-03-12+19_40_43-Window.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="588" data-original-width="346" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhD81v2YBA-eQSug_f4uofbyGx7IhNH_h96M4qeaPyW1gJKjvbauTpl_mg6btO1RQWIE8PP24-sokzvD1qCvv3dm-28JqG0o45hMaJqS2GLWumTvpDEWwF-lr0d2GE-FXqgkmouTNPejylR/s320/2019-03-12+19_40_43-Window.png" width="188" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Dann könnt ihr dort USB-Debugging aktivieren:</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg3rHE-wjFsh-k86wfsClqQBGhTnzQYIn-CRzPU3i7t6XOLQFSoB1Aau5IyhrBq4H2v5IkNCZrXQCE4usXjvfmZmPancR6WfCEVjR2Dkj4DXIvyzRQFJi-PshA7_TGhZaztyy46w1BTpUI/s1600/2019-03-12+19_41_23-Window.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="558" data-original-width="355" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg3rHE-wjFsh-k86wfsClqQBGhTnzQYIn-CRzPU3i7t6XOLQFSoB1Aau5IyhrBq4H2v5IkNCZrXQCE4usXjvfmZmPancR6WfCEVjR2Dkj4DXIvyzRQFJi-PshA7_TGhZaztyy46w1BTpUI/s320/2019-03-12+19_41_23-Window.png" width="203" /></a></div>
<br />
<br />
Dann könnt ihr das Phone am PC benutzen:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifNQSs3q69vla2HzsHUNYs_iHpJrE4H_gZIvrzEOii_nsh5265hhyphenhyphenTw7tAYk6OTj0KprytZOVj7kJqXeKEcm2w0Ld_WDJca5xabs2HDVEMTu8INmi7pD2f2HAHYYnALcJNelpNNdsTx044/s1600/2019-03-12+19_46_29-Window.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="663" data-original-width="356" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifNQSs3q69vla2HzsHUNYs_iHpJrE4H_gZIvrzEOii_nsh5265hhyphenhyphenTw7tAYk6OTj0KprytZOVj7kJqXeKEcm2w0Ld_WDJca5xabs2HDVEMTu8INmi7pD2f2HAHYYnALcJNelpNNdsTx044/s400/2019-03-12+19_46_29-Window.png" width="213" /></a></div>
<br />
SCRCPY könnt ihr bei <b><a href="https://github.com/Genymobile/scrcpy/blob/master/README.md" target="_blank">GitHub</a> </b>herunterladen, entpacken, dann Phone anstöpseln und die <span style="font-family: "courier new" , "courier" , monospace;"><b>scrcpy.exe</b></span> starten.<br />
<br />
Das ganze geht auch drahtlos. Mehr dazu in der <a href="https://github.com/Genymobile/scrcpy/blob/master/README.md#wireless" target="_blank"><span style="font-family: Courier New, Courier, monospace;"><b>README</b></span></a>.<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-68513650624093854542019-03-01T05:00:00.000+01:002019-03-12T20:15:47.184+01:00SQL-Server entrümpeln<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMUugaO4BD59YKhuO9k-SzY-_5ZiXH_3r_h8oPnbPl5MLCgNdu2aKBR-4fg2Necvc637cSNw_om9r2YTtCRUbxVmyHKyU7zjUB4yw2rTMNQ3nzhqy11oClcmXBmSYVl7Ogi9llEkswEN1t/s1600/data_copy.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="256" data-original-width="256" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMUugaO4BD59YKhuO9k-SzY-_5ZiXH_3r_h8oPnbPl5MLCgNdu2aKBR-4fg2Necvc637cSNw_om9r2YTtCRUbxVmyHKyU7zjUB4yw2rTMNQ3nzhqy11oClcmXBmSYVl7Ogi9llEkswEN1t/s1600/data_copy.png" /></a></div>
<div style="text-align: center;">
<br /></div>
<br />
Unser Testsystem ist vollgelaufen, weil jeder da was ablegt, sich aber dann nicht mehr darum kümmert, ob das auch weg kann.<br />
<br />
Nun gibt es zwei Szenarien, nachdem man suchen könnte:<br />
<br />
<h2>
Szenario 1: Löschen, was weg muss</h2>
Alles was nach einem Ablaufdatum noch da ist, muss weg. Das heißt, ich brauche das Datum, wann die Datenbank erstellt wurde (hier: <b>crDate</b>) und wann der letzte Zugriff darauf erfolgte (hier <b>chDate</b>).<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #0000aa;">select</span> d.Name, dbID, crDate, chDate =
(<span style="color: #0000aa;">select</span> lastdate = <span style="color: #00aa00;">max</span>(bb.xx)
<span style="color: #0000aa;">from</span> (
<span style="color: #0000aa;">select</span> xx = <span style="color: #00aa00;">max</span>(last_user_seek)
<span style="color: #0000aa;">where</span> <span style="color: #00aa00;">max</span>(last_user_seek) <span style="color: #0000aa;">is</span> <span style="color: #0000aa;">not</span> <span style="color: #aa0000;">null</span>
<span style="color: #0000aa;">union</span> <span style="color: #0000aa;">all</span>
<span style="color: #0000aa;">select</span> xx = <span style="color: #00aa00;">max</span>(last_user_scan)
<span style="color: #0000aa;">where</span> <span style="color: #00aa00;">max</span>(last_user_scan) <span style="color: #0000aa;">is</span> <span style="color: #0000aa;">not</span> <span style="color: #aa0000;">null</span>
<span style="color: #0000aa;">union</span> <span style="color: #0000aa;">all</span>
<span style="color: #0000aa;">select</span> xx = <span style="color: #00aa00;">max</span>(last_user_lookup)
<span style="color: #0000aa;">where</span> <span style="color: #00aa00;">max</span>(last_user_lookup) <span style="color: #0000aa;">is</span> <span style="color: #0000aa;">not</span> <span style="color: #aa0000;">null</span>
<span style="color: #0000aa;">union</span> <span style="color: #0000aa;">all</span>
<span style="color: #0000aa;">select</span> xx = <span style="color: #00aa00;">max</span>(last_user_update)
<span style="color: #0000aa;">where</span> <span style="color: #00aa00;">max</span>(last_user_update) <span style="color: #0000aa;">is</span> <span style="color: #0000aa;">not</span> <span style="color: #aa0000;">null</span>) bb)
, filename <span style="color: #0000aa;">as</span> Pfad
<span style="color: #0000aa;">FROM</span> master.dbo.sysdatabases d
<span style="color: #0000aa;">left</span> <span style="color: #0000aa;">outer</span> <span style="color: #0000aa;">join</span>
sys.dm_db_index_usage_stats s
<span style="color: #0000aa;">on</span> d.dbid= s.database_id
<span style="color: #0000aa;">group</span> <span style="color: #0000aa;">by</span> d.name, dbid, crdate, filename
</pre>
</div>
<br />
<b>Aber Achtung</b>; das Datum wird bei Neustart des Rechners auf NULL gesetzt.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvZbaJr5Asp-7rY3Eljy020yKBpBOzg73MW-7awVy0dfw7RoVIpN6Ny6_Ity7eRrIj7qnp955Np6Tze2W7YCqa-4AZS9zghw3y3w5n_-WQgSyVYJL1bZdEnEGcrhL937XkKUVe27y4XU_N/s1600/DB_Zugriff.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="703" data-original-width="933" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvZbaJr5Asp-7rY3Eljy020yKBpBOzg73MW-7awVy0dfw7RoVIpN6Ny6_Ity7eRrIj7qnp955Np6Tze2W7YCqa-4AZS9zghw3y3w5n_-WQgSyVYJL1bZdEnEGcrhL937XkKUVe27y4XU_N/s320/DB_Zugriff.jpg" width="320" /></a></div>
<br />
<br />
<h2>
Szenario 2: Löschen, was sich lohnt</h2>
Wenn es sowieso ein Test-System ist, kann ja theoretisch alles weg. Man könnte aber auch vor allem denen auf die Füße treten, deren Datenbanken den meisten Platz beanspruchen. Hier muss man über eine Zwischentabelle arbeiten, weil die Size-Werte nicht nach MASTER übergeben werden:<br />
<br />
<!-- HTML generated using hilite.me --><br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #0000aa;">use</span> master;
<span style="color: #00aaaa;">set</span> TRANSACTION ISOLATION LEVEL <span style="color: #0000aa;">READ</span> UNCOMMITTED;
GO
<span style="color: #0000aa;">declare</span> @Result <span style="color: #0000aa;">Table</span> (
Database_Name sysname <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span>,
Database_Owner sysname <span style="color: #aa0000;">NULL</span>,
type_desc <span style="color: #00aaaa;">VARCHAR</span>(<span style="color: #009999;">10</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span>,
size_MB <span style="color: #00aaaa;">DECIMAL</span>(<span style="color: #009999;">18</span>, <span style="color: #009999;">2</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span> <span style="color: #0000aa;">DEFAULT</span> (<span style="color: #009999;">0</span>),
used_MB <span style="color: #00aaaa;">DECIMAL</span>(<span style="color: #009999;">18</span>, <span style="color: #009999;">2</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span> <span style="color: #0000aa;">DEFAULT</span> (<span style="color: #009999;">0</span>),
growth_MB <span style="color: #00aaaa;">DECIMAL</span>(<span style="color: #009999;">18</span>, <span style="color: #009999;">2</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span> <span style="color: #0000aa;">DEFAULT</span> (<span style="color: #009999;">0</span>),
is_percent_growth <span style="color: #00aaaa;">TINYINT</span> <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span> <span style="color: #0000aa;">DEFAULT</span> (<span style="color: #009999;">0</span>),
<span style="color: #0000aa;">PRIMARY</span> <span style="color: #0000aa;">KEY</span> <span style="color: #00aa00;">CLUSTERED</span> (
Database_Name,
logical_name ),
<span style="color: #0000aa;">UNIQUE</span> (physical_name),
Logical_Name sysname <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span>,
physical_name <span style="color: #00aaaa;">VARCHAR</span>(<span style="color: #009999;">255</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span>,
compatibility_level <span style="color: #00aaaa;">VARCHAR</span>(<span style="color: #009999;">10</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span>,
collation_Name sysname <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span>,
snapshot_isolation <span style="color: #00aaaa;">VARCHAR</span>(<span style="color: #009999;">5</span>) <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span> <span style="color: #0000aa;">DEFAULT</span> (<span style="color: #aa5500;">'OFF'</span>),
read_committed_SI <span style="color: #00aaaa;">TINYINT</span> <span style="color: #0000aa;">NOT</span> <span style="color: #aa0000;">NULL</span> <span style="color: #0000aa;">DEFAULT</span> (<span style="color: #009999;">0</span>)
);
<span style="color: #0000aa;">INSERT</span> <span style="color: #0000aa;">INTO</span> @Result
EXEC sys.sp_MSforeachdb @command1 = N<span style="color: #aa5500;">'USE [?];</span>
<span style="color: #aa5500;">select</span>
<span style="color: #aa5500;"> DB_NAME(D.database_id) as [Database Name],</span>
<span style="color: #aa5500;"> SP.name as [Database_Owner],</span>
<span style="color: #aa5500;"> MF.type_desc,</span>
<span style="color: #aa5500;"> MF.size / 128.0 AS [size_MB],</span>
<span style="color: #aa5500;"> FILEPROPERTY(MF.name, ''spaceused'') / 128.0 AS [used_MB],</span>
<span style="color: #aa5500;"> CASE WHEN MF.[is_percent_growth] = 1</span>
<span style="color: #aa5500;"> THEN MF.[size] * (MF.[growth] / 100.0)</span>
<span style="color: #aa5500;"> ELSE MF.[growth]</span>
<span style="color: #aa5500;"> END / 128.0 AS [growth_MB],</span>
<span style="color: #aa5500;"> MF.[is_percent_growth],</span>
<span style="color: #aa5500;"> MF.name,</span>
<span style="color: #aa5500;"> MF.physical_name,</span>
<span style="color: #aa5500;"> D.compatibility_level,</span>
<span style="color: #aa5500;"> D.collation_name,</span>
<span style="color: #aa5500;"> D.snapshot_isolation_state_desc,</span>
<span style="color: #aa5500;"> D.is_read_committed_snapshot_on</span>
<span style="color: #aa5500;">from sys.databases AS D INNER JOIN sys.master_files AS MF</span>
<span style="color: #aa5500;"> ON (D.database_id = MF.database_id) LEFT JOIN sys.server_principals AS SP</span>
<span style="color: #aa5500;"> ON (D.owner_sid = SP.sid)</span>
<span style="color: #aa5500;">where D.database_id = DB_ID();'</span>;
<span style="color: #0000aa;">select</span> * <span style="color: #0000aa;">from</span> @Result <span style="color: #0000aa;">AS</span> R <span style="color: #0000aa;">order</span> <span style="color: #0000aa;">by</span> type_desc <span style="color: #0000aa;">desc</span>, size_MB <span style="color: #0000aa;">desc</span>;
<span style="color: #00aaaa;">SET</span> TRANSACTION ISOLATION LEVEL <span style="color: #0000aa;">READ</span> COMMITTED;
GO
</pre>
</div>
<br />
<div>
Hier müssen die LOGs und die Datenbanken separat betrachtet werden.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ACs-LjoMbJinL77tRIdZliD8r4GAjkCwkKGu4TUP1XelX15goGKH7_FSF_CssbUWTNOO7zqP5uNcG3XBn9l6xqbWwiN-teJXJgwndS72qqv5DYK2om6MzqsabvTW6jxkgWd-8UEMcXrz/s1600/DB_Groesse.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="685" data-original-width="1047" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ACs-LjoMbJinL77tRIdZliD8r4GAjkCwkKGu4TUP1XelX15goGKH7_FSF_CssbUWTNOO7zqP5uNcG3XBn9l6xqbWwiN-teJXJgwndS72qqv5DYK2om6MzqsabvTW6jxkgWd-8UEMcXrz/s320/DB_Groesse.jpg" width="320" /></a></div>
<div>
<br /></div>
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-54302528741353513662019-02-08T05:00:00.000+01:002019-02-08T05:00:05.364+01:00Drucken & Falten<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQYOHJJs_4HIFfrub-KYwsSTRj9qvbPd_aZJVIOYi4Z_aFXADM121ZufS9UdHLuC52yLdWoSWrivLzMe-4qJgbkbMInAZ7G3g92mcP1CRxgNk-FTEi3Eys0fZcpHYnsz3y_WjKdMwZPj58/s1600/Papierelefant.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="541" data-original-width="541" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQYOHJJs_4HIFfrub-KYwsSTRj9qvbPd_aZJVIOYi4Z_aFXADM121ZufS9UdHLuC52yLdWoSWrivLzMe-4qJgbkbMInAZ7G3g92mcP1CRxgNk-FTEi3Eys0fZcpHYnsz3y_WjKdMwZPj58/s1600/Papierelefant.jpg" /></a></div>
<div style="text-align: center;">
<br /></div>
<br />
Heute mal ein Link-Tipp, den ich schön etwas länger mit mir herum trage:<br />
<br />
<div style="text-align: center;">
<a href="http://cp.c-ij.com/de/index.html" style="font-size: x-large; font-weight: bold;" target="_blank">Canon Creative Park</a>.</div>
<br />
Canon möchte natürlich, dass mehr gedruckt wird und stellt dafür diverse Vorlagen und Anleitungen bereit, mit denen ihr Papiermodelle bauen könnt. Die Vorlagen reichen von einfachen Rahmen, über hübsche Kalender bis hin zu umfangreichen Papiermodellen.<br />
<br />
Ich habe da schon das Eine oder Andere gut gebrauchen können, gerade, wenn man Geschenke originell verpacken möchte. Und bald ist ja Valentinstag ...<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-44109800381365759602019-01-25T05:00:00.000+01:002019-01-25T05:00:06.862+01:00ChromePass - muss man kennen, wenn man in Chrome Passwörter speichert<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwP-ynUuiUmH7WJSVMC_o9JHlDM0f1TEQNtOsVam66Z3h1RT8OLQ_LzfUm0bhGomMciQmEZW32jJ9_RYfOPGeHKrPKx0BQsixuojpdpfdv5HI5AZD3VV1a8nNxeHkDyhpxH5HUDd4c9WiE/s1600/google-chrome.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="184" data-original-width="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwP-ynUuiUmH7WJSVMC_o9JHlDM0f1TEQNtOsVam66Z3h1RT8OLQ_LzfUm0bhGomMciQmEZW32jJ9_RYfOPGeHKrPKx0BQsixuojpdpfdv5HI5AZD3VV1a8nNxeHkDyhpxH5HUDd4c9WiE/s1600/google-chrome.jpg" /></a></div>
<div style="text-align: center;">
<br /></div>
Mit dem Tool <a href="https://www.nirsoft.net/utils/chromepass.html" rel="nofollow" target="_blank">ChromePass</a> kann man alle im Browser Google Chrome gespeicherten Kennwörter, Benutzernamen und dazugehörigen URLs auslesen. Während man im Browser noch mit einer zweiten Kennwortabfrage behelligt wird, geschieht dies hier ohne jegliche Rückfrage direkt mit Start des Programmes.<br />
<br />
Bei <a href="https://www.googlewatchblog.de/2019/01/tipp-windows-passwort-chromepass/" target="_blank">GoogleWatchBlog</a> wird es als Tool als ultranützliches Werkzeug gepriesen - aber man sollte sich ganz genau überlegen,<br />
<br />
<ol>
<li>Welche Kennwörter man den Browser speichern lässt!</li>
<li>Wann man seinen PC ungesperrt zurücklässt!</li>
</ol>
<br />
USB-Stick rein, starten, auslesen - schon ist man seine Kennwörter los ...<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-25866153306199519362018-11-30T05:00:00.000+01:002018-11-30T05:00:02.288+01:00TeamViewer direkt starten<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLwEWvM_2o3KeRD_Ut-DQwdv1OBl7qID5o5g724ql9rje259QoYF_5cd4BGsYrM-9VfdOteISOxQGZwQRU0EPXc9XJ0lfTzn0WyefFtq7aBSer13-3Gz4SF7FtQTH-OVAXs2M6hF4bYG2T/s1600/TeamViewer-Logo_2016.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="108" data-original-width="497" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLwEWvM_2o3KeRD_Ut-DQwdv1OBl7qID5o5g724ql9rje259QoYF_5cd4BGsYrM-9VfdOteISOxQGZwQRU0EPXc9XJ0lfTzn0WyefFtq7aBSer13-3Gz4SF7FtQTH-OVAXs2M6hF4bYG2T/s1600/TeamViewer-Logo_2016.png" /></a></div>
<br />
Wenn man auf einen entfernten Arbeitsplatz zugreifen möchte, nutzt man gern den TeamViewer. Die Vollversion lässt sich auch mit Startparametern starten:<br />
<br />
<b>-i</b> dann die TeamViewer-ID oder im selben Netzwerk geht auch die IP-Adresse<br />
<b>-P</b> dann das Zugriffspasswort<br />
<b>-m</b> dann <b>fileTransfer </b>für den Dateiaustausch (zuzüglich optional <b>vpn</b>)<br />
<br />
Beispiel:<br />
<br />
"C:\Program Files (x86)\TeamViewer\TeamViewer.exe" -i 123456789 -P k3nnw0RT -m fileTransfer<br />
<br />
startet eine Verbindung zu 123 456 789 mit dem Verbindungskennwort: "k3nnw0RT" und öffnet die Dateiübertragung.<br />
<br />
So könnte man sich abseits der Kontaktliste in der TeamViewer-Cloud bestimmte Verbindungen separat ablegen.carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-45449132382168785322018-11-16T05:00:00.000+01:002018-11-16T05:00:00.811+01:00lokale MP3 zum ChromecastManchmal ist das Setting so auf mobile Geräte ausgerichtet, dass man an scheinbar einfachen Problemen zu scheitern droht.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7e0xj6-4NjDBspvpBG1FnJ5wK1qwzayPWJwPLx4WSCKdRWlfq8hmS767kTCrnpLg7DQ_QApUGVgJP_nwBy6ZJU-4DFO6qtLUtNxE8O0O6mxrAN86YJdeFt2ymRYe5XxDk02_KFDD7QVsE/s1600/WinampWeb.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="465" data-original-width="726" height="204" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7e0xj6-4NjDBspvpBG1FnJ5wK1qwzayPWJwPLx4WSCKdRWlfq8hmS767kTCrnpLg7DQ_QApUGVgJP_nwBy6ZJU-4DFO6qtLUtNxE8O0O6mxrAN86YJdeFt2ymRYe5XxDk02_KFDD7QVsE/s320/WinampWeb.png" width="320" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
So habe ich zum Beispiel die alte leistungsfähige Technics-Stereoanlage mit Chromecast streamingfähig und gemacht und kann sie damit sogar in einen Multiroom-Verbund einbinden. Scheinbar ist das eine fantastische Idee - solange man nicht am PC sitzt und einfach mal ein paar lokale MP3 streamen möchte.<br />
<br />
Ich kann eine MP3-Datei zwar auch im Browser abspielen und mit dem Browser dann zum Chromecast umleiten, eine Playlist geht damit aber nicht.<br />
<br />
Ihr müsst nun aber nicht auf die Suche nach Chromecastfähigen Apps gehen - es geht viel einfacher. Geht zu<br />
<br />
<div style="text-align: center;">
<b><span style="font-size: large;"><a href="https://webamp.org/">https://webamp.org</a></span></b></div>
<br />
und ihr könnt mit diesem (zugegebenermaßen designtechnisch etwas in die Jahre gekommenen) Webplayer auch lokale Dateien im Browser laden und abspielen und damit auch streamen.<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-83793021117192507572018-10-26T05:00:00.000+02:002018-10-26T05:00:03.126+02:00Office und TerminalserverIch weiß, dass es laut den Lizenzbestimmungen nicht erlaubt ist, ein normales Office im Terminalserver zu benutzen. Technisch geht es zwar, aber es ist eben nicht erlaubt, weil das Office pro Gerät lizenziert wird und das Lizenzmodell im Terminalserver sich aber nach Benutzern richtet.<br />
<br />
Also kam ich auf die verwegene Idee, Microsoft zu befragen:<br />
<br />
<br />
<div class="MsoNormal">
<div class="MsoNormal">
0800 5892332<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft Support<o:p></o:p></b></div>
<div class="MsoNormal">
--> Abbruch nach 45 Minuten<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
089 08931760<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft München<o:p></o:p></b></div>
<div class="MsoNormal">
Junger Kerl – Typ Praktikant<o:p></o:p></div>
<div class="MsoNormal">
"Willkommen bei Microsoft München, welcome to Microsoft
Munich" --> Verbindung getrennt<o:p></o:p></div>
<div class="MsoNormal">
"Willkommen bei Microsoft München, welcome to Microsoft
Munich - wie kann ich helfen?"<o:p></o:p></div>
<div class="MsoNormal">
"Hallo. Wir möchten ein Office 2010 im Terminalserver
einsetzen. Wie kann ich das erwerben bzw. mich an die Lizenzbestimmungen halten?"
<o:p></o:p></div>
<div class="MsoNormal">
"Rufen sie doch bitte unsere Lizenz-Abteilung an: 0800
5077777"<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
0800 5077777<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft Lizenz<o:p></o:p></b></div>
<div class="MsoNormal">
Osteuropäische Mitarbeiterin in gebrochenem Deutsch<o:p></o:p></div>
<div class="MsoNormal">
"Challo, womit kann ich helfen?"<o:p></o:p></div>
<div class="MsoNormal">
"Hallo. Wir möchten ein Office 2010 im Terminalserver
einsetzen." <o:p></o:p></div>
<div class="MsoNormal">
"Ich verstähä Sie nicht. Was wollän Sie?"<o:p></o:p></div>
<div class="MsoNormal">
"W i r m ö c h t e n e i n e
O
f f i c e – L i z e n z f ü r d e n T e r m i n a l s e r v e r k a u f
e n ."<o:p></o:p></div>
<div class="MsoNormal">
"Kaufen? Bitte wählän Sie dän Microsoft Store 0800
8088014"<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
0800 8088014<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft Store<o:p></o:p></b></div>
<div class="MsoNormal">
älterer Mann<o:p></o:p></div>
<div class="MsoNormal">
"Hallo. Wir möchten ein Office 2010 im Terminalserver
einsetzen." <o:p></o:p></div>
<div class="MsoNormal">
"Wo?" <o:p></o:p></div>
<div class="MsoNormal">
"Im Terminalserver." <o:p></o:p></div>
<div class="MsoNormal">
"Ist das ein Exchange-Server?"<o:p></o:p></div>
<div class="MsoNormal">
"Nein, ein Terminalserver."<o:p></o:p></div>
<div class="MsoNormal">
"Was für ein Betriebssystem läuft darauf?"<o:p></o:p></div>
<div class="MsoNormal">
"Windows 2016 Server."<o:p></o:p></div>
<div class="MsoNormal">
"Ja, das müsste gehen."<o:p></o:p></div>
<div class="MsoNormal">
"Das weiß ich selber. Aber wir dürfen das offenbar
nicht so einsetzen, weil die Office-Lizenz pro Gerät gilt und im Terminalserver
so nicht anzuwenden ist."<o:p></o:p></div>
<div class="MsoNormal">
"Aha. Es geht also um Volume-Licensing."<o:p></o:p></div>
<div class="MsoNormal">
"Nochmal: Wir brauchen eine Office-Lizenz, die wir auf
dem Terminalserver einsetzen dürfen und die zudem für das alte Office 2010
gilt."<o:p></o:p></div>
<div class="MsoNormal">
"Oh, 2010 - da haben Sie mich aber! - ich leite Sie mal
zur Volume-Licensing-Abteilung weiter. Wenn die es nicht wissen, dann weiß es
keiner."<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
weitergeleitet zu<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft
Volumen-Licensing-Abteilung<o:p></o:p></b></div>
<div class="MsoNormal">
gehetzter Mann mittleren Alters<o:p></o:p></div>
<div class="MsoNormal">
"Hallo."<o:p></o:p></div>
<div class="MsoNormal">
"Wir möchten ein Office 2010 im Terminalserver
einsetzen." <o:p></o:p></div>
<div class="MsoNormal">
"Hmm, ok, und weiter?"<o:p></o:p></div>
<div class="MsoNormal">
"Dafür muss ich doch offenbar eine spezielle
Terminalserver-Lizenz erwerben, oder?"<o:p></o:p></div>
<div class="MsoNormal">
"Das weiß ich nicht, das kann Ihnen aber unsere
Produktaktivierung unter 0800 2448283 klären."<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
0800 2848283<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft
Produktakivierungszentrale<o:p></o:p></b></div>
<div class="MsoNormal">
jüngerer Mann<o:p></o:p></div>
<div class="MsoNormal">
"Wir möchten ein Office im Terminalserver einsetzen."<o:p></o:p></div>
<div class="MsoNormal">
"OK"<o:p></o:p></div>
<div class="MsoNormal">
"Wir haben ein Office Professional, aber dieses normale
Office ist ja nur für Einzelplatz-PC's gedacht."<o:p></o:p></div>
<div class="MsoNormal">
"Aha"<o:p></o:p></div>
<div class="MsoNormal">
"Also brauche ich ein neues Office. Richtig?"<o:p></o:p></div>
<div class="MsoNormal">
"Das weiß ich nicht - rufen Sie doch bitte unsere
Lizenzierungsabteilung an."<o:p></o:p></div>
<div class="MsoNormal">
"Moment, bevor Sie mich trennen - wenn ich eine Lizenz
für das aktuelle Office erwerbe, darf ich dann auch Office 2010
einsetzen?"<o:p></o:p></div>
<div class="MsoNormal">
"Normalerweise erwerben Sie die neueste Version und Sie
dürfen downgraden. Und da Office 2010 noch unterstützt wird, sollte das gehen.
Aber ich verbinde Sie jetzt mal mit der Lizenz-Abteilung"<o:p></o:p></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
weitergeleitet zu 0800 5077777<o:p></o:p></div>
<div class="MsoNormal">
<b>Microsoft Lizenz<o:p></o:p></b></div>
<div class="MsoNormal">
Osteuropäischer Mann in gebrochenem Deutsch<o:p></o:p></div>
<div class="MsoNormal">
"Wir möchten ein Office im Terminalserver einsetzen. Darf
ich ein normales Office benutzen?"<o:p></o:p></div>
<div class="MsoNormal">
"Was meinen Sie mit Terminal?"<o:p></o:p></div>
<div class="MsoNormal">
"Terminalserver, also Remote Desktop"<o:p></o:p></div>
<div class="MsoNormal">
"Sind Sie Geschäftskunde?"<o:p></o:p></div>
<div class="MsoNormal">
"Ja."</div>
<div class="MsoNormal">
"Oh, da gibt es eine spezielle Abteilung, die arbeitet aber
nur von 09:00 – 17:00 Uhr. Bitte rufen Sie morgen wieder an, da verbinden wir
sie."<o:p></o:p></div>
</div>
<div class="MsoNormal">
<br /></div>
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-88864471117922850322018-08-10T05:00:00.000+02:002018-10-24T11:28:35.926+02:00Gliederung in Word (2)Was den ersten Teil betrifft - vergesst es; ich habe zu kompliziert gedacht, oder auch nicht - auf alle Fälle geht es einfacher, wenn man weiß wie.<br />
<br />
Es geht um Gliederung in Word. Stellen wir uns vor, dass wir ein umfangreiches Dokument mit Überschriften und Gliederung und so weiter erstellt haben. Wir haben alle Überschriften als solche formatiert und in der Gliederungsansicht sieht alles gut aus, bis auf die Nummerierung - die fehlt.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNYkg2zzMxbuCuqEmuwpFeiPPR997swUFiS3LkjlZlNkwUcZbyQABUptlz4Zo18YryhtnIx9n5Xpjwn-ppeI2j5iGUA4MO4AasdkUzlPbE2lQ66PPZPaoVmvkuFoJWxcQRJiRPVergbs33/s1600/2018-08-07+10_04_11-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="819" data-original-width="1366" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNYkg2zzMxbuCuqEmuwpFeiPPR997swUFiS3LkjlZlNkwUcZbyQABUptlz4Zo18YryhtnIx9n5Xpjwn-ppeI2j5iGUA4MO4AasdkUzlPbE2lQ66PPZPaoVmvkuFoJWxcQRJiRPVergbs33/s400/2018-08-07+10_04_11-Dokument1+-+Word.png" width="400" /></a></div>
<br />
<br />
Es geht <u><b>nicht</b></u> über Formatvorlagen und auch <u><b>nicht</b></u> über Nummerierung. Die Überschriften nummerieren zu lassen funktioniert ausschließlich über die Schaltfläche "<b>Listen mit mehreren Ebenen</b>" und die mit den Überschriften-Formatvorlagen verknüpfte Vorlage:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisLiZvrjUYbaF5rsLMqXXWBp-9imHgXmxuBicg3eeCjB70xFaBWqbu2Q1QsyV3vJpShojNWDexYwREDIVIzqagA7BMbgOBvmBB9dx_AdnFNGA2TrZMygRWEXxFegF4-xtfW2JDCRmUIy56/s1600/2018-08-07+10_08_58-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="717" data-original-width="947" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisLiZvrjUYbaF5rsLMqXXWBp-9imHgXmxuBicg3eeCjB70xFaBWqbu2Q1QsyV3vJpShojNWDexYwREDIVIzqagA7BMbgOBvmBB9dx_AdnFNGA2TrZMygRWEXxFegF4-xtfW2JDCRmUIy56/s400/2018-08-07+10_08_58-Dokument1+-+Word.png" width="400" /></a></div>
<br />
Das Einzige, was man noch tun könnte, wäre in den Überschriften-Formatvorlagen Schriftart und Einzug zu ändern.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vu2iK0u8l1d6ujilSq80ov8uIzvVdBN0gO4aOW5xzMN6-0dG0mdqHHGdx4N-ZzGOFOtgiGA6M7WM7xU1zycqE09kDJBnkyoH67Yc7AHNg5PWklyTJgNCEC6WLkRcMjytBqDeD2p-WHko/s1600/2018-08-07+10_12_17-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="712" data-original-width="1243" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8vu2iK0u8l1d6ujilSq80ov8uIzvVdBN0gO4aOW5xzMN6-0dG0mdqHHGdx4N-ZzGOFOtgiGA6M7WM7xU1zycqE09kDJBnkyoH67Yc7AHNg5PWklyTJgNCEC6WLkRcMjytBqDeD2p-WHko/s400/2018-08-07+10_12_17-Dokument1+-+Word.png" width="400" /></a></div>
<br />
<br />
Vergesst alle anderen Wege - die meisten führen zu wutbedingtem Haarausfall...<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0tag:blogger.com,1999:blog-5467613428620491517.post-21933344472925806142018-08-07T05:00:00.000+02:002018-10-24T11:25:14.843+02:00Gliederung in Word - oder: Was zur Hölle hat sich Microsoft dabei gedacht?In der IT zu verzweifeln, ist keine besondere Herausforderung. Mit Word zu verzweifeln ist geradezu zwangsläufig!<br />
<br />
Das Setting: Wir schreiben ein umfangreicheres Dokument mit Überschriften und Unter-Überschriften usw. Wir formatieren es auch fröhlich mit den Word-Boardmitteln in "Überschrift 1" und "Überschrift 2" und "Überschrift 3" - und wundern uns, warum nichts nummeriert ist.<br />
<br />
Erster Fehler: Wir klicken die Überschriften einzeln durch und formatieren Sie mit Hilfe der Schaltfläche "Liste mit mehreren Ebenen" nummerisch. Das scheint zwar logisch dauert aber zu lange und ist führt zu einem falschen Ergebnis.<br />
<br />
Zweiter Fehler: Wir vermuten, dass wir die Formatvorlage der Überschriften nur dahingehend ändern müssten, dass sie nummeriert dargestellt wird. Das ist eigentlich extrem logisch; immerhin nutzen wir ja z.B. die Formatvorlage "Überschrift 1" und laut Gliederungsansicht scheint ja die Gliederung auch korrekt zu sein, nur eben, dass die Nummerierung fehlt.<br />
<br />
Leider führt die Überarbeitung der Formatvorlagen zu diesem Ergebnis:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPSEhPMB4sABI-WXuCk_4BTSTgi9cK9uLETU6k1zXgqJY7h9V8T1mBs7pGQkd5omGiouKwXrBLRV_7fKztLLcTeNsRUnJ_BjG27fuPk9ldvB1H7gtQJM6vDI-HDYS6iOLU5w55MnmBGSBA/s1600/2018-08-07+08_52_35-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1318" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPSEhPMB4sABI-WXuCk_4BTSTgi9cK9uLETU6k1zXgqJY7h9V8T1mBs7pGQkd5omGiouKwXrBLRV_7fKztLLcTeNsRUnJ_BjG27fuPk9ldvB1H7gtQJM6vDI-HDYS6iOLU5w55MnmBGSBA/s400/2018-08-07+08_52_35-Dokument1+-+Word.png" width="400" /></a></div>
<br />
Tolle Wurst! Spätestens hier spielt man im Kopf haarsträubende Szenarien durch, was man mit seinem Computer anstellen möchte.<br />
<br />
<div style="text-align: center;">
···</div>
<br />
Die Lösung ist abwegig und einfach zu gleich:<br />
<br />
Wir klicken/markieren die erste Überschrift der ersten Ebene (Überschrift 1) und suchen bei der Listen-Ebenen-Schaltfläche den Menüpunkt "<b>Neu Liste mit mehreren Ebenen definieren...</b>"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_58ZH-5U4cUtGPrlkzh046td7o0rPl7ouNxmlOnat5jNYx-Zu7YPdVAQYHrQe_3lBDJBl7x1ja02CvnzdFVhAXAO6mhPEvjVwrmiw8WQ5DjxUmeuOJi3CQdF884yeyI8fFlNVD32GuUeX/s1600/2018-08-07+09_10_08-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="1204" height="265" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_58ZH-5U4cUtGPrlkzh046td7o0rPl7ouNxmlOnat5jNYx-Zu7YPdVAQYHrQe_3lBDJBl7x1ja02CvnzdFVhAXAO6mhPEvjVwrmiw8WQ5DjxUmeuOJi3CQdF884yeyI8fFlNVD32GuUeX/s400/2018-08-07+09_10_08-Dokument1+-+Word.png" width="400" /></a></div>
<br />
Dann klicken wir auf die Schaltfläche "<b>Erweitern > ></b>".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPFXLW_yE_MNDRr256U_pDM0TZ1UNrqm30rxqEUtLF0WZxNxO1RVgb5BFOzW8SACmtXGZqZg2Wu1aZb0By5e5oZi-53cfvCyMs7f3FzVoSH5tTdI5VPuMyDESiTPk_IBlWVqNgZ42m0NyP/s1600/2018-08-07+09_11_00-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="457" data-original-width="442" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPFXLW_yE_MNDRr256U_pDM0TZ1UNrqm30rxqEUtLF0WZxNxO1RVgb5BFOzW8SACmtXGZqZg2Wu1aZb0By5e5oZi-53cfvCyMs7f3FzVoSH5tTdI5VPuMyDESiTPk_IBlWVqNgZ42m0NyP/s320/2018-08-07+09_11_00-Dokument1+-+Word.png" width="309" /></a></div>
<br />
Und nun achten wir darauf, dass bei "Änderung übernehmen" die "Komplette Liste" ausgewählt ist und (ganz wichtig) bei "Verbinden mit Formatvorlage" "<b>Überschrift 1</b>" ausgewählt worden ist.<br />
<br />
Mit einem Klick auf OK bekommen wir fast das gewünschte Ergebnis:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxd7W4gY9cEXjf00YyHkBzyJTP7IrEPx9YIqvhrU_w7jhZuw-18zi5O8u0lGgv1qivilI7YQ5LPIfx1mB44GAf6OANTPBEBiqymIw0iRsZDFJwqSXMp6jjL92NG4YO51UML-gibglT2eUG/s1600/2018-08-07+09_19_39-Dokument1+-+Word.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="766" data-original-width="1413" height="216" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxd7W4gY9cEXjf00YyHkBzyJTP7IrEPx9YIqvhrU_w7jhZuw-18zi5O8u0lGgv1qivilI7YQ5LPIfx1mB44GAf6OANTPBEBiqymIw0iRsZDFJwqSXMp6jjL92NG4YO51UML-gibglT2eUG/s400/2018-08-07+09_19_39-Dokument1+-+Word.png" width="400" /></a></div>
<br />
Es ist zu Haare raufen - zweimal "Überschrift 1" - Um diesen Effekt zu beseitigen markieren wir die erste Überschrift der ersten Ebene noch einmal und definieren sie erneut als "Überschrift 1". Das machen wir sicherheitshalber auch mit der zweiten Überschrift der ersten Ebene, und mit der dritten, und der vierten, ...<br />
<br />
<div style="text-align: center;">
···</div>
<br />
Jetzt kümmern wir uns um die zweite Ebene.<br />
<br />
Also erste Überschrift der zweiten Ebene anklicken, den Menüpunkt "<b>Neu Liste mit mehreren Ebenen definieren...</b>" suchen (nicht darüber nachdenken, warum ich eine neue Liste brauche) und folgendes definieren:<br />
<br />
<br />carafajahttp://www.blogger.com/profile/07093701942731850939noreply@blogger.com0