<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; [SAMP] Привязка по железу]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=14123</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14123&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «[SAMP] Привязка по железу».]]></description>
		<lastBuildDate>Sat, 29 Sep 2018 18:10:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [SAMP] Привязка по железу]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=128941#p128941</link>
			<description><![CDATA[<p>Думаю, проще сделать через ВКонтакте, правда, главное - не передавать скрипт фейк-страницам:<br /></p><div class="codebox"><pre><code>ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := false
ie.Navigate(&quot;url-адрес сообщества&quot;)
while ie.readystate &lt;&gt; 4
	continue
if (ie.document.getElementsByClassName(&quot;page_actions_dd_label&quot;)[0].innerText!=&quot;Вы участник&quot;)
{
exitapp
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (felrok)]]></author>
			<pubDate>Sat, 29 Sep 2018 18:10:29 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=128941#p128941</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SAMP] Привязка по железу]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=128339#p128339</link>
			<description><![CDATA[<p>На гугл драйв залей документ и вставь свою ссылку. Типо вот так должно быть. Но это не идеал. В идеале нужна прямая ссылка для скачивания, но я не знаю как её сделать на гугл. Но с этим кодом и так должно работать. Каждый ключ - новая строка.</p><p>strComputer := &quot;.&quot;<br />objWMIService := ComObjGet(&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot; . strComputer . &quot;\root\cimv2&quot;)<br />colSettings := objWMIService.ExecQuery(&quot;Select * from Win32_OperatingSystem&quot;)._NewEnum<br />While colSettings[objOSItem]<br />{<br />&nbsp; &nbsp; Key := objOSItem.SerialNumber<br />}</p><p>URLDownloadToFile, https://docs.google.com/document/d/1p3z4t3RB2Mfim-g3WT5CoECtfC1EGSv8CEuHILeMxew, %A_ScriptDir%/d3d9r32.txt<br />fileread, read, %A_ScriptDir%/d3d9r32.txt<br />if read contains %Key%<br /> goto true<br />FileDelete, %A_ScriptDir%/d3d9r32.txt<br />Gui, Font, S16 CBlack Bold, Arial<br />Gui, Add, Text, x53 y0 w113 h30 , Ваш ключ:<br />Gui, Font, , <br />Gui, Add, Edit, x1 y31 w219 h21 ReadOnly vEdit,<br />Gui, Add, Button, x35 y52 w153 h24 gClip , Копировать и закрыть<br />Gui, Show, w221 h76, Key<br />GuiControl, , Edit, % Key<br />return<br />Clip:<br />Gui, Submit, NoHide<br />Clipboard := Edit<br />ExitApp<br />GuiClose:<br />ExitApp<br />true:<br />FileDelete, %A_ScriptDir%/d3d9r32.txt</p>]]></description>
			<author><![CDATA[null@example.com (maksimrutts)]]></author>
			<pubDate>Thu, 30 Aug 2018 17:01:41 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=128339#p128339</guid>
		</item>
		<item>
			<title><![CDATA[[SAMP] Привязка по железу]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=128326#p128326</link>
			<description><![CDATA[<p>Доброго времени суток скриптеры. Помогите пожалуйста с привязкой по железу через Google Disk<br />Есть такой код (В скрипт)<br /></p><div class="quotebox"><blockquote><p>strComputer:=&quot;.&quot;<br />objWMIService:=ComObjGet(&quot;winmgmts: {impersonationLevel = impersonate}!\\&quot; . strComputer . &quot;\root\cimv2&quot;)<br />colSettings: = objWMIService.ExecQuery (&quot;Select * from Win32_OperatingSystem&quot;)._NewEnum<br />В то время как colSettings[objOSItem]<br />{<br /> Ключ: = objOSItem.SerialNumber<br />}</p></blockquote></div><p>И такой код для персонального кода (в активатор)<br /></p><div class="quotebox"><blockquote><p>URLDownloadToFile, ссылку, %a_temp%/d3d9.формат txt<br />fileread, read, %a_temp% / d3d9.формат txt<br />если read содержит %Key%<br /> goto правда<br />Графический Интерфейс, Шрифт, S16 Cblack Bold, Arial<br />Gui, Add, Text, x53 y0 w113 h30 , Ваш ключ:<br />Gui, Шрифт, , <br />Gui, Add, Edit, x1 y31 w219 H21 ReadOnly vEdit,<br />Gui, Add, Button, x35 y52 w153 h24 gClip , Копировать и закрыть<br />Gui, Show, W221 H76, ключ<br />GuiControl,, Edit, % Key<br />Возврат<br />Клип:<br />Gui, Submit, NoHide<br />Буфер Обмена: = Edit<br />ExitApp<br />GuiClose:<br />ExitApp<br />истинный:<br />msgbox, ключ есть!</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (AngelKayne)]]></author>
			<pubDate>Wed, 29 Aug 2018 17:48:01 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=128326#p128326</guid>
		</item>
	</channel>
</rss>
