<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: GUI_Shell.Explorer]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=15280</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15280&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: GUI_Shell.Explorer».]]></description>
		<lastBuildDate>Sat, 04 Apr 2020 14:54:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138853#p138853</link>
			<description><![CDATA[<p><strong>teadrinker</strong></p><p>Спасибо!!<br /></p><div class="codebox"><pre><code>WB.document.getElementsByClassName(&quot;r-covid-19__date js-covid-date&quot;)[0].hidden := 1</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Sat, 04 Apr 2020 14:54:45 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138853#p138853</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138851#p138851</link>
			<description><![CDATA[<p>У меня и так белый. Вот так у меня выглядит более похоже на то, что на сайте:<br /></p><div class="codebox"><pre><code>URL := &quot;https://www.rbc.ru/society/03/04/2020/5e2fe9459a79479d102bada6&quot;

Gui,Add, ActiveX, w750 h450 vWB, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
ComObjConnect(WB, new wbEvent)
WB.silent := true
WB.Navigate(URL)
return

GuiClose:
WB := &quot;&quot;
ExitApp 

class wbEvent
{
   __Call(Name, Params*) {
      static processed
      WB := Params.Pop()
      if node := WB.document.querySelector(&quot;.r-covid-19&quot;) {
         ComObjConnect(WB)
         ; WB.Stop()
         if !processed {
            processed := true
            coll := WB.document.body.children
            Loop % coll.length {
               elem := coll[A_Index - 1]
               elem.style.visibility := &quot;hidden&quot;
            }
            WB.document.body.style.background := &quot;white&quot;
            style := node.style
            style.position := &quot;fixed&quot;
            style.left := style.top := 0
            style.width := &quot;750px&quot;
            style.height := &quot;450px&quot;
            style.visibility := &quot;visible&quot;
            style.background := &quot;url(https://s.rbk.ru/files_static/edd/2020/covid-19/15/images/bg_2x.png) no-repeat top right&quot;
            style.backgroundSize := &quot;240px 240px&quot;
            Gui, Show
         }
      }         
   }
}</code></pre></div><div class="quotebox"><cite>inseption86 пишет:</cite><blockquote><p>убрать дату и время</p></blockquote></div><p>Это вам задача для самостоятельного изучения.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 04 Apr 2020 14:32:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138851#p138851</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138833#p138833</link>
			<description><![CDATA[<p>А как фон на белый, как на сайте? и убрать дату и время</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Fri, 03 Apr 2020 18:34:03 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138833#p138833</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138826#p138826</link>
			<description><![CDATA[<p>Лучше так, по-моему, без WB.Stop()<br /></p><div class="codebox"><pre><code>URL := &quot;https://www.rbc.ru/society/03/04/2020/5e2fe9459a79479d102bada6&quot;

Gui,Add, ActiveX, w600 h500 vWB, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
ComObjConnect(WB, new wbEvent)
WB.silent := true
WB.Navigate(URL)
return

GuiClose:
WB := &quot;&quot;
ExitApp 

class wbEvent
{
   __Call(Name, Params*) {
      static processed
      WB := Params.Pop()
      if node := WB.document.querySelector(&quot;.r-covid-19&quot;) {
         ComObjConnect(WB)
         if !processed {
            processed := true
            coll := WB.document.body.children
            Loop % coll.length {
               elem := coll[A_Index - 1]
               elem.style.visibility := &quot;hidden&quot;
            }
            style := node.style
            style.position := &quot;fixed&quot;
            style.left := style.top := 0
            style.width := &quot;600px&quot;
            style.height := &quot;500px&quot;
            style.visibility := &quot;visible&quot;
            Gui, Show
         }
      }         
   }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 03 Apr 2020 16:12:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138826#p138826</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138824#p138824</link>
			<description><![CDATA[<p><strong>teadrinker</strong></p><p>Ооо, спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Fri, 03 Apr 2020 15:33:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138824#p138824</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138822#p138822</link>
			<description><![CDATA[<p>Примерно так:<br /></p><div class="codebox"><pre><code>URL := &quot;https://www.rbc.ru/society/03/04/2020/5e2fe9459a79479d102bada6&quot;

Gui,Add, ActiveX, w600 h500 vWB, about:&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;
ComObjConnect(WB, new wbEvent)
WB.silent := true
WB.Navigate(URL)
return

GuiClose:
WB := &quot;&quot;
ExitApp 

class wbEvent
{
   __Call(Name, Params*) {
      static cloned
      WB := Params[Params.MaxIndex()]
      if node := WB.document.querySelector(&quot;.r-covid-19&quot;) {
         WB.Stop()
         ComObjConnect(WB)
         if !cloned {
            cloned := true
            coll := WB.document.body.children
            Loop % coll.length {
               elem := coll[A_Index - 1]
               elem.style.visibility := &quot;hidden&quot;
            }
            style := node.style
            style.position := &quot;fixed&quot;
            style.left := style.top := 0
            style.width := &quot;600px&quot;
            style.height := &quot;500px&quot;
            style.visibility := &quot;visible&quot;
            Gui, Show
         }
      }         
   }
}</code></pre></div><p>У меня, правда, этот сайт иногда просто не загружается в ActiveX.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 03 Apr 2020 15:21:21 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138822#p138822</guid>
		</item>
		<item>
			<title><![CDATA[AHK: GUI_Shell.Explorer]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=138820#p138820</link>
			<description><![CDATA[<p>Добрый день! Подскажите, пож-та, как отобразить в GUI только определённый ( document.getElementsByClassName(&quot;r-covid-19 js-covid inited&quot;)[0] )&nbsp; элемент?</p><p><a href="https://hostingkartinok.com/show-image.php?id=296451c51824bb50f129bd15b4d4a874"><span class="postimg"><img src="https://s8.hostingkartinok.com/uploads/thumbs/2020/04/296451c51824bb50f129bd15b4d4a874.png" alt="https://s8.hostingkartinok.com/uploads/thumbs/2020/04/296451c51824bb50f129bd15b4d4a874.png" /></span></a></p><br /><div class="codebox"><pre><code>
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
#SingleInstance force
#Persistent

URL := &quot;https://www.rbc.ru/society/03/04/2020/5e2fe9459a79479d102bada6&quot;

Gui,Add, ActiveX, w1080 h840 vWB, Shell.Explorer
Gui, Show

WB.Navigate(URL)

while (wb.busy || wb.readyState &lt;&gt; 4)
     sleep 500

return

GuiClose:
WB := &quot;&quot;
ExitApp
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Fri, 03 Apr 2020 13:06:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=138820#p138820</guid>
		</item>
	</channel>
</rss>
