<?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=13393&amp;type=atom" />
	<updated>2018-01-21T22:32:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13393</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123281#p123281" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Move(n, direction:=&quot;Right&quot;) {
	SendInput % &quot;+{&quot; direction &quot; &quot; n//5 &quot;}{&quot; direction &quot; &quot; Mod(n, 5) &quot;}&quot;
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2018-01-21T22:32:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123281#p123281</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123277#p123277" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong>, спасибо, работает! Но не понимаю, как прикрутить это к отправлениям клавиш.<br />Так вроде работает. Правильно?<br /></p><div class="codebox"><pre><code>n := 20
5 := Floor(n/5)
1 := Mod(n, 5)
SendInput +{vk41 %5%}{vk41 %1%}


</code></pre></div>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-01-21T17:54:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123277#p123277</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123276#p123276" />
			<content type="html"><![CDATA[<p>А, понял, нужно еще десятичную цифру разделить на 2.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-01-21T17:53:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123276#p123276</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123275#p123275" />
			<content type="html"><![CDATA[<p>Так в задании не было указано отделить целые части числа от десятичных.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-01-21T17:45:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123275#p123275</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123274#p123274" />
			<content type="html"><![CDATA[<p>Так а почему, если я делю так:<br /></p><div class="codebox"><pre><code>var1 := 101
var2 := var1 / 5
MsgBox % var2</code></pre></div><p>У меня получается 20.200000.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-01-21T17:42:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123274#p123274</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123273#p123273" />
			<content type="html"><![CDATA[<p>456 = 91*5 + 1</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-01-21T17:37:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123273#p123273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123272#p123272" />
			<content type="html"><![CDATA[<p>Ну, если я 456 поделю на 5, будет же число 912, а не 911, или я чего не понимаю?</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-01-21T17:36:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123272#p123272</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123271#p123271" />
			<content type="html"><![CDATA[<p>Я вас не понимаю.<br />Я привел правильный код, вы написали, что ошибка и привели неправильный.<br />Что вы хотели этим показать?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-01-21T17:32:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123271#p123271</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123270#p123270" />
			<content type="html"><![CDATA[<p>Зачем? Только если ошибка, что можно проще написать.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-01-21T17:30:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123270#p123270</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123269#p123269" />
			<content type="html"><![CDATA[<p>Ну так это ж ваш код ошибается.<br />Предлагаете мне его исправить?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-01-21T17:25:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123269#p123269</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123268#p123268" />
			<content type="html"><![CDATA[<p><a href="https://autohotkey.com/docs/commands/Math.htm">https://autohotkey.com/docs/commands/Math.htm</a>.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-01-21T17:23:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123268#p123268</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123267#p123267" />
			<content type="html"><![CDATA[<p><strong>svoboden</strong>, зачем?<br /></p><div class="codebox"><pre><code>n := 32
msgbox % Floor(n/5) &quot;`n&quot; Mod(n, 5)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-01-21T17:14:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123267#p123267</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123266#p123266" />
			<content type="html"><![CDATA[<p>RegEx.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-01-21T17:02:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123266#p123266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Конвертер числа в нажатие клавиш]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=123265#p123265" />
			<content type="html"><![CDATA[<p>В программе видеомонтажа Premiere Pro при нажатии на Right курсор переходит вперед на один кадр, при нажатии на Shift+Right - на пять кадров.<br />Помогите, пожалуйста, число из переменной сконвернтировать в нажатия таким образом, чтобы переход по кадрам происхордил наибыстрым образом. Например, если переменная (заданное кол-во кадров) равна 32, то:<br /></p><div class="codebox"><pre><code>SendInput +{Right 6}{Right 2}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[becauseim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33149</uri>
			</author>
			<updated>2018-01-21T16:07:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=123265#p123265</id>
		</entry>
</feed>
