<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ControlSend в неактивный PotPlayer]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11066&amp;type=atom" />
	<updated>2015-11-07T11:55:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11066</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend в неактивный PotPlayer]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98753#p98753" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>Пример использования команды:<br /></p><div class="codebox"><pre><code>;ControlSend [, Control, Keys, WinTitle, WinText, ExcludeTitle, ExcludeText]
;ControlGet, OutputVar, Cmd [, Value, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]

1:: ;Посылает текст в эл. упр. по ClassNN.
ControlSend, Edit1, Test-text-ClassNN `n, Безымянный - Блокнот
Return


2:: ;Посылает текст в эл. упр. по HWND.
ControlGet, OutputVar, Hwnd,, Edit1,  Безымянный - Блокнот
ControlSend, , Test-text-HWND `n, ahk_id %OutputVar%
Return


3:: ;Посылает текст родительскому окну эл. упр. В &quot;Блокноте&quot; не имеет эффекта.
ControlSend, ahk_parent, Test-text-ahk_parent `n,, Безымянный - Блокнот
Return</code></pre></div></blockquote></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-07T11:55:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98753#p98753</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend в неактивный PotPlayer]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98750#p98750" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Извиняюсь!</p>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2015-11-07T11:45:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98750#p98750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend в неактивный PotPlayer]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98747#p98747" />
			<content type="html"><![CDATA[<p>Я привел пример для всех контролов, что дает мне WinSpy и ни один не работает! Может они не могут иметь фокуса. Там есть все ваши варианты, кроме второго, для которого, насколько я понял, тоже надо знать имя контрола, которое WinSpy мне и не дает!&nbsp; Тогда как послать сообщение именно неактивному окну PotPlayer? В Potplayer клавиши объявлял и как &quot;глобальные&quot; и как нет.</p>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2015-11-07T11:36:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98747#p98747</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend в неактивный PotPlayer]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98745#p98745" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>Пример использования команды:<br />...</p></blockquote></div><p>Ответ будет возвращён, когда тема будет оформлена правильно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-07T11:29:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98745#p98745</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend в неактивный PotPlayer]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98744#p98744" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>Samotek</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте заголовок.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-07T11:25:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98744#p98744</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ControlSend в неактивный PotPlayer]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98734#p98734" />
			<content type="html"><![CDATA[<p>Привет! просто send работает, а для ControlSend никак не могу послать клавишу. Все варианты не работают!<br /></p><div class="codebox"><pre><code>  ControlSend, Afx:63250000:8:00010005:01900011:000000003, {F9}, ahk_class %PotWin%
  ControlSend, class_nn Afx:63250000:8:00010005:01900011:000000003, {F9}, ahk_class %PotWin%
  ControlSend, AfxWnd120su5, {F9}, ahk_class %PotWin%
  ControlSend, AfxWnd120su4, {F9}, ahk_class %PotWin%
  ControlSend, , {F9}, ahk_class %PotWin%
  ControlSend, ahk_parent, {F9}, ahk_class %PotWin%
</code></pre></div><p>Подскажите, пожалуйста, как реализовать?</p>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2015-11-07T10:17:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98734#p98734</id>
		</entry>
</feed>
