<?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=12691</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12691&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Получение имени подключенной сети».]]></description>
		<lastBuildDate>Tue, 23 May 2017 12:59:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Получение имени подключенной сети]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=116000#p116000</link>
			<description><![CDATA[<p>Или так: </p><div class="codebox"><pre><code>dhw := A_DetectHiddenWindows
DetectHiddenWindows On
Run &quot;%ComSpec%&quot; /k,, Hide, pid
while !(hConsole := WinExist(&quot;ahk_pid&quot; pid))
    Sleep 10
DllCall(&quot;AttachConsole&quot;, &quot;UInt&quot;, pid)
DetectHiddenWindows %dhw%
objShell := ComObjCreate(&quot;WScript.Shell&quot;)
objExec := objShell.Exec(&quot;cmd /c netsh wlan show interface&quot;)
While !objExec.Status
    Sleep 100
wlanres := objExec.StdOut.ReadAll()
DllCall(&quot;FreeConsole&quot;)
Process Exist, %pid%
if (ErrorLevel == pid)
    Process Close, %pid%
RegExMatch(wlanres,&quot;\sSSID\s+:\s(.+)&quot;,m)
ssid := m1
MsgBox % ssid</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Tue, 23 May 2017 12:59:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=116000#p116000</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Получение имени подключенной сети]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=115999#p115999</link>
			<description><![CDATA[<div class="codebox"><pre><code>Runwait %comspec% /c netsh wlan show interface | clip,,hide
msgbox % RegExReplace(clipboard, &quot;s).*?\R\s+SSID\s+:(\V+).*&quot;, &quot;$1&quot;)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (svoboden)]]></author>
			<pubDate>Tue, 23 May 2017 12:55:15 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=115999#p115999</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Получение имени подключенной сети]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=115998#p115998</link>
			<description><![CDATA[<p>Необходимо задать условие работы скрипта в зависимости от того, к какой точке доступа беспроводной сети совершено подключение. Можно ли получить соответствующую информацию посредством AHK? Спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (becauseim)]]></author>
			<pubDate>Tue, 23 May 2017 11:47:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=115998#p115998</guid>
		</item>
	</channel>
</rss>
