<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Text in geöffneten Fenster schreiben]]></title><description><![CDATA[<p>Hallo erstmal,</p>
<p>folgendes Problem ...<br />
ich möchte im Eingabeaufforderungs Fenster einen vorher festgelegten text hineinschreiben lassen.</p>
<p>Ist das möglich ? und wenn wie?</p>
<p>Danke schonmal im vorraus</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/222651/text-in-geöffneten-fenster-schreiben</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 16:20:30 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/222651.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Sep 2008 17:44:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Text in geöffneten Fenster schreiben on Mon, 15 Sep 2008 17:44:36 GMT]]></title><description><![CDATA[<p>Hallo erstmal,</p>
<p>folgendes Problem ...<br />
ich möchte im Eingabeaufforderungs Fenster einen vorher festgelegten text hineinschreiben lassen.</p>
<p>Ist das möglich ? und wenn wie?</p>
<p>Danke schonmal im vorraus</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1582385</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1582385</guid><dc:creator><![CDATA[Ragnos]]></dc:creator><pubDate>Mon, 15 Sep 2008 17:44:36 GMT</pubDate></item><item><title><![CDATA[Reply to Text in geöffneten Fenster schreiben on Mon, 15 Sep 2008 18:04:04 GMT]]></title><description><![CDATA[<p>welches betriebssystem?<br />
Meinst du mit &quot;Eingabeaufforderungs Fenster&quot; die Konsole?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1582399</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1582399</guid><dc:creator><![CDATA[2fragen]]></dc:creator><pubDate>Mon, 15 Sep 2008 18:04:04 GMT</pubDate></item><item><title><![CDATA[Reply to Text in geöffneten Fenster schreiben on Mon, 15 Sep 2008 18:05:46 GMT]]></title><description><![CDATA[<p>Genau die meine ich ...<br />
möchte sozusagen eine tastatur eingabe simulieren die das Programm ausführt</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1582404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1582404</guid><dc:creator><![CDATA[Ragnos]]></dc:creator><pubDate>Mon, 15 Sep 2008 18:05:46 GMT</pubDate></item><item><title><![CDATA[Reply to Text in geöffneten Fenster schreiben on Mon, 15 Sep 2008 18:19:57 GMT]]></title><description><![CDATA[<p>Windows nehm ich mal an.<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-165868.html" rel="nofollow">http://www.c-plusplus.net/forum/viewtopic-var-t-is-165868.html</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1582415</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1582415</guid><dc:creator><![CDATA[2fragen]]></dc:creator><pubDate>Mon, 15 Sep 2008 18:19:57 GMT</pubDate></item><item><title><![CDATA[Reply to Text in geöffneten Fenster schreiben on Tue, 16 Sep 2008 12:21:08 GMT]]></title><description><![CDATA[<p>Hab leider noch ein kleines Problem...<br />
wenn ich die Eingabeaufforderung per hand öffne schreibt er zwar etwas aber nicht in die Eingabeaufforderung sondern in ein extra Fester was geöffnet wird???<br />
Wenn ich das hinzufüge um die eingabeaufforderung zu starten passiert gar nix mehr außer das sich das Fenster öffnent (wie es auch soll, nur wird nix eingefügt):</p>
<p>system(&quot;c:\\windows\\system32\\cmd.exe&quot;);<br />
Sleep (1000);</p>
<p>//Start</p>
<p>#define _WIN32_WINNT 0x0501<br />
#include &lt;windows.h&gt;<br />
#include &lt;iostream&gt;</p>
<p>using namespace std;</p>
<p>void main()<br />
{<br />
system(&quot;c:\\windows\\system32\\cmd.exe&quot;);<br />
Sleep (1000);</p>
<p>char end;<br />
HWND windowHandle = FindWindow(0, &quot;Administrator:C\Users\Stephan\Documants\C##\Projekt1.exe&quot;);<br />
INPUT *key;<br />
if(windowHandle == NULL)<br />
cout &lt;&lt; &quot;not found&quot;;<br />
SetForegroundWindow(windowHandle);<br />
Sleep(1000);</p>
<p>key = new INPUT;<br />
key-&gt;type = INPUT_KEYBOARD;<br />
key-&gt;ki.wVk = 41;<br />
key-&gt;ki.dwFlags = 0;<br />
key-&gt;ki.time = 0;<br />
key-&gt;ki.wScan = 0;<br />
key-&gt;ki.dwExtraInfo = 0;<br />
SendInput(1,key,sizeof(INPUT));<br />
key-&gt;ki.dwExtraInfo = KEYEVENTF_KEYUP;<br />
SendInput(1,key,sizeof(INPUT));<br />
cout &lt;&lt; &quot;Test&quot;;<br />
cin &gt;&gt; end;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1582828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1582828</guid><dc:creator><![CDATA[Ragnos]]></dc:creator><pubDate>Tue, 16 Sep 2008 12:21:08 GMT</pubDate></item><item><title><![CDATA[Reply to Text in geöffneten Fenster schreiben on Tue, 16 Sep 2008 13:49:21 GMT]]></title><description><![CDATA[<p>Dieser Thread wurde von Moderator/in <a href="http://www.c-plusplus.net/forum/profile-var-mode-is-viewprofile-and-u-is-14199.html" rel="nofollow">Phoemuex</a> aus dem Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-15.html" rel="nofollow">C++</a> in das Forum <a href="http://www.c-plusplus.net/forum/viewforum-var-f-is-4.html" rel="nofollow">WinAPI</a> verschoben.</p>
<p>Im Zweifelsfall bitte auch folgende Hinweise beachten:<br />
<a href="http://www.c-plusplus.net/forum/viewtopic-var-t-is-39405.html" rel="nofollow">C/C++ Forum :: FAQ - Sonstiges :: Wohin mit meiner Frage?</a></p>
<p><em>Dieses Posting wurde automatisch erzeugt.</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1582899</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1582899</guid><dc:creator><![CDATA[C++ Forumbot]]></dc:creator><pubDate>Tue, 16 Sep 2008 13:49:21 GMT</pubDate></item></channel></rss>