<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Получить серийник с помощью кода в одну строчку]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13881&amp;type=atom" />
	<updated>2018-06-24T20:50:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13881</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Получить серийник с помощью кода в одну строчку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126415#p126415" />
			<content type="html"><![CDATA[<p>Спасибо огромное!</p>]]></content>
			<author>
				<name><![CDATA[Dworkin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27052</uri>
			</author>
			<updated>2018-06-24T20:50:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126415#p126415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Получить серийник с помощью кода в одну строчку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126408#p126408" />
			<content type="html"><![CDATA[<p>Или так:<br /></p><div class="codebox"><pre><code>MsgBox, % ComObjGet(&quot;winmgmts:&quot;).InstancesOf(&quot;Win32_BaseBoard&quot;).ItemIndex(0).SerialNumber</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-06-24T20:01:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126408#p126408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Получить серийник с помощью кода в одну строчку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126403#p126403" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>msgbox % ComObjGet(&quot;winmgmts:\\.\root\CIMV2&quot;).ExecQuery(&quot;SELECT * FROM Win32_BaseBoard&quot;).ItemIndex(0).SerialNumber</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-06-24T19:30:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126403#p126403</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Получить серийник с помощью кода в одну строчку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=126401#p126401" />
			<content type="html"><![CDATA[<p>Добрый вечер. Подскажите пожалуйста как из этого сделать все в одну строчку и желательно без цикла:<br /></p><div class="codebox"><pre><code>for objItem in ComObjGet(&quot;winmgmts:\\.\root\CIMV2&quot;).ExecQuery(&quot;SELECT * FROM Win32_BaseBoard&quot;)
	msgbox % objItem.SerialNumber </code></pre></div><p>Я так понял что цикл перебирает массив.<br />Пытаюсь так:<br /></p><div class="codebox"><pre><code>msgbox % ComObjGet(&quot;winmgmts:\\.\root\CIMV2&quot;).ExecQuery(&quot;SELECT * FROM Win32_BaseBoard&quot;)[&quot;SerialNumber&quot;]</code></pre></div><p>и так:<br /></p><div class="codebox"><pre><code>msgbox % ComObjGet(&quot;winmgmts:\\.\root\CIMV2&quot;).ExecQuery(&quot;SELECT * FROM Win32_BaseBoard&quot;).SerialNumber</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Dworkin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27052</uri>
			</author>
			<updated>2018-06-24T18:48:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=126401#p126401</id>
		</entry>
</feed>
