<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: ошибка - "форма не заполнена"]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14379&amp;type=atom" />
	<updated>2021-11-15T20:48:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14379</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150647#p150647" />
			<content type="html"><![CDATA[<p>Все, решил вопрос отправкой обычного клика в окно.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2021-11-15T20:48:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150647#p150647</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150644#p150644" />
			<content type="html"><![CDATA[<p>Нет.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-11-15T19:58:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150644#p150644</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150643#p150643" />
			<content type="html"><![CDATA[<p>Так я сначала выделяю текст, а потом вставляю с буфера обмена текст&nbsp; document.execCommand(&quot;paste&quot;) тем самым заполняю форму. Казалась, задача похожая.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2021-11-15T19:38:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150643#p150643</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150642#p150642" />
			<content type="html"><![CDATA[<p>Не вижу в коде и в вопросе ничего, связанного с заполнением формы.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-11-15T19:34:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150642#p150642</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150641#p150641" />
			<content type="html"><![CDATA[<p>Ну форма не заполнена. У меня в примере тоже мне нужно заполнить форму. Вроде похожая тема.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2021-11-15T19:32:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150641#p150641</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150640#p150640" />
			<content type="html"><![CDATA[<p>А как это связано с заголовком темы?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-11-15T19:26:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150640#p150640</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=150639#p150639" />
			<content type="html"><![CDATA[<p>Пытаюсь заменить текст по-умолчанию в окне, для дальнейшей вставки текста, но выделяется весь текст на странице. С консоли все работает нормально:<br /></p><div class="codebox"><pre><code>document.execCommand(&quot;.ace_content&quot;).focus()
document.execCommand(&quot;selectAll&quot;, true, null)</code></pre></div><div class="codebox"><pre><code>oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
oIE.Visible := True
oIE.Navigate(&quot;https://pynative.com/online-python-code-editor-to-execute-python-code&quot;)
While oIE.readyState != 4 || oIE.document.readyState != &quot;complete&quot; || oIE.busy
   Sleep, 10

oIE.document.execCommand(&quot;.ace_content&quot;).focus()
oIE.document.execCommand(&quot;selectAll&quot;, true, null)
oIE.document.execCommand(&quot;Paste&quot;)
</code></pre></div><p>Кто знает, как можно выделить текст в этом окне.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2021-11-15T19:06:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=150639#p150639</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130399#p130399" />
			<content type="html"><![CDATA[<p>Да, видел такие темы. Можно потом переделать под com способ, если кому нужно будет.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-12-13T20:20:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130399#p130399</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130398#p130398" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>svoboden пишет:</cite><blockquote><p>Но это плагин js.</p></blockquote></div><p>Думаю, это не проблема.<br />На форуме были примеры как выполнять код jquery.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-13T18:19:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130398#p130398</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130357#p130357" />
			<content type="html"><![CDATA[<p>Еще один способ нашел: <a href="http://bililite.com/blog/2015/01/14/rethinking-fn-sendkeys/">http://bililite.com/blog/2015/01/14/ret … -sendkeys/</a>. Там даже нажатия клавиш посылает. Но это плагин js.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-12-10T20:19:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130357#p130357</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130355#p130355" />
			<content type="html"><![CDATA[<p>В данном случае можно и убрать, но я оставляю шаблон с кавычками на случай если в названии будут пробелы.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-10T19:49:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130355#p130355</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130353#p130353" />
			<content type="html"><![CDATA[<p>Работает. Старый метод &quot;initEvent&quot;, но даже в хроме работает, только нужно в: input[name=&quot;&quot;first_name&quot;&quot;] кавычки убрать: input[name=first_name].</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-12-10T19:08:31Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130353#p130353</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130345#p130345" />
			<content type="html"><![CDATA[<p>Вот так работает:<br /></p><div class="codebox"><pre><code>oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
oIE.Visible := True
oIE.Navigate(&quot;https://www.artstation.com/registration/signup&quot;)
While oIE.readyState != 4 || oIE.document.readyState != &quot;complete&quot; || oIE.busy
   Sleep, 10

target := oIE.document.querySelector(&quot;input[name=&quot;&quot;first_name&quot;&quot;]&quot;)
target.value := &quot;tester&quot;
event := oIE.document.createEvent(&quot;Event&quot;)
event.initEvent(&quot;input&quot;, true, true)
target.dispatchEvent(event)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-10T11:15:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130345#p130345</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130335#p130335" />
			<content type="html"><![CDATA[<p>Думаю нужно запустить этот код в IE, отмониторить созданные этим кодом события и попытаться их повторить.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-12-09T22:27:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130335#p130335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: ошибка - "форма не заполнена"]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=130333#p130333" />
			<content type="html"><![CDATA[<p>У меня в хроме так работает:<br /></p><div class="codebox"><pre><code>EVENT TYPE=CLICK SELECTOR=&quot;HTML&gt;BODY&gt;APP-ROOT&gt;LIGHT-LAYOUT&gt;DIV:nth-of-type(2)&gt;SIGNUP&gt;DIV&gt;DIV&gt;DIV&gt;DIV:nth-of-type(5)&gt;DIV:nth-of-type(2)&gt;FORM&gt;FORM-USERNAME&gt;DIV&gt;INPUT&quot; BUTTON=0
EVENT TYPE=KEYPRESS SELECTOR=&quot;HTML&gt;BODY&gt;APP-ROOT&gt;LIGHT-LAYOUT&gt;DIV:nth-of-type(2)&gt;SIGNUP&gt;DIV&gt;DIV&gt;DIV&gt;DIV:nth-of-type(5)&gt;DIV:nth-of-type(2)&gt;FORM&gt;FORM-USERNAME&gt;DIV&gt;INPUT&quot; CHAR=&quot;var&quot;</code></pre></div><p>И никаких DLL не создается в плагине. Только как найти код самой команды Event, вот это проблема.</p>]]></content>
			<author>
				<name><![CDATA[svoboden]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34280</uri>
			</author>
			<updated>2018-12-09T21:16:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=130333#p130333</id>
		</entry>
</feed>
