<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Проблема Duplicate hotkey]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11170&amp;type=atom" />
	<updated>2015-12-23T00:50:05Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11170</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Проблема Duplicate hotkey]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99880#p99880" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>global var = 1
#If WinActive(&quot;ahk_exe Skype.exe&quot;) and (var = 1)
$*vk52::																	; R Key
ToolTip, 1
Return
#If

#If WinActive(&quot;ahk_exe Skype.exe&quot;) and (var != 1)
$*vk52::Return														; R Key
#If</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-12-23T00:50:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99880#p99880</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Проблема Duplicate hotkey]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99879#p99879" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
global var = 1
#If WinActive(&quot;ahk_exe Skype.exe&quot;) 
If (var = 1)
{
$*vk52::																	; R Key
ToolTip, 1
Return
}
else
$*vk52::Return														; R Key
#If</code></pre></div><p>Как в таком случае избежать ошибки? Можно под горячую клавишу записывать условие If var, но такой вариант мне не подходит.</p>]]></content>
			<author>
				<name><![CDATA[Странникх]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30605</uri>
			</author>
			<updated>2015-12-23T00:00:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99879#p99879</id>
		</entry>
</feed>
