<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ComObjCreate("InternetExplorer.Application") как быстро убить?]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14318&amp;type=atom" />
	<updated>2018-11-13T18:09:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14318</id>
		<entry>
			<title type="html"><![CDATA[AHK: ComObjCreate("InternetExplorer.Application") как быстро убить?]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129763#p129763" />
			<content type="html"><![CDATA[<div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>Добрый вечер.<br />Через:<br /></p><div class="codebox"><pre><code>wb := ComObjCreate(&quot;InternetExplorer.Application&quot;)
wb.Visible := false
wb.Navigate(&quot;xxxxxx&quot;)
MsgBox, % ie.document.getElementsByClassName(&quot;name&quot;)[0].href</code></pre></div><p>Я создаю ie, открываю страницу, нахожу на ней нужное мне.<br />Но возникает проблема: как подождать wb.quit() чтобы ie точно закончился? Или как сделать всему ie убийство процессов?</p></div></div><p>Нашел. </p><div class="codebox"><pre><code>Process close, iexplore.exe</code></pre></div><p> Прекрасно убивает эксплорер и даже если следующая строка: </p><div class="codebox"><pre><code>wb := ComObjCreate(&quot;InternetExplorer.Application&quot;)</code></pre></div><p> Без всяких Sleep&#039;ов между ними ошибки не вылезает и все работает дальше.</p>]]></content>
			<author>
				<name><![CDATA[Gh0sTG0]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=39523</uri>
			</author>
			<updated>2018-11-13T18:09:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129763#p129763</id>
		</entry>
</feed>
