<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14933&amp;type=atom" />
	<updated>2019-09-22T15:16:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14933</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=136145#p136145" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>BSN201904, а что, мой код не работает?</p></blockquote></div><p>Ваш код сложней, я не понял что он делает и как.<br />Потому не пробовал его</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-09-22T15:16:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=136145#p136145</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135814#p135814" />
			<content type="html"><![CDATA[<p><strong>BSN201904</strong>, а что, мой код не работает?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-08-22T18:42:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135814#p135814</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135813#p135813" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>EV пишет:</cite><blockquote><p>A_TimeSinceThisHotkey. Количество миллисекунд, прошедших с момента нажатия кнопки.</p></blockquote></div><p>Спасибо большое за помощь. Попробую.<br />Кажется это то, что надо</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-22T18:37:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135813#p135813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135786#p135786" />
			<content type="html"><![CDATA[<p>A_TimeSinceThisHotkey. Количество миллисекунд, прошедших с момента нажатия кнопки.<br /></p><div class="codebox"><pre><code>Left::
KeyWait, Left
If A_TimeSinceThisHotkey &gt;= 500
Send {Home} 
else
Send {Left}
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[EV]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40256</uri>
			</author>
			<updated>2019-08-20T11:59:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135786#p135786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135718#p135718" />
			<content type="html"><![CDATA[<p><span style="color: green"><strong>BSN201904</strong>, ничего и не ломалось.</span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-08-18T20:31:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135718#p135718</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135714#p135714" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>BSN201904, а что у Вас на этом месте?</p></blockquote></div><p>Упс. Теперь появилась возможность создавать тему.<br />Спасибо что починили.<br />Это баг скрипта форума?</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-18T20:19:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135714#p135714</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135687#p135687" />
			<content type="html"><![CDATA[<p><strong>BSN201904</strong>, а что у Вас на этом месте?<br /><span class="postimg"><img src="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;item=1819" alt="http://forum.script-coding.com/misc.php?action=pun_attachment&amp;amp;item=1819" /></span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-08-18T06:59:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135687#p135687</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135686#p135686" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>wisgest пишет:</cite><blockquote><p>А как быть с прокрутТкой при зажатой клавише? Я не хочу её лишаться.</p></blockquote></div><p>Всё просто.<br />Если кнопка удерживалась менее 0,1 сек - это &quot;стрелка вниз&quot;<br />Если более 0,1 сек но менее 0.5 - это &quot;PgDn&quot;<br />Если более 0,5 сек - это прокрутка (автоповтор &quot;стрелки вниз&quot;)</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-18T05:09:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135686#p135686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135685#p135685" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>ypppu пишет:</cite><blockquote><p>BSN201904, у Вас есть кнопка Начать тему?</p></blockquote></div><p>нет</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-18T05:05:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135685#p135685</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135659#p135659" />
			<content type="html"><![CDATA[<p><strong>BSN201904</strong>, у Вас есть кнопка <span style="color: blue"><strong>Начать тему</strong></span>?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-08-17T17:46:50Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135659#p135659</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135654#p135654" />
			<content type="html"><![CDATA[<p><strong>wisgest</strong><br />Но путь решения проблемы у нас один:<br />Научить систему различать &quot;длинные&quot; и &quot;короткие&quot; нажатия клавиш.</p><p>Чтобы короткое нажатие воспринималось как &quot;стрелка влево&quot;, а длинное - как &quot;Home&quot;.</p><p>И потом. Из-за какого-то глюка форума я не могу создавать темы</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-17T14:19:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135654#p135654</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135651#p135651" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>BSN201904 пишет:</cite><blockquote><div class="quotebox"><cite>wisgest пишет:</cite><blockquote><p>Лучше не смешивать.</p></blockquote></div><p>Хорошо.<br />Скажу по другому: у меня проблема один-в-один как у Вас.<br />Т.е. точно такая же</p></blockquote></div><p>Нет. Переключение с помощью Fn — стандартное поведение. У меня переключение происходит клавишами Shift и при этом их собственное действие не отменяется, т.е. Left и Shift-Home доступны, а Shift-Left и Home — нет. Это совсем другая проблема. (Даже, если бы я захотел сделать переключение по долгому нажатию, пришлось бы дополнительно учитывать влияние Shift.) Поэтому лучше не смешивать разнородные вопросы и перенести в отдельную тему.</p>]]></content>
			<author>
				<name><![CDATA[wisgest]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=3850</uri>
			</author>
			<updated>2019-08-17T13:56:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135651#p135651</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135649#p135649" />
			<content type="html"><![CDATA[<p>Попробуйте такое:<br /></p><div class="codebox"><pre><code>for k, v in {Left: &quot;Home&quot;, Right: &quot;End&quot;, Up: &quot;PGUP&quot;, Down: &quot;PGDN&quot;} {
   handler := Func(&quot;SetHotkey&quot;).Bind(k, v)
   Hotkey, % &quot;~*&quot; . k, % handler, On
}

SetHotkey(key1, key2) {
   KeyWait, % key1, T.5
   if ErrorLevel
      SendInput, {Blind}{%key2%}
}</code></pre></div><p>Или такое:<br /></p><div class="codebox"><pre><code>for k, v in {Left: &quot;Home&quot;, Right: &quot;End&quot;, Up: &quot;PGUP&quot;, Down: &quot;PGDN&quot;} {
   handler := Func(&quot;SetHotkey&quot;).Bind(k, v)
   Hotkey, % &quot;$*&quot; . k, % handler, On
}

SetHotkey(key1, key2) {
   SendInput, {Blind}{%key1% Down}
   KeyWait, % key1, T.5
   if ErrorLevel {
      SendInput, {Blind}{%key2%}
      KeyWait, % key1
   }
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2019-08-17T13:03:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135649#p135649</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135647#p135647" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>wisgest пишет:</cite><blockquote><p>Лучше не смешивать.</p></blockquote></div><p>Хорошо.<br />Скажу по другому: у меня проблема один-в-один как у Вас.<br />Т.е. точно такая же</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-17T09:49:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135647#p135647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK:В ноутбуке Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=135644#p135644" />
			<content type="html"><![CDATA[<p><span style="color: green">Перенесено из темы <a href="http://forum.script-coding.com/viewtopic.php?id=8382">AHK: Клавиши со стрелками на нетбуке </a></span></p><br /><p>У меня аналогичная проблема (поэтому не стал создавать отдельной темы): в нетбуке клавиши Left, Right, Up, Down совмещены с Home, End, PgUp, PgDn, причём, вторые задействуются только с модификатором Fn. Что в ряде случаев неудобно.<br />К примеру в некоторых программах есть &quot;горячие клавиши&quot;, использующие Home, End, PgUp, PgDn (к примеру ALT+SHIFT+PgDn).<br />И они на моём нетбуке из 3-х кнопочных превращаются в 4-х кнопочные.<br />Что крайне неудобно.<br />Можно ли сделать так, чтобы &quot;длинное&quot; нажатие &quot;&lt;-&quot; воспринималось как &quot;Home&quot;, &quot;длинное&quot; нажатие &quot;-&gt;&quot; воспринималось как &quot;End&quot; и т.д.</p><p>А?</p>]]></content>
			<author>
				<name><![CDATA[BSN201904]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40212</uri>
			</author>
			<updated>2019-08-17T07:18:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=135644#p135644</id>
		</entry>
</feed>
