<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7165&amp;type=atom" />
	<updated>2012-05-08T21:04:16Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=7165</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=60083#p60083" />
			<content type="html"><![CDATA[<p>вместо Send Scancode &amp; VirtualKey как изпользовать SendMessage\PostMessage для нажатия кнопки?<br />я заметил что Send на ePSXe (OpenGL\Direct3D) играх очень неточно отрабатывает, т.е. не точно повторяет, возможен глюк с залипанием, очень больший отклик. </p><p>помогите, нажать кнопку F3 в любом активном окне при помощи WM<br /></p><div class="codebox"><pre><code>SendMessage WM_COMMAND,, F3, A
SendMessage WM_APPCOMMAND,, Errorlevel, F3, A</code></pre></div><p>вполне возможно это WM единственное решение.</p>]]></content>
			<author>
				<name><![CDATA[h010key]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27662</uri>
			</author>
			<updated>2012-05-08T21:04:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=60083#p60083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59872#p59872" />
			<content type="html"><![CDATA[<p>Кто нибудь ещё знает как решить проблему?</p>]]></content>
			<author>
				<name><![CDATA[Даниил]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27940</uri>
			</author>
			<updated>2012-05-01T04:55:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59872#p59872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59870#p59870" />
			<content type="html"><![CDATA[<p><a href="http://www.autohotkey.com/docs/FAQ.htm#games">http://www.autohotkey.com/docs/FAQ.htm#games</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2012-04-30T22:02:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59870#p59870</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59869#p59869" />
			<content type="html"><![CDATA[<p>Вот я в чистый документ вот это скопировал:<br /></p><div class="quotebox"><blockquote><p>LButton::<br />&nbsp; &nbsp;Send, {LButton Down}{vk33 Down}{vk51 Down}<br />&nbsp; &nbsp;KeyWait, % A_ThisHotkey<br />&nbsp; &nbsp;Send, {LButton Up}{vk33 Up}{vk51 Up}<br />&nbsp; &nbsp;Return</p></blockquote></div><p>В игре никаких эффектов, в общем игра PontBlank, мне нужно чтобы при выстреле он моментально менял оружие на нож и обратно на основное (3 и q).<br />Сделал по второму варианту и ничего не работает, помогите <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Даниил]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27940</uri>
			</author>
			<updated>2012-04-30T21:51:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59869#p59869</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59867#p59867" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>Это два разных варианта охватывающих неоднозначность формулировки...</p></blockquote></div><p>Именно. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Grey]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25792</uri>
			</author>
			<updated>2012-04-30T21:38:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59867#p59867</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59865#p59865" />
			<content type="html"><![CDATA[<p>Это два разных варианта охватывающих неоднозначность формулировки:<br /></p><div class="quotebox"><blockquote><p>мне нужно, чтобы при нажатии левой кнопки мыши нажималась эта же кнопка, а так же кнопка &quot;3&quot; и кнопка &quot;q&quot;.</p></blockquote></div><p>Первый вариант отправляет необходимую последовательность нажатий при удержании Lbutton каждые 50 мс<br />Второй — один раз на каждый клик Lbutton.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2012-04-30T21:16:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59865#p59865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59864#p59864" />
			<content type="html"><![CDATA[<p>Не понял, это два разных варианта которые нужно прописать в едит скрипт? Если да, то я так и сделал, не работает(<br />Помогите пожалуйста!</p>]]></content>
			<author>
				<name><![CDATA[Даниил]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27940</uri>
			</author>
			<updated>2012-04-30T20:51:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59864#p59864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59860#p59860" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>SetKeyDelay, 50, 10
LButton::
   While, GetKeyState(A_ThisHotkey, &quot;P&quot;)
      Send, {LButton}{vk33}{vk51}
   Return</code></pre></div><div class="codebox"><pre><code>LButton::
   Send, {LButton Down}{vk33 Down}{vk51 Down}
   KeyWait, % A_ThisHotkey
   Send, {LButton Up}{vk33 Up}{vk51 Up}
   Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Grey]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25792</uri>
			</author>
			<updated>2012-04-30T18:46:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59860#p59860</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59855#p59855" />
			<content type="html"><![CDATA[<p>Теперь в порядке.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2012-04-30T18:13:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59855#p59855</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59854#p59854" />
			<content type="html"><![CDATA[<p>Теперь нормально? Я просто не понял о чем вы, жду ответов</p>]]></content>
			<author>
				<name><![CDATA[Даниил]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27940</uri>
			</author>
			<updated>2012-04-30T18:05:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59854#p59854</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59850#p59850" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>Даниил</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>2012-04-30T16:17:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59850#p59850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Не срабатывает горячая клавиша в окне приложения]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=59849#p59849" />
			<content type="html"><![CDATA[<p>Не работает нужный мне скрипт в игре, хотя<strong>,</strong> если честно<strong>,</strong> я не уверен<strong>,</strong> все ли я правильно сделал!<br />Но<strong>,</strong> если открыть блокнот или текстовый документ, то при нажатии нужной клавиши пишутся нужные знаки!<br />Вообще мне нужно<strong>,</strong> чтобы при нажатии левой кнопки мыши нажималась эта же кнопка, а так же кнопка &quot;3&quot; и кнопка &quot;q&quot;.<br />Вот сам скрипт (<strong>м</strong>ожет он не правильный, вы подправьте<strong>,</strong> пожалуйста):&nbsp; </p><div class="codebox"><pre><code>LButton::SendPlay {LButton}3q</code></pre></div><p>Так вот<strong>,</strong> если нажать кнопку мыши в <strong>&quot;Б</strong>локноте&quot;, то 3q появится, а вот в игре никаких эффектов! Хотя в чате тоже эти знаки появляются, но мне нужно<strong>,</strong> чтобы они задействовались в самом игровом процессе, возможно ли такое?</p><p>Заранее благодарен!</p>]]></content>
			<author>
				<name><![CDATA[Даниил]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27940</uri>
			</author>
			<updated>2012-04-30T15:43:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=59849#p59849</id>
		</entry>
</feed>
