<?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=16462&amp;type=atom" />
	<updated>2021-07-08T21:22:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=16462</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148911#p148911" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Попробуйте <em>Gui, +AboveGame</em></p></blockquote></div><p>Invalid Option.</p><div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Старайтесь руководствоваться правилом &quot;одна тема — один вопрос&quot;. Для вопросов, связанных с играми, у нас есть отдельная ветка.</p></blockquote></div><p>Понял. Просто думал чтобы не засирать форум и не создавать темы для банальных вопросов напишу здесь.</p>]]></content>
			<author>
				<name><![CDATA[Morux2112]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41251</uri>
			</author>
			<updated>2021-07-08T21:22:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148911#p148911</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148902#p148902" />
			<content type="html"><![CDATA[<p>Попробуйте <em>Gui, +AboveGame</em>.<br />Старайтесь руководствоваться правилом &quot;одна тема — один вопрос&quot;. Для вопросов, связанных с играми, у нас есть отдельная ветка.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-07-07T18:07:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148902#p148902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148901#p148901" />
			<content type="html"><![CDATA[<p>Можно ли как-то вывести это окно поверх игры?<br />Попробовал &quot;Gui, +LastFound +AlwaysOnTop -Caption +ToolWindow +E0x20&quot;, не помогло.</p>]]></content>
			<author>
				<name><![CDATA[Morux2112]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41251</uri>
			</author>
			<updated>2021-07-07T17:35:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148901#p148901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148891#p148891" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, спасибо</p>]]></content>
			<author>
				<name><![CDATA[Morux2112]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41251</uri>
			</author>
			<updated>2021-07-07T13:36:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148891#p148891</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148890#p148890" />
			<content type="html"><![CDATA[<p>А какой именно пример? Возврат на предыдущую страницу GoBack.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-07-07T12:49:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148890#p148890</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148889#p148889" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, спасибо. На счет Explorera, не могли бы Вы привести пример, а то ничего не понятно?)</p>]]></content>
			<author>
				<name><![CDATA[Morux2112]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41251</uri>
			</author>
			<updated>2021-07-07T12:19:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148889#p148889</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148882#p148882" />
			<content type="html"><![CDATA[<p>Символы в адресе, код которых выходит за пределы 1 — 127, должны быть закодированы. В Javascript для этого есть функции <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI">encodeURI()</a> и <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent">encodeURIComponent()</a> (читайте о разнице между ними по ссылкам). На AHK можно их использовать так:<br /></p><div class="codebox"><pre><code>MsgBox, % EncodeDecodeURI(&quot;&amp;привет&quot;)

EncodeDecodeURI(str, encode := true, component := true) {
   static Doc, JS
   if !Doc {
      Doc := ComObjCreate(&quot;htmlfile&quot;)
      Doc.write(&quot;&lt;meta http-equiv=&quot;&quot;X-UA-Compatible&quot;&quot; content=&quot;&quot;IE=9&quot;&quot;&gt;&quot;)
      JS := Doc.parentWindow
      ( Doc.documentMode &lt; 9 &amp;&amp; JS.execScript() )
   }
   Return JS[ (encode ? &quot;en&quot; : &quot;de&quot;) . &quot;codeURI&quot; . (component ? &quot;Component&quot; : &quot;&quot;) ](str)
}</code></pre></div><p>Если передать параметр component false, будет вызвана encodeURI():<br /></p><div class="codebox"><pre><code>MsgBox, % EncodeDecodeURI(&quot;&amp;привет&quot;,, false)

EncodeDecodeURI(str, encode := true, component := true) {
   static Doc, JS
   if !Doc {
      Doc := ComObjCreate(&quot;htmlfile&quot;)
      Doc.write(&quot;&lt;meta http-equiv=&quot;&quot;X-UA-Compatible&quot;&quot; content=&quot;&quot;IE=9&quot;&quot;&gt;&quot;)
      JS := Doc.parentWindow
      ( Doc.documentMode &lt; 9 &amp;&amp; JS.execScript() )
   }
   Return JS[ (encode ? &quot;en&quot; : &quot;de&quot;) . &quot;codeURI&quot; . (component ? &quot;Component&quot; : &quot;&quot;) ](str)
}</code></pre></div><div class="quotebox"><cite>Morux2112 пишет:</cite><blockquote><p>И как можно вернуться на предыдущую страницу?</p></blockquote></div><p>О методах и свойствах объекта WebBrowser читайте <a href="https://docs.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/platform-apis/aa752084(v=vs.85)">здесь</a> (они совпадают с методами и свойствами InternetExplorer объекта).</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-07-07T11:00:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148882#p148882</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148878#p148878" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, спасибо. Проверил, работает. Но, в ссылке нельзя указывать русские символы, мне они нужны для ввода переменной. Можно ли как-то это исправить? И как можно вернуться на предыдущую страницу?</p>]]></content>
			<author>
				<name><![CDATA[Morux2112]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41251</uri>
			</author>
			<updated>2021-07-06T23:38:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148878#p148878</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148707#p148707" />
			<content type="html"><![CDATA[<p>Смотрите <a href="https://www.autohotkey.com/docs/commands/GuiControls.htm#ActiveX">ActiveX</a> контрол.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2021-06-30T11:32:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148707#p148707</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: встроенный браузер]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=148704#p148704" />
			<content type="html"><![CDATA[<p>Добрый ночи. Есть ли возможность как-то выводить определенную страницу и взаимодействовать с ней? Типо как встроенный браузер. Есть есть, то как?</p>]]></content>
			<author>
				<name><![CDATA[Morux2112]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41251</uri>
			</author>
			<updated>2021-06-29T23:48:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=148704#p148704</id>
		</entry>
</feed>
