<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Нажатие клавиш из переменной A_ThisHotkey]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8076&amp;type=atom" />
	<updated>2013-07-19T09:39:34Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8076</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш из переменной A_ThisHotkey]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=73895#p73895" />
			<content type="html"><![CDATA[<p>Оказалось, что подошло не для всех.<br /></p><div class="codebox"><pre><code>
Key = ^!+#=

MsgBox % RegExReplace( Key, &quot;S)[^\^!\+#].*&quot;, &quot;{$0}&quot;)
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-07-19T09:39:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=73895#p73895</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш из переменной A_ThisHotkey]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=69456#p69456" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Для обычных меток горячих клавиш</p></blockquote></div><p>Это должно подойти. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-02-13T20:45:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=69456#p69456</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Нажатие клавиш из переменной A_ThisHotkey]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=69454#p69454" />
			<content type="html"><![CDATA[<p>Для обычных меток горячих клавиш:<br /></p><div class="codebox"><pre><code>MsgBox % RegExReplace(&quot;#^!+vk31&quot;, &quot;S)\w+&quot;, &quot;{$0}&quot;)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-02-13T20:28:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=69454#p69454</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Нажатие клавиш из переменной A_ThisHotkey]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=69453#p69453" />
			<content type="html"><![CDATA[<p>Доброго времени суток.<br />Возник вопрос, как нажать кнопки из A_ThisHotkey, читаю из ини хоткей и всё хорошо если он без модификаторов Send, {%A_ThisHotkey%}, а если нет:</p><div class="codebox"><pre><code>
key = #^!+vk31   ; vk31 = 1
Hotkey, %key%, Presskey, UseErrorLevel
Return

Presskey:
; тут разные условия, и если False то надо нажать
Send, %A_ThisHotkey%
Return
</code></pre></div><p>Рассматриваю вариант с RegExReplace (правда ничего симпатичного в голову не приходит), но хотелось бы что-то по &quot;шустрее&quot;, т.к. скрипт перед этим ещё &quot;думает&quot; нужно-ли нажимать кнопку, выполняя ещё несколько условий.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-02-13T20:12:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=69453#p69453</id>
		</entry>
</feed>
