<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Вопрос по SetWinDelay]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=8489</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8489&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Вопрос по SetWinDelay».]]></description>
		<lastBuildDate>Thu, 25 Jul 2013 00:11:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Вопрос по SetWinDelay]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=74031#p74031</link>
			<description><![CDATA[<p>up</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Thu, 25 Jul 2013 00:11:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=74031#p74031</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Вопрос по SetWinDelay]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=73890#p73890</link>
			<description><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><div class="codebox"><pre><code>
ActiveWin:
    
    if !flagActiveWin
        Return
    
    SetWinDelay, 0
    
    SetTimer, ActiveWin, Off
    
    if CheckWin(IDWin)
        if !WinActive(&quot;ahk_id&quot; IDWin)
            WinActivate, ahk_id %IDWin% 

    SetTimer, ActiveWin, On
Return


</code></pre></div></div></div><p>Где целесообразнее ставить SetWinDelay, 0<br />В коде юзеров видел, что они ставят в начале функции или в самом верху ahk скрипта.<br />Может логичнее ставить перед WinActivate ?</p><p>Да и зачем SetWinDelay, когда есть sleep - непонятно ?</p>]]></description>
			<author><![CDATA[null@example.com (Hydrogenium)]]></author>
			<pubDate>Fri, 19 Jul 2013 03:57:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=73890#p73890</guid>
		</item>
	</channel>
</rss>
