<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; [SAMP] Привязка по железу]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=14123&amp;type=atom" />
	<updated>2018-09-29T18:10:29Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14123</id>
		<entry>
			<title type="html"><![CDATA[Re: [SAMP] Привязка по железу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128941#p128941" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[felrok]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39478</uri>
			</author>
			<updated>2018-09-29T18:10:29Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128941#p128941</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: [SAMP] Привязка по железу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128339#p128339" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[maksimrutts]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39474</uri>
			</author>
			<updated>2018-08-30T17:01:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128339#p128339</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[[SAMP] Привязка по железу]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=128326#p128326" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[AngelKayne]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=38752</uri>
			</author>
			<updated>2018-08-29T17:48:01Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=128326#p128326</id>
		</entry>
</feed>
