<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ControlSend не работает с IE]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14718&amp;type=atom" />
	<updated>2019-04-18T09:46:12Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14718</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend не работает с IE]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=133655#p133655" />
			<content type="html"><![CDATA[<p><strong>g0ss</strong></p><br /><div class="codebox"><pre><code>#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance force   ; игнор уже запущенного скрипта, переоткрытие

ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := true
ie.Navigate(&quot;https://yandex.ru&quot;)
while ie.readystate &lt;&gt; 4
Sleep 500

ie.document.ParentWindow.scrollBy(0, 1000)

sleep 1000
ie.quit
ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-04-18T09:46:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=133655#p133655</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ControlSend не работает с IE]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=133653#p133653" />
			<content type="html"><![CDATA[<p>Может быть кто-нибудь знает как сделать прокрутку страницы, когда браузер работает на фоне?</p><p><strong>UPD: нашел - pwb.Document.ParentWindow.scrollBy(0, 1000)</strong></p>]]></content>
			<author>
				<name><![CDATA[g0ss]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29338</uri>
			</author>
			<updated>2019-04-18T05:35:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=133653#p133653</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: ControlSend не работает с IE]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=133629#p133629" />
			<content type="html"><![CDATA[<p>Здравствуйте.</p><p>Столкнулся с проблемой ControlSend не посылает команду в IE 11. Скрипт выглядит так:<br /></p><div class="codebox"><pre><code>
;Параметры окна через WinSpy
;Name - Internet Explorer
;ahk_class IEFrame
;ahk_exe iexplore.exe

SetTitleMatchMode, 2

sleep 1000
loop,
{
	ControlSend,, {Space}, Name - Internet Explorer
	Sleep 1000
}

Pause::Pause
return</code></pre></div><p>Пробовал ставить все параметры, которые есть в WinSpy. При том WinActivate с параметром Name - Internet Explorer работает. Проверил ControlSend на блокноте - тоже работает.<br />Подскажите, в чем может быть проблема. Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[g0ss]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29338</uri>
			</author>
			<updated>2019-04-17T08:56:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=133629#p133629</id>
		</entry>
</feed>
