<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AXK: Проигрывание видео в GUI]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=15576</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=15576&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AXK: Проигрывание видео в GUI».]]></description>
		<lastBuildDate>Thu, 06 Aug 2020 15:11:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AXK: Проигрывание видео в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=141500#p141500</link>
			<description><![CDATA[<p>Спасибо всем за ответы в моей теме.</p>]]></description>
			<author><![CDATA[null@example.com (radioamator)]]></author>
			<pubDate>Thu, 06 Aug 2020 15:11:23 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=141500#p141500</guid>
		</item>
		<item>
			<title><![CDATA[Re: AXK: Проигрывание видео в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=141486#p141486</link>
			<description><![CDATA[<p><strong>ypppu</strong>, одна-две строчки здесь явно лишние.<br /></p><div class="codebox"><pre><code>files := [ &quot;D:\Видео\MyFile1.mp4&quot;
         , &quot;D:\Видео\MyFile2.mp4&quot; ]

Gui, Add, ActiveX, w600 h400 vMP, WMPlayer.OCX.7
for k, v in files
   MP.currentPlaylist.appendItem(MP.newMedia(v))
Gui, Show
MP.controls.Play()
Return

GuiClose:
   ExitApp</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 06 Aug 2020 10:23:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=141486#p141486</guid>
		</item>
		<item>
			<title><![CDATA[Re: AXK: Проигрывание видео в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=141485#p141485</link>
			<description><![CDATA[<p>Завалялся у меня один пример. Брал, кажется, отсюда: <a href="http://forum.script-coding.com/viewtopic.php?id=8206">AHK: Использование - GUI Control Types ActiveX</a>.<br />В медиаплеер вместо пути к <em>видеофайлу</em> прописываем путь к <em>файлу списка воспроизведения</em>. Последний нужно как-то подготовить заранее.</p><div class="codebox"><pre><code>&lt;?wpl version=&quot;1.0&quot;?&gt;
&lt;smil&gt;
    &lt;head&gt;
        &lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Windows Media Player -- 12.0.7601.23930&quot;/&gt;
        &lt;meta name=&quot;ItemCount&quot; content=&quot;2&quot;/&gt;
        &lt;title&gt;Безымянный список воспроизведения&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;seq&gt;
            &lt;media src=&quot;1.wmv&quot;/&gt;
            &lt;media src=&quot;2.wmv&quot;/&gt;
        &lt;/seq&gt;
    &lt;/body&gt;
&lt;/smil&gt;</code></pre></div><br /><div class="codebox"><pre><code>#Persistent
#SingleInstance, Force
SetBatchLines, -1
;file := &quot;C:\Windows\Media\tada.wav&quot;
file := &quot;111.wpl&quot;
Link = http://forum.script-coding.com


GUI, 1: Add, Edit, w200 h30 , GUI1 Some text
GUI, 1: Add, Button, w100 h30 , GUI1 Some button
Gui, 1: Color, EEAA99, 00FF00
Gui, 1:Add, ActiveX, w200 h200 vMP, WMPlayer.OCX
MP.url := file
Gui, 1:Add, ActiveX, w640 h480 vWB, Shell.Explorer
WB.Navigate(Link)
GUI, 1: -resize
Gui, 1: Color, EEAA99, 00FF00
Gui, 1: +Lastfound ; Делаем окно GUI &quot;последним найденным&quot; окном.
WinSet, TransColor, EEAA99
WinSet, TransColor, 00FF00
GUI, 1: Show, w800 h600, GUI1
;Sleep, 1000
WinSet, TransColor, EEAA99
WinSet, TransColor, 00FF00
WinSet, TransColor, FFFFFF

Return

GuiClose:
   WB := &quot;&quot;
   ExitApp</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (ypppu)]]></author>
			<pubDate>Thu, 06 Aug 2020 08:11:40 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=141485#p141485</guid>
		</item>
		<item>
			<title><![CDATA[AXK: Проигрывание видео в GUI]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=141483#p141483</link>
			<description><![CDATA[<p>Приветствую всех.</p><p>Скажите - как скриптом проиграть несколько видеофайлов подряд (по конкретным адресам) в GUI ?</p>]]></description>
			<author><![CDATA[null@example.com (radioamator)]]></author>
			<pubDate>Thu, 06 Aug 2020 04:55:43 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=141483#p141483</guid>
		</item>
	</channel>
</rss>
