<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>simulation Archive - Robert Skibbe</title>
	<atom:link href="https://robbelroot.de/blog/tag/simulation/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>alias RobbelRoot – Freelance Full Stack Developer .NET</description>
	<lastBuildDate>Fri, 02 Sep 2022 18:21:46 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://robbelroot.de/wp-content/uploads/2020/12/cropped-favicon-32x32.png</url>
	<title>simulation Archive - Robert Skibbe</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Simulating mouse &#038; keyboard input – Simple Script Creator (SSC)</title>
		<link>https://robbelroot.de/blog/simulating-mouse-keyboard-input-simple-script-creator-ssc/</link>
					<comments>https://robbelroot.de/blog/simulating-mouse-keyboard-input-simple-script-creator-ssc/#respond</comments>
		
		<dc:creator><![CDATA[Robert Skibbe]]></dc:creator>
		<pubDate>Fri, 02 Sep 2022 17:56:21 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[creator]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[helper]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[simulate]]></category>
		<category><![CDATA[simulation]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[ssc]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://robbelroot.de/?p=11943</guid>

					<description><![CDATA[<p>Automate all processes on your computer: Simulate key presses, open programs and much more. Download now</p>
<p>Der Beitrag <a href="https://robbelroot.de/blog/simulating-mouse-keyboard-input-simple-script-creator-ssc/">Simulating mouse &#038; keyboard input – Simple Script Creator (SSC)</a> erschien zuerst auf <a href="https://robbelroot.de">Robert Skibbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Automate all processes on your computer: Simulate key presses, open programs and much more.</p>



<p><a class="fasc-button fasc-size-large fasc-type-glossy fasc-rounded-medium" style="background-color: #3c9c19; color: #ffffff;" href="https://robbelroot.de/projekte/ssc/SSC - Alpha Release.rar" target="_blank" rel="noopener">Download now</a></p>
<p>Der Beitrag <a href="https://robbelroot.de/blog/simulating-mouse-keyboard-input-simple-script-creator-ssc/">Simulating mouse &#038; keyboard input – Simple Script Creator (SSC)</a> erschien zuerst auf <a href="https://robbelroot.de">Robert Skibbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://robbelroot.de/blog/simulating-mouse-keyboard-input-simple-script-creator-ssc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>VBS Send Key</title>
		<link>https://robbelroot.de/blog/vbs-send-key/</link>
					<comments>https://robbelroot.de/blog/vbs-send-key/#comments</comments>
		
		<dc:creator><![CDATA[Robert Skibbe]]></dc:creator>
		<pubDate>Fri, 16 Jul 2021 12:45:30 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Visual Basic Script]]></category>
		<category><![CDATA[Visual Basic Script Problemlösungen]]></category>
		<category><![CDATA[confirm]]></category>
		<category><![CDATA[enter]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[keys]]></category>
		<category><![CDATA[programm]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[send]]></category>
		<category><![CDATA[senden]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[simulate]]></category>
		<category><![CDATA[simulation]]></category>
		<category><![CDATA[simulator]]></category>
		<category><![CDATA[tastatur]]></category>
		<category><![CDATA[taste]]></category>
		<category><![CDATA[vbs]]></category>
		<category><![CDATA[vbscript]]></category>
		<category><![CDATA[visual basic]]></category>
		<category><![CDATA[visual basic script]]></category>
		<category><![CDATA[wscript]]></category>
		<guid isPermaLink="false">https://robbelroot.de/?p=4311</guid>

					<description><![CDATA[<p>VBS Send Key Du möchtest Tastenanschläge mit der VBS Send Key Funktionalität simulieren? Dann bist Du durch deine Recherche in meinem heutigen Beitrag genau richtig gelandet, los geht&#8217;s! Anschließend hast Du ggf. noch Interesse an weiteren Beiträgen wie: Select Case, Replace, Array. Zeitalter der Automation Im modernen Zeitalter der Automation, &#8230;</p>
<p>Der Beitrag <a href="https://robbelroot.de/blog/vbs-send-key/">VBS Send Key</a> erschien zuerst auf <a href="https://robbelroot.de">Robert Skibbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><a href="https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key.png"><img fetchpriority="high" decoding="async" width="1024" height="536" src="https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key-1024x536.png" alt="VBS Send Key Beitragsbild" class="wp-image-4314" title="VBS Send Key Beitragsbild" srcset="https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key-1024x536.png 1024w, https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key-300x157.png 300w, https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key-768x402.png 768w, https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key-700x366.png 700w, https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key-332x174.png 332w, https://robbelroot.de/wp-content/uploads/2021/07/VBS-Send-Key.png 1200w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption>VBS Send Key Beitragsbild</figcaption></figure>






<h2 class="wp-block-heading">VBS Send Key</h2>



<p>Du <strong>möchtest Tastenanschläge </strong>mit der <strong>VBS Send Key</strong> Funktionalität simulieren?</p>



<p>Dann bist Du <strong>durch </strong>deine <strong>Recherche </strong>in meinem heutigen Beitrag <strong>genau richtig </strong>gelandet, los geht&#8217;s!</p>



<p><strong>Anschließend </strong>hast Du ggf. noch <strong>Interesse </strong>an weiteren <strong>Beiträgen </strong>wie: <strong><a href="/blog/vbscript-select-case" target="_blank" rel="noreferrer noopener">Select Case</a></strong>, <strong><a href="/blog/vbs-replace" target="_blank" rel="noreferrer noopener">Replace</a></strong>, <strong><a href="/blog/vbs-array" target="_blank" rel="noreferrer noopener">Array</a></strong>.</p>



<h2 class="wp-block-heading">Zeitalter der Automation</h2>



<p>Im modernen Zeitalter der Automation, <strong>möchte </strong>man vor allem als PC-Nutzer, bzw. als am PC <strong>arbeitender </strong>Mensch natürlich so <strong>wenig Handgriffe wie möglich </strong>tätigen.</p>



<p><strong>Besonders </strong>so genannte &#8222;<strong>Monkey-Work</strong>&#8222;, also Arbeiten, für Welche man – im wahrsten Sinne des Wortes – <strong>einen </strong>&#8222;<strong>Affen</strong>&#8220; nehmen <strong>könnte</strong>, sollten <strong>automatisiert</strong> werden.</p>



<p><strong>Wer </strong>hat denn schon Lust, einfache <strong>wiederkehrende Aktionen </strong>an der Tastatur <strong>händisch auszuführen</strong>?</p>



<h2 class="wp-block-heading">SendKeys-Funktion – VBS Send Key</h2>



<p>Um die <strong>Tastenanschläge</strong> letztendlich <strong>simulieren </strong>oder analog dem Begriff <strong>senden </strong>zu können, <strong>müssen </strong>wir ein <strong>Objekt </strong>des &#8222;<strong>WScript.Shell</strong>&#8222;-Typs <strong>erstellen</strong>.</p>



<p>Schauen wir uns aber <strong>vorher </strong>einmal die VBS <strong>SendKeys</strong>-Funktion <strong>im Detail </strong>an:</p>



<h3 class="wp-block-heading">Beschreibung</h3>



<p>Die <strong>SendKeys</strong>&#8211;<strong>Funktion </strong>sendet simulierte <strong>Tastenanschläge an </strong>das <strong>aktive Fenster</strong>.</p>



<h3 class="wp-block-heading">Parameter</h3>



<h4 class="wp-block-heading">strKeyString [String]</h4>



<p>Dieser <strong>Parameter umfasst </strong>die zu <strong>sendenden Zeichenfolgen</strong>, wobei <strong>auch spezielle Tasten </strong>wie &#8222;Enter&#8220; gesendet werden können.</p>



<p><strong>Spezielle Zeichen</strong> – wie hier das <strong>Prozentzeichen </strong>– müssen in <strong>geschweiften Klammern </strong>angegeben werden:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;TheShellObj>.SendKeys("{%}")</pre>



<p><strong>Normale Buchstaben </strong>können wir hier ganz <strong>einfach angegeben </strong>werden:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;TheShellObj>.SendKeys("This has not been typed")</pre>



<h2 class="wp-block-heading">Gotchas – VBS Send Key</h2>



<p>Auf <strong>diese Art </strong>und Weise kann uns die <strong>tolle SendKeys </strong>Funktion eine <strong>einfache Möglichkeit </strong>bieten, unseren <strong>Alltag </strong>als privater oder <strong>beruflicher </strong>Anwender des Computers <strong>vereinfachen</strong>.</p>



<p>Dabei <strong>legt Visual Basic Script</strong> (VBS) eine <strong>einfache </strong>und auch für viele nicht-Entwickler <strong>verständliche Schreibweise </strong>vor.</p>



<p><strong>Überlege </strong>doch gerne mal <strong>in Kombination </strong>mit dem gleich <strong>folgenden Beispiel</strong>, wie Du <strong>deinen Alltag </strong>eventuell <strong>erleichtern </strong>könntest!?</p>



<h2 class="wp-block-heading">Code – VBS Send Key</h2>



<p>Hier folgt nun ein <strong>konkretes Beispiel </strong>der <strong>SendKeys </strong>Funktion:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Set shell = WScript.CreateObject("WScript.Shell")
shell.Run "notepad", 9
WScript.Sleep 1000
shell.SendKeys "{Enter}"
shell.SendKeys "Hello!"</pre>



<h3 class="wp-block-heading">Das WScript.Shell Objekt</h3>



<p>Im <strong>ersten Schritt </strong>des Scripts <strong>erstellen </strong>wir ein <strong>Objekt </strong>des &#8222;<strong><a href="https://docs.microsoft.com/de-de/windows-server/administration/windows-commands/wscript" target="_blank" rel="noreferrer noopener">WScript.Shell</a></strong>&#8220; Typs.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">Set shell = WScript.CreateObject("WScript.Shell")</pre>



<h3 class="wp-block-heading">Öffnen von Notepad</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">shell.Run "notepad", 9</pre>



<p><strong>Anschließend </strong>lassen wir das <strong>Objekt </strong>die <strong>Run</strong>-Funktion mit den <strong>ersten Parameter </strong>&#8222;<strong>notepad</strong>&#8220; und den <strong>zweiten Parameter </strong>&#8222;<strong>9</strong>&#8220; aufrufen.</p>



<p>Der <strong>Parameter </strong>&#8222;<strong>notepad</strong>&#8220; <strong>startet </strong>natürlich die <strong><a href="https://de.wikipedia.org/wiki/Microsoft_Editor" target="_blank" rel="noreferrer noopener">Notepad</a></strong>-Anwendung und die <strong>9 bedeutet</strong>, dass das <strong>Fenster angezeigt </strong>und <strong>aktiviert </strong>wird.</p>



<h3 class="wp-block-heading">Pausieren</h3>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">WScript.Sleep 1000</pre>



<p>Danach lassen wir die <strong>Ausführung </strong>unseres Scripts eine Sekunde (1000 ms) <strong>pausieren</strong>, <strong>damit Notepad </strong>ein wenig <strong>Zeit hat</strong>.</p>



<h3 class="wp-block-heading">Tastenanschläge simulieren</h3>



<p>In den <strong>letzten </strong>beiden <strong>Schritten simulieren </strong>wir das <strong>Drücken </strong>der <strong>Enter</strong>-Taste im aktiven Fenster (Notepad), <strong>danach </strong>senden wir noch ein &#8222;<strong>Hello!</strong>&#8220; in die aktuelle Zeile.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="visualbasic" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">shell.SendKeys "{Enter}"
shell.SendKeys "Hello!"</pre>
<p>Der Beitrag <a href="https://robbelroot.de/blog/vbs-send-key/">VBS Send Key</a> erschien zuerst auf <a href="https://robbelroot.de">Robert Skibbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://robbelroot.de/blog/vbs-send-key/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Regentropfen simulieren GUI</title>
		<link>https://robbelroot.de/blog/regentropfen-simulieren-gui/</link>
					<comments>https://robbelroot.de/blog/regentropfen-simulieren-gui/#comments</comments>
		
		<dc:creator><![CDATA[Robert Skibbe]]></dc:creator>
		<pubDate>Sat, 13 Feb 2016 17:30:50 +0000</pubDate>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Visual Basic .NET]]></category>
		<category><![CDATA[Visual Basic .NET Problemlösungen]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[raindrops]]></category>
		<category><![CDATA[regen]]></category>
		<category><![CDATA[regentropfen]]></category>
		<category><![CDATA[simulation]]></category>
		<category><![CDATA[simulieren]]></category>
		<category><![CDATA[spiel]]></category>
		<category><![CDATA[tipp]]></category>
		<category><![CDATA[trick]]></category>
		<category><![CDATA[vb]]></category>
		<category><![CDATA[vbnet]]></category>
		<category><![CDATA[visual basic]]></category>
		<guid isPermaLink="false">http://robbelroot.de/?p=963</guid>

					<description><![CDATA[<p>Der Beitrag <a href="https://robbelroot.de/blog/regentropfen-simulieren-gui/">Regentropfen simulieren GUI</a> erschien zuerst auf <a href="https://robbelroot.de">Robert Skibbe</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "VideoObject",
  "name": "Visual Basic 2015 - Regentropfen simulieren GUI [HowTo #050] ",
  "description": "Lerne wie man in Visual Basic .NET eine Art Regenwetter auf der grafischen Benutzeroberfläche realisieren kann",
  "thumbnailUrl": "https://i.ytimg.com/vi/ZXB-1HjkGCg/maxresdefault.jpg",
  "uploadDate": "2015-09-29T20:55:00+08:00",
  "duration": "PT8M47S",
  "publisher": {
    "@type": "Organization",
    "name": "RobbelRoot",
    "logo": {
      "@type": "ImageObject",
      "url": "https://robbelroot.de/wp-content/uploads/2015/04/cropped-RR_Logo_small_2.png"
    }
  },
  "contentUrl": "https://www.youtube.com/watch?v=ZXB-1HjkGCg",
  "embedUrl": "https://www.youtube.com/embed/ZXB-1HjkGCg",
  "interactionCount": "2347"
}
</script><br />
<br />
<p style="margin-bottom: 0;"><a class="fasc-button fasc-size-medium fasc-type-glossy fasc-rounded-medium fasc-ico-before dashicons-format-video" style="background-color: #ff0000; color: #ffffff;" href="https://www.youtube.com/watch?v=ZXB-1HjkGCg" target="_blank" data-fasc-style="background-color:#ff0000;color:#ffffff;">Auf YouTube ansehen</a> <a class="fasc-button fasc-size-medium fasc-type-glossy fasc-rounded-medium fasc-ico-before dashicons-download" style="background-color: #339e48; color: #ffffff;" href="https://robbelroot.de/vbsamplereq.php?v=ZXB-1HjkGCg" target="_blank" data-fasc-style="background-color:#339e48;color:#ffffff;">Code Download</a></p><br><iframe src="https://www.youtube.com/embed/ZXB-1HjkGCg" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe><br />
</p>
<p>Der Beitrag <a href="https://robbelroot.de/blog/regentropfen-simulieren-gui/">Regentropfen simulieren GUI</a> erschien zuerst auf <a href="https://robbelroot.de">Robert Skibbe</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://robbelroot.de/blog/regentropfen-simulieren-gui/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
