<?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=16516&amp;type=atom" />
	<updated>2021-08-05T13:16:43Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16516</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149145#p149145" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Samotek пишет:</cite><blockquote><p>А почему &quot;не должен&quot;</p></blockquote></div><p>Там вроде нечему вызывать залипание.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-08-05T13:16:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149145#p149145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149144#p149144" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Мой код не должен вызывать залипаний. Но если всё-таки по какой-то причине они возникают, добавьте перед return</p></blockquote></div><p>Я надеюсь! А почему &quot;не должен&quot; - из за использования символа клавиши ^+f вместо кода ^+vk46 ? Или из-за обработки ошибки клипборда?<br /></p><div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Но если всё-таки по какой-то причине они возникают, добавьте перед return</p></blockquote></div><p>Да сделал такую процедурку, буду ее везде в сомнительных местах втыкать.</p>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2021-08-05T13:11:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149144#p149144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149139#p149139" />
			<content type="html"><![CDATA[<p>Мой код не должен вызывать залипаний. Но если всё-таки по какой-то причине они возникают, добавьте перед return<br /></p><div class="codebox"><pre><code>Send {LShift Up}{RShift Up}{LCtrl Up}{RCtrl Up}{LWin Up}{RWin Up}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-08-05T12:49:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149139#p149139</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149138#p149138" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />А не подскажите, что в вашем коде должно предотвратить это залипание?</p>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2021-08-05T07:22:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149138#p149138</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149136#p149136" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Спасибо, попробую.</p>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2021-08-04T15:42:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149136#p149136</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149135#p149135" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>#If WinActive(&quot;ahk_class MozillaWindowClass&quot;)
$^+f::
   Clipboard := &quot;&quot;
   Send ^c
   ClipWait, 1
   if ErrorLevel {
      Send ^+f
      Return
   }
   ...
   Return
   </code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-08-04T15:09:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149135#p149135</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Как избавится от залипания клавиш?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=149133#p149133" />
			<content type="html"><![CDATA[<p>Привет!<br />Есть примерно такой код и несколько аналогичных. Иногда после его использования залипает одна из модифицирующих клавиш Shift, Control или Win. Или я что-то упустил в коде или подскажите действия по превентивному сбросу этих клавиш в исходное состояние после исполнения кода.<br /></p><div class="codebox"><pre><code>$^+vk46::    ;  &quot;Ctrl+Shift+F&quot; 
{ 
  ifWinActive %FireFox%
    {
      clipboard = ; Empty the clipboard
      Send ^{vk43}    ;  Ctrl+&quot;C&quot; скопируем выделенное
      k := Clipboard
      if k = 
      {
        send ^+{vk46}
        return
      }
      ...
      sleep 500
      WinActivate
      return
    }
  else  
    send ^+{vk46}
}
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Samotek]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32672</uri>
			</author>
			<updated>2021-08-04T09:13:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=149133#p149133</id>
		</entry>
</feed>
