<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=18204</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=18204&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Поменять функциями две клавиши - Insert и PrntScr».]]></description>
		<lastBuildDate>Mon, 27 May 2024 18:42:31 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160992#p160992</link>
			<description><![CDATA[<p>Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (fornit)]]></author>
			<pubDate>Mon, 27 May 2024 18:42:31 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160992#p160992</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160987#p160987</link>
			<description><![CDATA[<p><a href="https://forum.script-coding.com/viewtopic.php?id=5690">AHK: Определение виртуальных и скан-кодов клавиатуры</a><br />Или проще:<br /></p><div class="codebox"><pre><code>Gui, +AlwaysOnTop
Gui, Font, s12, Calibri
Gui, Add, Edit, w200 h100
Gui, Show

hook := InputHook()
hook.KeyOpt(&quot;{All}&quot;, &quot;NS&quot;)
hook.OnKeyDown := Func(&quot;GetKeyInfo&quot;)
hook.Start()

GetKeyInfo(hook, vk, sc) {
    GuiControl,, Edit1, % &quot;Name: &quot; . GetKeyName(Format(&quot;vk{:x}sc{:x}&quot;, vk, sc)) . &quot;`n&quot;
                        . &quot;vk: &quot;   . Format(&quot;0x{:02x}&quot;, vk) . &quot;`n&quot;
                        . &quot;sc: &quot;   . Format(&quot;0x{:02x}&quot;, sc)
}

GuiClose() {
    ExitApp
}</code></pre></div><p>Запустите тот или другой скрипт, понажимайте клавиши. Если реакции на клавишу нет, значит у неё нет кодов (аппаратная).</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 27 May 2024 17:09:06 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160987#p160987</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160986#p160986</link>
			<description><![CDATA[<p>И еще один вопрос. Купил давно BT Keyboard от Микрософт. Эти извращенцы убрали из нее несколько привычных клавиш, типа NumLock, зато добавили кучу таких, которых в нормальной клаве нет -- например &quot;смайлик&quot; или &quot;замок&quot;, которая сразу над Backspace -- очень удобно, палец промахнулся и комп сразу залочен...</p><p>Как найти коды этих нестандартных клавиш?</p>]]></description>
			<author><![CDATA[null@example.com (fornit)]]></author>
			<pubDate>Mon, 27 May 2024 11:54:11 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160986#p160986</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160985#p160985</link>
			<description><![CDATA[<p>Можно ссылочку? Я долго искал еще до того как сюда написал.</p><p>P.S. Нашел с трудом. Рабочий вариант такой:</p><div class="codebox"><pre><code>Insert::PrintScreen
PrintScreen::Insert
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (fornit)]]></author>
			<pubDate>Mon, 27 May 2024 10:51:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160985#p160985</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160984#p160984</link>
			<description><![CDATA[<p>В справке есть список названий клавиш.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 27 May 2024 10:34:54 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160984#p160984</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160983#p160983</link>
			<description><![CDATA[<div class="codebox"><pre><code>Insert::PrntScr
PrntScr::Insert
</code></pre></div><p><span class="postimg"><img src="https://i.imgur.com/6RCneGq.png" alt="https://i.imgur.com/6RCneGq.png" /></span></p><p>Ничего не выходит...</p>]]></description>
			<author><![CDATA[null@example.com (fornit)]]></author>
			<pubDate>Mon, 27 May 2024 10:32:30 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160983#p160983</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160982#p160982</link>
			<description><![CDATA[<p>А зачем коды клавиш? Используйте их названия.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Mon, 27 May 2024 08:38:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160982#p160982</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160981#p160981</link>
			<description><![CDATA[<p>Только нужно знать коды этих клавиш.</p>]]></description>
			<author><![CDATA[null@example.com (fornit)]]></author>
			<pubDate>Mon, 27 May 2024 00:56:36 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160981#p160981</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160980#p160980</link>
			<description><![CDATA[<p>В справке же есть пример переназначения клавиш.</p>]]></description>
			<author><![CDATA[null@example.com (__Михаил__)]]></author>
			<pubDate>Sun, 26 May 2024 20:52:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160980#p160980</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Поменять функциями две клавиши - Insert и PrntScr]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=160979#p160979</link>
			<description><![CDATA[<p>Мне продали дефектную клавиатуру для ноута, и при нажатии Insert в верхней строке он срабатывает как PrntScr, а PrntScr соотв как Insert. Как мне поменять эти функции глобально? Желательно, чтобы так работало всегда и везде?</p>]]></description>
			<author><![CDATA[null@example.com (fornit)]]></author>
			<pubDate>Sun, 26 May 2024 19:54:56 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=160979#p160979</guid>
		</item>
	</channel>
</rss>
