<?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=16539</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16539&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: перезапуск скомпилированного скрипта».]]></description>
		<lastBuildDate>Tue, 17 Aug 2021 15:09:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: перезапуск скомпилированного скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=149269#p149269</link>
			<description><![CDATA[<p><a href="http://www.script-coding.com/AutoHotkey/SingleInstance.html">SingleInstance</a></p>]]></description>
			<author><![CDATA[null@example.com (Alectric)]]></author>
			<pubDate>Tue, 17 Aug 2021 15:09:13 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=149269#p149269</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: перезапуск скомпилированного скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=149267#p149267</link>
			<description><![CDATA[<p>У меня такого не происходит. Проверьте, не запущена ли другая версия скрипта.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Tue, 17 Aug 2021 09:31:05 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=149267#p149267</guid>
		</item>
		<item>
			<title><![CDATA[AHK: перезапуск скомпилированного скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=149263#p149263</link>
			<description><![CDATA[<p>Добрый день. С расширением .ahk все работает корректно, но если компилироваться в .exe, то вылезает окно что старая версия скрипта уже запущена. То есть скрипт перезапускается почему-то в скомпилированном виде.</p><br /><br /><div class="codebox"><pre><code>
Gui, Add, Button, x12 y29 w190 h40 , Index-ALL
Gui, Add, Button, x212 y29 w190 h90 , IP(10.74)
Gui, Add, Button, x12 y79 w190 h40 , Index-N
Gui, Show, x448 y478 h155 w420,
Return

ButtonIndex-ALL:
InputBox, UserInput, Enter Name, INDEX?:, , 300, 150
InputBox, UserInput1, Enter Name, WHO?:, , 300, 150

FileAppend,
(
ping x-%UserInput%-%UserInput1% -t ;пример
) ,C:\Users\Roman.Chernov\Desktop\batman.bat
Run, C:\Users\Roman.Chernov\Desktop\batman.bat
sleep 2000
FileDelete, C:\Users\Roman.Chernov\Desktop\batman.bat
Return

;________________________________________

ButtonIndex-N:

InputBox, UserInput, Enter Name, INDEX?:, , 300, 150

FileAppend,
(
ping x-%UserInput%-x -t ;пример
) ,C:\Users\Roman.Chernov\Desktop\batman.bat
Run, C:\Users\Roman.Chernov\Desktop\batman.bat
sleep 2000
FileDelete, C:\Users\Roman.Chernov\Desktop\batman.bat
Return

;________________________________________

ButtonIP(10.74):

InputBox, UserInput, Enter Name, IP?:10.74..., , 300, 150

FileAppend,
(
ping 10.74.%UserInput% -t
) ,C:\Users\Roman.Chernov\Desktop\batman.bat
Run, C:\Users\Roman.Chernov\Desktop\batman.bat
sleep 2000
FileDelete, C:\Users\Roman.Chernov\Desktop\batman.bat
Return

GuiClose:
ExitApp
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (DOLAS1337)]]></author>
			<pubDate>Tue, 17 Aug 2021 03:48:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=149263#p149263</guid>
		</item>
	</channel>
</rss>
