<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11282&amp;type=atom" />
	<updated>2016-02-03T14:09:10Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11282</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100828#p100828" />
			<content type="html"><![CDATA[<p>Ясно, а по вопросу никто ничего не подскажет?</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-02-03T14:09:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100828#p100828</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100824#p100824" />
			<content type="html"><![CDATA[<p>Это не мой вариант, я просто взял его у <strong>Alectric</strong> и продемонстрировал как можно оформить код, чтобы он удобно читался.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2016-02-03T12:51:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100824#p100824</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100823#p100823" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong> ваш вариант срабатывает на много реже чем предложенный мной выше, и появляется поиск буквы...</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-02-03T10:22:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100823#p100823</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100809#p100809" />
			<content type="html"><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header"><strong>+</strong>&nbsp;OFF</div><div class="fancy_spoiler"><p>А мне проще вот так читать. Ещё команды пишу с заглавной буквы, а имена переменных задаю со строчной.<br /></p><div class="codebox"><pre><code>#SingleInstance force
#NoTrayIcon

#ifwinexist,ahk_class MozillaWindowClass

*!a::
ControlSend, ahk_parent, !{a down}
KeyWait a
SendEvent {a up}
return

*!s::
ControlSend, ahk_parent, !{s down}
KeyWait s
SendEvent {s up}
return

*!d::
ControlSend, ahk_parent, !{d down}
KeyWait d
SendEvent {d up}
return

*!e::
ControlSend, ahk_parent, !{e down}
KeyWait e
SendEvent {e up}
return

*!r::
ControlSend, ahk_parent, !{r down}
KeyWait r
SendEvent {r up}
return

*!w::
ControlSend, ahk_parent, !{w down}
KeyWait w
SendEvent {w up}
return

*!x::
ControlSend, ahk_parent, !{x down}
KeyWait x
SendEvent {x up}
return



*vk64::
ControlSend, ahk_parent, {alt down}{a down}
KeyWait vk64
SendEvent {a up}{alt up}
return

*vk65::
ControlSend, ahk_parent, !{s down}
KeyWait vk65
SendEvent {s up}{alt up}
return

*vk66::
ControlSend, ahk_parent, {alt down}{d down}
KeyWait vk66
SendEvent {d up}{alt up}
return

*vk62::
ControlSend, ahk_parent, {alt down}{e down}
KeyWait vk62
SendEvent {e up}{alt up}
return

*vk69::
ControlSend, ahk_parent, {alt down}{r down}
KeyWait vk65
SendEvent {r up}{alt up}
return

*vk61::
ControlSend, ahk_parent, {alt down}{w down}
KeyWait vk61
SendEvent {w up}{alt up}
return

*vk67::
ControlSend, ahk_parent, {alt down}{x down}
KeyWait vk67
SendEvent {x up}{alt up}
return

*vk60::
Run https://vk.com/audios9893863
return

#if</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2016-02-02T19:41:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100809#p100809</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100808#p100808" />
			<content type="html"><![CDATA[<p>Очень плохо работали все клавиши вида *vk... - Num клавиши.<br />Сейчас ситуация немного улучшилась - alt похоже всегда срабатывает, так как поиск по странице буквы нажатой хоткеем из-за не нажатого alt отсутствует. Но вопрос о не 100% доходе хоткея открыт. Бывает раз с 8 нажатий хоткей не сработает, бывает и раз с 30 нажатий, уже лучше, хоть как-то можно пользоваться)) Помогла строка SetKeyDelay , -1, 290, может можно ещё что-то добавить чтобы 100% нажатий доходили?</p><div class="codebox"><pre><code>; &lt;COMPILER: v1.1.20.02&gt;
#SingleInstance force
#NoTrayIcon
;SendMode Play
SetKeyDelay , -1, 290
;#HotkeyModifierTimeout 900
;#UseHook
*!a::
	IfWinNotExist ahk_class MozillaWindowClass
	return
	ControlSend, ahk_parent, !{a down}
	KeyWait a
	SendEvent {a up}
	return
*!s::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, ^!{s down}
	KeyWait s
	SendEvent {s up}
	return
*!d::
	IfWinNotExist ahk_class MozillaWindowClass
	return
	ControlSend, ahk_parent, !{d down}
	KeyWait d
	SendEvent {d up}
	return
*!e::
	IfWinNotExist ahk_class MozillaWindowClass
	return
	ControlSend, ahk_parent, !{e down}
	KeyWait e
	SendEvent {e up}
	return
*!r::
	IfWinNotExist ahk_class MozillaWindowClass
	return
	ControlSend, ahk_parent, !{r down}
	KeyWait r
	SendEvent {r up}
	return
*!w::
	IfWinNotExist ahk_class MozillaWindowClass
	return
	ControlSend, ahk_parent, !{w down}
	KeyWait w
	SendEvent {w up}
	return
*!x::
	IfWinNotExist ahk_class MozillaWindowClass
	return
	ControlSend, ahk_parent, !{x down}
	KeyWait x
	SendEvent {x up}
	return




*vk64::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{a}, ahk_class MozillaWindowClass8
	KeyWait vk64
	return
*vk65::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{s}, ahk_class MozillaWindowClass
	KeyWait vk65
	return
*vk66::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{d}, ahk_class MozillaWindowClass
	KeyWait vk66
	return
*vk62::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{e}, ahk_class MozillaWindowClass
	KeyWait vk62
	return
*vk69::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{r}, ahk_class MozillaWindowClass
	KeyWait vk65
	return
*vk61::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{w}, ahk_class MozillaWindowClass
	KeyWait vk61
	return
*vk67::
	IfWinExist ahk_class MozillaWindowClass
	ControlSend, ahk_parent, !{x}, ahk_class MozillaWindowClass
	KeyWait vk67
	return
*vk60::
	Run https://vk.com/audios9893863
	return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-02-02T19:01:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100808#p100808</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100806#p100806" />
			<content type="html"><![CDATA[<p>Непонятно, что где не работает? Хоть бы указал в скрипте что именно не работает.</p><p>OFF: Всем новичкам: &quot;Научитесь хоть как-то (хоть одним пробелом) форматировать свой код, а то читать - глаза сломаешь.&quot;<br /></p><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>#SingleInstance force
#NoTrayIcon

#ifwinexist,ahk_class MozillaWindowClass

*!a::
  ControlSend, ahk_parent, !{a down}
  KeyWait a
  SendEvent {a up}
  return
*!s::
  ControlSend, ahk_parent, !{s down}
  KeyWait s
  SendEvent {s up}
  return
*!d::
  ControlSend, ahk_parent, !{d down}
  KeyWait d
  SendEvent {d up}
  return
*!e::
  ControlSend, ahk_parent, !{e down}
  KeyWait e
  SendEvent {e up}
  return
*!r::
  ControlSend, ahk_parent, !{r down}
  KeyWait r
  SendEvent {r up}
  return
*!w::
  ControlSend, ahk_parent, !{w down}
  KeyWait w
  SendEvent {w up}
  return
*!x::
  ControlSend, ahk_parent, !{x down}
  KeyWait x
  SendEvent {x up}
  return



*vk64::
  ControlSend, ahk_parent, {alt down}{a down}
  KeyWait vk64
  SendEvent {a up}{alt up}
  return
*vk65::
  ControlSend, ahk_parent, !{s down}
  KeyWait vk65
  SendEvent {s up}{alt up}
  return
*vk66::
  ControlSend, ahk_parent, {alt down}{d down}
  KeyWait vk66
  SendEvent {d up}{alt up}
  return
*vk62::
  ControlSend, ahk_parent, {alt down}{e down}
  KeyWait vk62
  SendEvent {e up}{alt up}
  return
*vk69::
  ControlSend, ahk_parent, {alt down}{r down}
  KeyWait vk65
  SendEvent {r up}{alt up}
  return
*vk61::
  ControlSend, ahk_parent, {alt down}{w down}
  KeyWait vk61
  SendEvent {w up}{alt up}
  return
*vk67::
  ControlSend, ahk_parent, {alt down}{x down}
  KeyWait vk67
  SendEvent {x up}{alt up}
  return
*vk60::
  Run https://vk.com/audios9893863
  return

#if
</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2016-02-02T18:34:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100806#p100806</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Hotkey на NumLock клавишах не срабатывает]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100778#p100778" />
			<content type="html"><![CDATA[<p>Здравствуйте, hotkey по типу alt + ... отправляют действие как надо. Если ставлю хоткей на NumLock клавиши действия доходят через раз, отправляются как будто без нажатия alt, то-есть просто нажатие букв - в firefox появляется поиск этой буквы на странице. Почему нам клавиши не работают, как заставить работать?</p><div class="codebox"><pre><code>; &lt;COMPILER: v1.1.20.02&gt;
#SingleInstance force
#NoTrayIcon
*!a::
IfWinNotExist ahk_class MozillaWindowClass
return
ControlSend, ahk_parent, !{a down}
KeyWait a
SendEvent {a up}
return
*!s::
IfWinExist ahk_class MozillaWindowClass

ControlSend, ahk_parent, !{s down}
KeyWait s
SendEvent {s up}
return
*!d::
IfWinNotExist ahk_class MozillaWindowClass
return
ControlSend, ahk_parent, !{d down}
KeyWait d
SendEvent {d up}
return
*!e::
IfWinNotExist ahk_class MozillaWindowClass
return
ControlSend, ahk_parent, !{e down}
KeyWait e
SendEvent {e up}
return
*!r::
IfWinNotExist ahk_class MozillaWindowClass
return
ControlSend, ahk_parent, !{r down}
KeyWait r
SendEvent {r up}
return
*!w::
IfWinNotExist ahk_class MozillaWindowClass
return
ControlSend, ahk_parent, !{w down}
KeyWait w
SendEvent {w up}
return
*!x::
IfWinNotExist ahk_class MozillaWindowClass
return
ControlSend, ahk_parent, !{x down}
KeyWait x
SendEvent {x up}
return




*vk64::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, {alt down}{a down}
KeyWait vk64
SendEvent {a up}{alt up}
return
*vk65::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, !{s down}
KeyWait vk65
SendEvent {s up}{alt up}
return
*vk66::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, {alt down}{d down}
KeyWait vk66
SendEvent {d up}{alt up}
return
*vk62::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, {alt down}{e down}
KeyWait vk62
SendEvent {e up}{alt up}
return
*vk69::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, {alt down}{r down}
KeyWait vk65
SendEvent {r up}{alt up}
return
*vk61::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, {alt down}{w down}
KeyWait vk61
SendEvent {w up}{alt up}
return
*vk67::
IfWinExist ahk_class MozillaWindowClass
ControlSend, ahk_parent, {alt down}{x down}
KeyWait vk67
SendEvent {x up}{alt up}
return

*vk60::
Run https://vk.com/audios9893863
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2016-02-02T09:24:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100778#p100778</id>
		</entry>
</feed>
