<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: VPN автомотическое подключение при разрыве связи]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12534&amp;type=atom" />
	<updated>2017-03-07T15:54:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12534</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113697#p113697" />
			<content type="html"><![CDATA[<p><strong>slavafedora</strong>, а зачем тут GoTo?</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-03-07T15:54:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113697#p113697</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113695#p113695" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
F1::
{
	Goto, Connect
	return
}

Connect:
{
	Всякий код.
}
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[slavafedora]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34221</uri>
			</author>
			<updated>2017-03-07T15:40:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113695#p113695</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113691#p113691" />
			<content type="html"><![CDATA[<p>На примере покажите, Goto Connect. Connect, on&nbsp; . Если не сложно.</p>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2017-03-07T14:36:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113691#p113691</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113686#p113686" />
			<content type="html"><![CDATA[<p>Можете: &quot;Goto Connect&quot; , можете: &quot;SetTimer, Connect, on&quot;.</p>]]></content>
			<author>
				<name><![CDATA[slavafedora]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34221</uri>
			</author>
			<updated>2017-03-07T14:07:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113686#p113686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113684#p113684" />
			<content type="html"><![CDATA[<p>Разобрался, спасибо.</p>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2017-03-07T13:46:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113684#p113684</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113682#p113682" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>rowe пишет:</cite><blockquote><p>Как можно переподключться при обрыве связи?</p></blockquote></div><p>Вы же в предыдущем сообщении ответили на свой вопрос.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2017-03-07T13:30:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113682#p113682</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113677#p113677" />
			<content type="html"><![CDATA[<p>Ну если при обрыве связи выходит окно об уведомлении, ищите заголовок с помощью Windows Spy, при появлении окна используйте определенные действия и подключение. Это в теории.</p>]]></content>
			<author>
				<name><![CDATA[slavafedora]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34221</uri>
			</author>
			<updated>2017-03-07T12:58:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113677#p113677</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113675#p113675" />
			<content type="html"><![CDATA[<p>Как можно переподключться при обрыве связи?</p>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2017-03-07T11:20:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113675#p113675</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113674#p113674" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>ConnectName = ConnectName
Login = Login
Pass = Pass
AdapterNum = 2 ; с какого адаптера получать IP (обычно со 2-го)
SleepTime = 1000 ; пауза между коннектами (при неудачной попытке)
; ========== КОНЕЦ НАСТРОЕК ПОЛЬЗОВАТЕЛЯ ==========
Connect:
RunWait, rasdial &quot;%ConnectName%&quot; &quot;%Login%&quot; &quot;%Pass%&quot;,, Hide ; коннектимся

IP_After := A_IPAddress%AdapterNum%

If IP_After = 0.0.0.0 ; нет коннекта
{
    Sleep, %SleepTime%
    Goto, Connect
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2017-03-07T11:04:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113674#p113674</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: VPN автомотическое подключение при разрыве связи]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=113673#p113673" />
			<content type="html"><![CDATA[<p>Пропадает связь к компьютеру подключенному по VPN.</p>]]></content>
			<author>
				<name><![CDATA[rowe]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33506</uri>
			</author>
			<updated>2017-03-07T11:03:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=113673#p113673</id>
		</entry>
</feed>
