<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; [AHK] Проблемы с активным окном [Разобрался. Тема ЗАКРЫТА]]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=13413</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13413&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «[AHK] Проблемы с активным окном [Разобрался. Тема ЗАКРЫТА]».]]></description>
		<lastBuildDate>Fri, 26 Jan 2018 19:04:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [AHK] Проблемы с активным окном [Разобрался. Тема ЗАКРЫТА]]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=123411#p123411</link>
			<description><![CDATA[<p><strong>stealzy</strong>, в разделе Games тишина как будто все умерли</p>]]></description>
			<author><![CDATA[null@example.com (bsmolz)]]></author>
			<pubDate>Fri, 26 Jan 2018 19:04:29 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=123411#p123411</guid>
		</item>
		<item>
			<title><![CDATA[[AHK] Проблемы с активным окном [Разобрался. Тема ЗАКРЫТА]]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=123398#p123398</link>
			<description><![CDATA[<p>Суть такова что у меня есть скрипт.<br /></p><div class="codebox"><pre><code>
#Persistent
#IfWinActive GTA:SA:MP
#Include SAMP.ahk

while (true)
{
	Filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	Fileappend, , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	loop
	{
	label:
	Loop, Read, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
		{
			IfInString, A_LoopReadLine, БАНКОВСКИЙ ЧЕК
			{
			goto, label1
			}
			else IfInString, A_LoopReadLine, Server closed the connection
			{
			goto, label2
			}
			else IfInString, A_LoopReadLine, Добро пожаловать на Advance RolePlay
			{
			goto, label3
			}
			else IfInString, A_LoopReadLine, Сервер возобновит работу в течение минуты
			{
			goto, label4
			}
		}
		
	SetTimer, CheckPayDay1, 1000 
	return 

	CheckPayDay1: 
	if (A_Min == 59 &amp;&amp; A_Sec == 30 || A_Min == 29 &amp;&amp; A_Sec == 30 || A_Min == 30 &amp;&amp; A_Sec == 30)
		{ 
			Send {vk57 down}
			sleep 500
			Send {vk57 up}
			Sendinput {Esc down}
			sleep 50
			Sendinput {Esc up}w
			Send {vk57 down}
			sleep 500
			Send {vk57 up}
		}

	goto, label
	label1:
	Filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	Fileappend, , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
		{
		Send {vk57 down}
		sleep 500
		Send {vk57 up}
		Sendinput {Esc down}
		sleep 50
		Sendinput {Esc up}		
		}
	
	goto, label
	label2:
	Filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	Fileappend, , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
		{
			SendInput, {f6}/recon 15{Enter}
		}
	
	goto, label
	label3:
	Filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	Fileappend, , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	Sleep 3000
	Loop, Read, file.txt
		{
			Sendinput %A_LoopReadLine%{Enter}
			sleep 1500
			Send {vk57 down}
			sleep 500
			Send {vk57 up}
			Sendinput {Esc down}
			sleep 50
			Sendinput {Esc up}
		}
	
	goto, label
	label4:
	Filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
	Fileappend, , %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt
		{
			SendInput {F6}/recon 180{Enter}
		}
	}
}
return</code></pre></div><p>Но из-за каких то неполадок выбивает на рабочий стол и сворачивает игру а из-за &quot;#IfWinActive GTA:SA:MP&quot; скрипт не работает (<br /><strong>ВОПРОС:</strong> Как сделать чтобы активное окно GTA:SA:MP никогда не сворачивалось а если сворачивалось то разворачивалось сразу же ????<br /></p><div class="quotebox"><blockquote><p>P.S Описал проблему вроде доступно и вопрос вроде поставлен правильно.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (bsmolz)]]></author>
			<pubDate>Fri, 26 Jan 2018 17:04:29 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=123398#p123398</guid>
		</item>
	</channel>
</rss>
