<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: IE Application - как задать куки в header'е]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13693&amp;type=atom" />
	<updated>2018-05-12T12:22:03Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13693</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125315#p125315" />
			<content type="html"><![CDATA[<p>Спасибо за ответ.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-05-12T12:22:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125315#p125315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125312#p125312" />
			<content type="html"><![CDATA[<p>Хром автоматизируется через селениум либо через Chrome DevTools Protocol.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-05-11T22:11:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125312#p125312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125310#p125310" />
			<content type="html"><![CDATA[<p>Есть ли кроме встроенного explorer application&#039;a какой-нибудь другой? К примеру: Chrome application?<br />Подскажите, в какую сторону гуглить?</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-05-11T20:17:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125310#p125310</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE Application - как задать куки в header'е]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125299#p125299" />
			<content type="html"><![CDATA[<p>Вряд ли такое возможно.<br />Устанавливайте куки через InternetSetCookieEx либо через IESetProtectedModeCookie.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-05-11T14:00:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125299#p125299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: IE Application - как задать куки в header'е]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125242#p125242" />
			<content type="html"><![CDATA[<p>Здравствуйте, вопрос в шапке. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>
url:=&quot;http://127.0.0.1/ENLMEYEBUDPKWBBB/userRpm/Index.htm&quot;
hwnd:=0

oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
oIE.visible := True, hwnd := oIE.HWND
;oIE.MenuBar:=0,oIE.Toolbar:=0

global oIE
oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
oIE.visible := True, hwnd := oIE.HWND
;oIE.MenuBar:=0,oIE.Toolbar:=0

headers:=&quot;cookie:Authorization=Basic%20RGVuaXM6NmQwMDA3ZTUyZjdhZmI3ZDVhMDY1MGIwZmZiOGE0ZDE%3D&quot; &quot;`r`n&quot;
       . &quot;something: value&quot;
oIE.navigate(url,,,,headers)
;oIE.cookie:=&quot;&quot;
;WinMaximize ahk_id %hwnd%
While (oIE.busy)
	Sleep, 20
;InputForms()
</code></pre></div><p>Вот-с, что приходит в header&#039;e. <br /></p><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"><div class="codebox"><pre><code>body:
headers:
ip:127.0.0.1
method:GET
path:/ENLMEYEBUDPKWBBB/userRpm/Index.htm
protocol:HTTP/1.1
queries:
raw:GET /ENLMEYEBUDPKWBBB/userRpm/Index.htm HTTP/1.1
Accept: */*
something: value
Accept-Language: ru
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; Tablet PC 2.0)
Accept-Encoding: gzip, deflate
Host: 127.0.0.1
Connection: Keep-Alive
</code></pre></div></div></div>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-05-08T19:27:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125242#p125242</id>
		</entry>
</feed>
