<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Send input в фоновое окно]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7175&amp;type=atom" />
	<updated>2012-05-02T20:32:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7175</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Send input в фоновое окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59943#p59943" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F5::
    MouseGetPos,,, hwnd
    ControlSend,, {F5}, ahk_id %hwnd%</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-05-02T20:32:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59943#p59943</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Send input в фоновое окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59941#p59941" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>~F5::
   MouseGetPos,,,id
   WinActivate, ahk_id %id%
   WinWaitActive, ahk_id %id%,,2
   SendInput {F5}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2012-05-02T20:24:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59941#p59941</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Send input в фоновое окно]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59940#p59940" />
			<content type="html"><![CDATA[<p>Задача: имеется n-ое кол-во окон одного размера, класса, но с разным положением и заголовками. В процессе выполнения скрипта одни окна закрываются, на их месте запускаются другие, с другим заголовком. Необходимо послать нажатие клавиши F5 в окно под курсором (оно может быть активно или неактивно), очень важно отследить, чтобы клавиша не сработала в активном окне без курсора.</p><br /><p><span class="postimg"><img src="http://i.imgur.com/1s7UQ.png" alt="http://i.imgur.com/1s7UQ.png" /></span></p><p>Как это лучше всего реализовать? Можно ли сделать, не зная заголовка окна? <br />У меня была идея активировать окно, когда на него наводят курсор.</p><p>Буду рад любой помощи.</p>]]></content>
			<author>
				<name><![CDATA[mj]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27396</uri>
			</author>
			<updated>2012-05-02T19:16:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59940#p59940</id>
		</entry>
</feed>
