<?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=5603&amp;type=atom" />
	<updated>2011-03-20T11:20:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=5603</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как запретить/пропустить перехват горячих клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=46459#p46459" />
			<content type="html"><![CDATA[<p>Работает. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[dimtdv]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26831</uri>
			</author>
			<updated>2011-03-20T11:20:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=46459#p46459</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: как запретить/пропустить перехват горячих клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=46458#p46458" />
			<content type="html"><![CDATA[<p>Попробуйте так, с префиксом $, чтобы использовался хук клавиатуры:<br /></p><div class="codebox"><pre><code>$!F5::
IfWinActive, PowerShellPlus
{
    Send {F5}{Alt Down}{Shift Down}{F1}{Shift Up}{Alt Up}
}
else
{
    Send {Alt Down}{F5}{Alt Up}
}
Return</code></pre></div><p>И не забывайте в конце процедуры ставить Return.</p>]]></content>
			<author>
				<name><![CDATA[YMP]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=81</uri>
			</author>
			<updated>2011-03-20T10:49:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=46458#p46458</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: как запретить/пропустить перехват горячих клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=46451#p46451" />
			<content type="html"><![CDATA[<p>Приветсвую всех.</p><p>Вопрос по AutoHotKey - мне нужно перехватывать определенную комбинацию клавиш (Alt+F5), но только в определенном приложении. Для всех остальных приложений данная комбинация клавиш перехватываться не должна.</p><p>Проблема в том, что если я использую вот такой код<br /></p><div class="codebox"><pre><code>!F5::
IfWinActive, PowerShellPlus
{
    Send {F5}{Alt Down}{Shift Down}{F1}{Shift Up}{Alt Up}
}
else
{
    Send {Alt Down}{F5}{Alt Up}
}</code></pre></div><p>то AutoHotKey похоже зацикливается, перехватывая комбинации клавиш, которые сам же и отправляет.</p><p>Поэтому вопрос - как можно отправить из AHK комбинацию клавиш так, чтобы он сам ее не перехватил?</p>]]></content>
			<author>
				<name><![CDATA[dimtdv]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26831</uri>
			</author>
			<updated>2011-03-20T09:19:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=46451#p46451</id>
		</entry>
</feed>
