<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: GetKeyVK возвращает 0]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16396&amp;type=atom" />
	<updated>2021-06-04T19:05:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16396</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148282#p148282" />
			<content type="html"><![CDATA[<p>Потому-что компилятор переписанный. Но я все же решил отказаться от него и сделать новую защиту.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-06-04T19:05:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148282#p148282</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148280#p148280" />
			<content type="html"><![CDATA[<p>Запоминать не стоит, можно же скриптом получать эти коды.<br />И почему нельзя обновить версию АХК?</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2021-06-04T18:33:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148280#p148280</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148242#p148242" />
			<content type="html"><![CDATA[<p>Предлагаете просто запомнить эту таблицу?)</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-06-03T07:26:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148242#p148242</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148236#p148236" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Phoenixxx_Czar пишет:</cite><blockquote><p>Стоит ли вообще пытаться учиться понимать эти значения?</p></blockquote></div><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"><p><span class="postimg"><img src="https://theasciicode.com.ar/american-standard-code-information-interchange/ascii-codes-table.png" alt="https://theasciicode.com.ar/american-standard-code-information-interchange/ascii-codes-table.png" /></span></p></div></div>]]></content>
			<author>
				<name><![CDATA[Foma]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31521</uri>
			</author>
			<updated>2021-06-02T16:29:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148236#p148236</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148206#p148206" />
			<content type="html"><![CDATA[<p>Обидно, что не могу перебраться на версию поновее.. Пока сделал перевод русский букв в английские и для английских букв сделал &quot;ключ: значение&quot;.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-06-01T18:05:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148206#p148206</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148205#p148205" />
			<content type="html"><![CDATA[<p>Да, вроде был такой баг, теперь исправлен.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-01T17:56:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148205#p148205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148204#p148204" />
			<content type="html"><![CDATA[<p>Кстати, я тут лазал по тебе определения скан кода и наткнулся на данный комментарий: <a href="http://forum.script-coding.com/viewtopic.php?pid=62518#p62518">http://forum.script-coding.com/viewtopi … 518#p62518</a>, то есть моя же проблема.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-06-01T17:52:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148204#p148204</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148201#p148201" />
			<content type="html"><![CDATA[<p>Когда в начале числа <em>0х</em> — значит число представлено в 16-ричной системе счисления. Она удобна для представления байтов, поэтому в программировании ей часто пользуются, и нужно её понимать. Тут особо ничего сложного.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-01T17:43:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148201#p148201</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148200#p148200" />
			<content type="html"><![CDATA[<p>Кхм.. Я только что глянул ту функцию, что я находил и там правда конвертация идет. 0x53 это HEX значение? Стоит ли вообще пытаться учиться понимать эти значения?</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-06-01T17:38:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148200#p148200</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148199#p148199" />
			<content type="html"><![CDATA[<p>83 равно 0x53.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-01T17:35:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148199#p148199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148198#p148198" />
			<content type="html"><![CDATA[<p>Я на новых версиях так и не попробовал, если выше уже говорили, что все нормально, то дело в версии.. Ведь я привел именно код, который и вызывает &quot;ошибку&quot;.<br />Еще одно уточнение.. Функция для &quot;S&quot; возвращает &quot;83&quot;, но есть програмка на ahk, которая выдает vk код клавиши и там у нее 0x53 (то есть vk53). У AHK изменены коды клавиш?</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-06-01T17:32:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148198#p148198</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148188#p148188" />
			<content type="html"><![CDATA[<p><strong>Phoenixxx_Czar</strong>, попробуйте на текущей версии. Если ошибка также происходит, приведите скрипт, который явно её генерирует. Если нет, значит дело в версии AHK, и тут вряд ли кто станет заморачиваться с устаревшим интерпретатором.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-05-31T18:13:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148188#p148188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148180#p148180" />
			<content type="html"><![CDATA[<p>У меня AHK v1.1.25.01 ANSI-32, возможно дело еще в этом.</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-05-31T15:52:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148180#p148180</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148179#p148179" />
			<content type="html"><![CDATA[<p>Не могу получить 0 как ни старался. При любой раскладке.</p>]]></content>
			<author>
				<name><![CDATA[__Михаил__]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40928</uri>
			</author>
			<updated>2021-05-31T15:42:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148179#p148179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: GetKeyVK возвращает 0]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148178#p148178" />
			<content type="html"><![CDATA[<p>Я хочу узнать VK код клавиши, но получаю 0.</p><div class="codebox"><pre><code>msgbox, % GetKeyVK(&quot;s&quot;)</code></pre></div><p>Так происходит почему-то не всегда, а иногда всегда. Например, если указать &quot;s&quot; большую, выдаст 83 - вроде правильно, но через некоторое время она опять возвращает 0. Или же, если &quot;s&quot; выдает 0, мы меняем на &quot;S&quot; и получаем 83, возвращаем обратно &quot;s&quot; и она тоже выдает 83, потом мы опять выводим ее несколько раз и она возвращает 0.<br />Такое происходит с разными клавишами.</p><p>Так же пробовал данный вариант:<br /></p><div class="codebox"><pre><code>GetKeyVKx(key) {
	return format(&quot;vk{:02x}&quot;, GetKeyVK(key))
}</code></pre></div><p>Все тоже самое.</p><p>(Offtop: Это для ленивых &quot;AHK:&quot; в заголовок темы само вставляется? <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" />)</p><p>UPD: После написания темы, сразу пришла в голову идея: &quot;А что, если это из-за раскладки клавиатуры?&quot;. Проверил, и в правду.. Возвращается 0, когда буква на английском, а раскладка русская. Что можно с этим придумать?</p>]]></content>
			<author>
				<name><![CDATA[Phoenixxx_Czar]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34426</uri>
			</author>
			<updated>2021-05-31T15:33:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148178#p148178</id>
		</entry>
</feed>
