<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11103&amp;type=atom" />
	<updated>2015-11-27T16:08:08Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11103</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99340#p99340" />
			<content type="html"><![CDATA[<p>За рекламу простите, просто я её не вижу с Adguard.<br />Upd. отключил Adguard на яндексе одна рекламка мелкой строчкой. Вы наверное о оф &quot;сайте&quot; я уже писал зачем ссылку на него дал, и предупредил, что скачивать нужно аккуратно.</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T16:08:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99340#p99340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99339#p99339" />
			<content type="html"><![CDATA[<p>Скомпилированная программа</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T16:05:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99339#p99339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99338#p99338" />
			<content type="html"><![CDATA[<p>Выкладываю на форуме</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T16:04:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99338#p99338</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99337#p99337" />
			<content type="html"><![CDATA[<p><strong>OmTatSat</strong>, 9.69 KB могли бы и на форуме выложить. Зачем травить людей рекламой?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2015-11-27T15:54:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99337#p99337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99335#p99335" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>а собственно сабжа нет?</p></blockquote></div><p> что значит нет, вы скачали загрузчик запустили его, и у вас не скачалась программа? У меня всё скачало, правда пришлось на время выключить антивирус. Ссылку выложил, на будущее, чтобы была возможность скачивать новые версии.</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T15:20:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99335#p99335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99327#p99327" />
			<content type="html"><![CDATA[<p>Зачем тогда вообще выкладывать ссылку, где вместо того, что заявлено, скачивается какой-то нашпигованный рекламой левый загрузчик, а собственно сабжа нет?</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2015-11-27T14:25:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99327#p99327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99321#p99321" />
			<content type="html"><![CDATA[<p>Загрузил на яндекс диск, вот: <br />Скомпилированная программа <a href="https://yadi.sk/d/yMGp9h1Pkmvuz">https://yadi.sk/d/yMGp9h1Pkmvuz</a><br />Исходник <a href="https://yadi.sk/d/Cw79u0aakmwno">https://yadi.sk/d/Cw79u0aakmwno</a></p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T09:20:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99321#p99321</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99320#p99320" />
			<content type="html"><![CDATA[<p><strong>Irbis</strong> я об этом предупредил выше. AdWare это что? Рекламные приложения, от установки которых можно отказаться, если не тыкать бездумно (далее,далее...принять,далее...)</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T09:16:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99320#p99320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99319#p99319" />
			<content type="html"><![CDATA[<p>Еще бы не выдавал ошибку - в описании сказано &quot;uTorrent Helper 4.0 Source Code, Size: 9.69 KB&quot;, а скачивается exe-шник в 900кб, на который 10 срабатываний на <a href="https://www.virustotal.com/ru/file/a976cfb0810a74a019b47e064d8dd887d1b824a1d574d773409b3de9cc761175/analysis/1448611972/">virustotal.com</a> ввиду того, что AdWare.</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2015-11-27T08:22:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99319#p99319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99318#p99318" />
			<content type="html"><![CDATA[<p>Адрес для скачивания uTorrentHelper - удаляет или останавливает закачанные торренты <a href="http://forum.utorrent.com/topic/70982-program-to-remove-or-stop-finished-downloads/">http://forum.utorrent.com/topic/70982-p … downloads/</a> осторожно, там предоставлены ссылки на download manager на который ругаются антивирусы, так как они зачастую предлагают установить кучу хлама кроме скачивания нашего файла. Хотел оставить на ex.ua уже скачанный файл uTorrentHelper.exe, но там сейчас почему-то выдаёт ошибку при загрузке файла, может позже получится.</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T07:53:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99318#p99318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99317#p99317" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#NoTrayIcon
#SingleInstance, force
DetectHiddenWindows, on

	sleep, 60000 
WinGetTitle, OutputVar, ahk_class µTorrent4823DF041B09
var := RegExReplace(OutputVar, &quot;.*?(\d+).*&quot;, &quot;$1&quot;)
if var &lt; 10
{
sleep 120000
WinGetTitle, OutputVar, ahk_class µTorrent4823DF041B09
var1 := RegExReplace(OutputVar, &quot;.*?(\d+).*&quot;, &quot;$1&quot;)
if var1 &lt; 10
    {
	WinClose, ahk_exe uTorrentHelper.exe
	WinMenuSelectItem, ahk_class µTorrent4823DF041B09,, Файл, Выход
	return
	}
 }
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T07:28:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99317#p99317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99316#p99316" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong> всё гениальное просто! Даром не мало времени потратил, на поиски фантастического решения. Огромное Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-27T07:25:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99316#p99316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99314#p99314" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>OmTatSat пишет:</cite><blockquote><p>закрыть торрент, как он закрывается по нажатии кнопки выход</p></blockquote></div><div class="codebox"><pre><code>WinMenuSelectItem, ahk_class µTorrent4823DF041B09,, Файл, Выход</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-27T05:58:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99314#p99314</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99313#p99313" />
			<content type="html"><![CDATA[<p>Попробовал ещё варианты закрытия с скрипта </p><div class="codebox"><pre><code>WM_CLOSE=0x10
WM_QUIT=0x12

^+#!i::                 ;Ctrl+Shift+Win+Alt+i = Kill Internet Explorer
DetectHiddenWindows, On
Loop
{
	Process, Exist, µTorrent.exe
	pid:=errorlevel
	IfWinExist, ahk_pid %pid%
	{
		;WinClose
		;PostMessage, WM_CLOSE
		;PostMessage, WM_QUIT
		WinKill
	}
	else if A_Index&gt;1
		break
	else msgbox, No dice!
}
return</code></pre></div><p>Ни один из вариантов не дал нужный результат, торрент вообще не закрывается.</p><p>Остановился на таком варианте <br /></p><div class="codebox"><pre><code>#NoTrayIcon
DetectHiddenWindows, on

	sleep, 6000 
WinGetTitle, OutputVar, ahk_class µTorrent4823DF041B09
var := RegExReplace(OutputVar, &quot;.*?(\d+).*&quot;, &quot;$1&quot;)
if var &lt; 10
{
sleep 12000
WinGetTitle, OutputVar, ahk_class µTorrent4823DF041B09
var1 := RegExReplace(OutputVar, &quot;.*?(\d+).*&quot;, &quot;$1&quot;)
if var1 &lt; 10
{
	WinClose, ahk_exe uTorrentHelper.exe
	Process, Close, uTorrent.exe

	WM_MOUSEMOVE := 0x200

	ControlGetPos, xTray,, wTray,, ToolbarWindow321, ahk_class Shell_TrayWnd
	endX := xTray + wTray
	x := 5
	y := 12

	Loop
	{
		if (x &gt; endX)
			break
		point := (y &lt;&lt; 16) + x
		PostMessage, %WM_MOUSEMOVE%, 0, %point%, ToolbarWindow321, ahk_class Shell_TrayWnd
		x += 18
	}

    return
}
}
return</code></pre></div><p>Конечно правильнее было бы правильно закрыть торрент, как он закрывается по нажатии кнопки выход, но как это сделать пока не знаю.</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-26T19:38:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99313#p99313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Если нет входящего трафика в программе µTorrent, завершить её.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99312#p99312" />
			<content type="html"><![CDATA[<p>Пробовал Run, %comspec% /c taskkill /im uTorrent.exe, , hide<br />и<br />WinClose, ahk_class µTorrent4823DF041B09</p><p>Не работают если в опциях выставлено сворачивать в трей при нажатии на крестик.<br />Тасккил с ключом /f закрывает процесс, но иконка опять остаётся((<br />Может у кого-то есть идеи?</p>]]></content>
			<author>
				<name><![CDATA[OmTatSat]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33453</uri>
			</author>
			<updated>2015-11-26T18:44:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99312#p99312</id>
		</entry>
</feed>
