<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; SAMP: Ускорить срабатывание скрипта который нажимает на клавишу "N".]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=12842&amp;type=atom" />
	<updated>2017-07-31T18:05:24Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=12842</id>
		<entry>
			<title type="html"><![CDATA[Re: SAMP: Ускорить срабатывание скрипта который нажимает на клавишу "N".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117691#p117691" />
			<content type="html"><![CDATA[<p><strong>shahlik002</strong> Нужно ускорить срабатывание скрипта который нажимает на клавишу &quot;N&quot; когда скрипт видит в чате текст &quot;] _&quot;</p>]]></content>
			<author>
				<name><![CDATA[evgeniq]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38646</uri>
			</author>
			<updated>2017-07-31T18:05:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117691#p117691</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SAMP: Ускорить срабатывание скрипта который нажимает на клавишу "N".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117613#p117613" />
			<content type="html"><![CDATA[<p><strong>shahlik002</strong> <br /></p><div class="codebox"><pre><code> SendMessage, 0x50,, 0x4090409,, A ; Переключает на анг.язык </code></pre></div>]]></content>
			<author>
				<name><![CDATA[artur_dr]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38604</uri>
			</author>
			<updated>2017-07-26T20:28:58Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117613#p117613</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: SAMP: Ускорить срабатывание скрипта который нажимает на клавишу "N".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117573#p117573" />
			<content type="html"><![CDATA[<p>Возможно это поможет<br /></p><div class="codebox"><pre><code>SetKeyDelay,100,150

loop,read,%file%,%file%
{
	IfInString, A_LoopReadLine,&quot;] _&quot;
	{
		SendMessage, 0x50,, 0x4090409,, A ; Я не знаю что это . Мог бы и объяснить
		Send,{n 2}
	}
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[shahlik002]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=37352</uri>
			</author>
			<updated>2017-07-25T11:35:36Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117573#p117573</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[SAMP: Ускорить срабатывание скрипта который нажимает на клавишу "N".]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=117468#p117468" />
			<content type="html"><![CDATA[<p><strong>Нужно ускорить срабатывание скрипта после появления в чат-логе надписи &quot; ] _ &quot; . </strong><br /><span style="color: blue">Проблемы вот в чём:<br />Во первых реагирует на все фразы, &quot; ] _ &quot;.<br />Во вторых постоянно открывает, удаляет, читает файл.<br />В третьих работает через goto, а нужен Цикл.<br /></span><br /><strong>Жду помощи, буду благодарен.</strong></p><br /><div class="codebox"><pre><code>VHorii2: ; метка №2
File = %A_MyDocuments%\Gta San Andreas User Files/SAMP/chatlog.txt ; 
FileDelete, %file% ; 
FileAppend, %file% ; 
!vk4E:: ; 
SendInput, {F6}/m{Enter} ; 
VHorii1: ;  
FileRead, read, %file% ; 
if read contains ] _ ; 
{ 
SendMessage, 0x50,, 0x4090409,, A ; 
	SendInput, {n Down} ; 
	Sleep 150 ; 
	SendInput, {n up} ; 
	Sleep 100  ; Задержка
	SendInput, {n Down} ; 
	Sleep 150 ; Задержка
	SendInput, {n up} ; 
           
FileDelete, %file% ; 
FileAppend, %file% ; 
}
goto VHorii1  ; 
return  ; 
NumPad9::goto VHorii2  ; </code></pre></div>]]></content>
			<author>
				<name><![CDATA[evgeniq]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38646</uri>
			</author>
			<updated>2017-07-22T15:54:54Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=117468#p117468</id>
		</entry>
</feed>
