<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Com объект IE. живой поиск в google.]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11094&amp;type=atom" />
	<updated>2015-11-21T14:38:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11094</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Com объект IE. живой поиск в google.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99213#p99213" />
			<content type="html"><![CDATA[<p>Или так:<br /></p><div class="codebox"><pre><code>ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := 1
ie.Navigate(&quot;https://www.google.ru/&quot;)
while ie.readystate &lt;&gt; 4 
   sleep 10

elem := ie.document.getElementById(&quot;lst-ib&quot;)

sleep 500
elem.focus()
ControlSend, Internet Explorer_Server1, тест1, % &quot;ahk_id&quot; ie.hwnd
sleep 1000
elem.value := &quot;&quot;
elem.focus()
ControlSend, Internet Explorer_Server1, тест2, % &quot;ahk_id&quot; ie.hwnd
sleep 1000
elem.value := &quot;&quot;
elem.focus()
ControlSend, Internet Explorer_Server1, тест3, % &quot;ahk_id&quot; ie.hwnd</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-21T14:38:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99213#p99213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Com объект IE. живой поиск в google.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99212#p99212" />
			<content type="html"><![CDATA[<p>Как-нибудь так:<br /></p><div class="codebox"><pre><code>ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := 1
ie.Navigate(&quot;https://www.google.ru&quot;)
while ie.readystate &lt;&gt; 4 
   sleep 10
sleep 500
SendInput, тест1
sleep 1000
ie.document.getElementById(&quot;lst-ib&quot;).value := &quot;&quot;
SendInput, тест2
sleep 1000
ie.document.getElementById(&quot;lst-ib&quot;).value := &quot;&quot;
SendInput, тест3</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2015-11-21T14:16:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99212#p99212</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Com объект IE. живой поиск в google.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=99198#p99198" />
			<content type="html"><![CDATA[<p>Как можно реализовать что бы при изменении строки ввода поиска скриптом, так же предлагались варианты ответа и был живой поиск?</p><div class="codebox"><pre><code>ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := 1
ie.Navigate(&quot;https://www.google.ru&quot;)
while ie.readystate &lt;&gt; 4 
	sleep 10
sleep 500
ie.document.getElementsByClassName(&quot;gsfi&quot;)[0].value := &quot;тест1&quot;
sleep 1000
ie.document.getElementsByClassName(&quot;gsfi&quot;)[0].value := &quot;тест2&quot;
sleep 1000
ie.document.getElementsByClassName(&quot;gsfi&quot;)[0].value := &quot;тест3&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2015-11-20T17:30:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=99198#p99198</id>
		</entry>
</feed>
