<?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=15405&amp;type=atom" />
	<updated>2020-05-31T19:06:32Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=15405</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авто замена, но с переменной внутри]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139842#p139842" />
			<content type="html"><![CDATA[<p>Лучше так, иначе некоторые символы в переменной &quot;t&quot; могут быть восприняты не как текст.<br />По поводу сокращения задержки SetKeyDelay для надёжности, не помню чтобы с таким сталкивался. <br />0x4190419 - зачем вы переключаете язык, должно вроде печатать всегда как есть, что за приложение в котором происходит печать?</p><div class="codebox"><pre><code>
t = +!{ёй}

:?:треня:: 
	SendInput {Left 5} 
	SendInput % &quot;{Text}&quot; t &quot;  В &quot; 
	SendInput {Right 5}
	SendInput % &quot;{Text} пройдет тренировка...&quot;  
	Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2020-05-31T19:06:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139842#p139842</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авто замена, но с переменной внутри]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139832#p139832" />
			<content type="html"><![CDATA[<p><strong>serzh82saratov</strong><br />Пашет, вопрос есть. <br />Как перед &quot;В&quot; добавить переменную ? Наример t, у меня просто выводит %t% вместо значения переменной t.<br />Получилось вроде...<br /></p><div class="codebox"><pre><code>:?:треня::
SendMessage, 0x50,, 0x4190419,, A
SetKeyDelay 0
SendInput {Left 5} %t%
SendInput % &quot;{Text}  В &quot; 
SendInput {Right 5}
SendInput % &quot;{Text} пройдет тренировка...&quot;  
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[topk1s]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40827</uri>
			</author>
			<updated>2020-05-31T08:39:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139832#p139832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авто замена, но с переменной внутри]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139829#p139829" />
			<content type="html"><![CDATA[<p>А так?<br /></p><div class="codebox"><pre><code>:?:треня::</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2020-05-31T07:34:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139829#p139829</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авто замена, но с переменной внутри]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139827#p139827" />
			<content type="html"><![CDATA[<p><strong>serzh82saratov</strong><br />чет не могу активировать <img src="//forum.script-coding.com/img/smilies/hmm.png" width="15" height="15" /><br />Пишу 10:20треня жму пробел и 0 реакции</p>]]></content>
			<author>
				<name><![CDATA[topk1s]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40827</uri>
			</author>
			<updated>2020-05-31T07:18:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139827#p139827</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Авто замена, но с переменной внутри]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139826#p139826" />
			<content type="html"><![CDATA[<p>Наверное только подобным костылём, зная что перед &quot;треня&quot; 5 символов.<br /></p><div class="codebox"><pre><code>
:*:треня::
	SendInput {Left 5}
	SendInput % &quot;{Text}В &quot; 
	SendInput {Right 5}
	SendInput % &quot;{Text} пройдет тренировка...&quot;  
	Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2020-05-31T06:20:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139826#p139826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Авто замена, но с переменной внутри]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=139818#p139818" />
			<content type="html"><![CDATA[<p>Привет, нужна помощь. <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"><p>Пишу: 20:47треня (AHK срабатывает)<br />Получаю: В 20:47 пройдет тренировка...<br />Как сделать ? Время должно быть разное, например 15:11треня вместо 20:47треня (В 15:11 пройдет тренировка...)</p></div></div><p><img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[topk1s]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40827</uri>
			</author>
			<updated>2020-05-30T20:32:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=139818#p139818</id>
		</entry>
</feed>
