<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Распаковка Zip-архива]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12451&amp;type=atom" />
	<updated>2020-12-19T20:41:24Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12451</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=144283#p144283" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Всё работает, спасибо большое</p>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-19T20:41:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=144283#p144283</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=144282#p144282" />
			<content type="html"><![CDATA[<p>Попробуйте поменять 16 на 20.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2020-12-19T20:22:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=144282#p144282</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=144281#p144281" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />Здравствуйте, а можно ли сделать так что бы он делал это в фоновом режиме, незаметно для пользователя?<br />У меня вот это работает.<br /></p><div class="codebox"><pre><code>ArcPath = C:\Test.zip
OutPath = C:\Папка распаковки

Shell := ComObjCreate(&quot;Shell.Application&quot;)
Items := Shell.NameSpace(ArcPath).Items
Items.Filter(73952, &quot;*&quot;)
Shell.NameSpace(OutPath).CopyHere(Items, 16)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Vsevolod]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40918</uri>
			</author>
			<updated>2020-12-19T20:09:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=144281#p144281</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112640#p112640" />
			<content type="html"><![CDATA[<p>Stealzy, спасибо за предложение. Мой код автообновления работает отлично, хоть я его написал криво очень (сейчас, когда набрался опыта, мне легко судить, ага <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> ), но мне лень его переписывать - он отлично выполняет свою функцию. Проблема в том, что у некоторых пользователей некоторые файлы не загружаются. То ли вина хостинга, то ли ОС - не пойму. Сам никогда такого не встречал, у меня 100 из 100 работает. Просто хочу добавить для таких невезучих кнопку: &quot;Скачать вручную&quot;, где они скачают zip-архив с обновлением, запихнут его в папку с скриптом и запустят скрипт, а тот его распакует и обновится. Вот так и живем.</p>]]></content>
			<author>
				<name><![CDATA[belyankin12]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34408</uri>
			</author>
			<updated>2017-02-16T11:02:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112640#p112640</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112631#p112631" />
			<content type="html"><![CDATA[<p>Данный фильтр нужен-то в основном при больших списках. При маленьких поиск индексированного, конечно, лишний.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-02-15T23:56:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112631#p112631</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112630#p112630" />
			<content type="html"><![CDATA[<p>Ну, не поленился, проверил: архив в 300 MB с большим количеством разных файлов — что с этим фильтром, что без него — примерно одинаково, без него даже быстрее получилось.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-02-15T23:52:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112630#p112630</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112629#p112629" />
			<content type="html"><![CDATA[<p><a href="https://msdn.microsoft.com/ru-ru/library/windows/desktop/bb762539(v=vs.85).aspx">Здесь</a> про <strong>only</strong> ничего не написано, да и не подтверждалось тестами.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-02-15T23:29:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112629#p112629</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112628#p112628" />
			<content type="html"><![CDATA[<p>По-моему, это не совсем то:<br /></p><div class="quotebox"><cite>ShObjIdl.idl пишет:</cite><blockquote><p>SHCONTF_FASTITEMS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x02000,&nbsp; &nbsp;// hint that client is <strong>only</strong> interested in items that can be enumerated quickly</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-02-15T23:22:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112628#p112628</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112627#p112627" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong><br />Ну, вы, поди, на одной системе сидите. Я на Win 7 x86. Тут у меня иначе. На XP, ЕМНИП, тоже.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-02-15T23:01:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112627#p112627</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112626#p112626" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Так а скрытые файлы внутри были?</p></blockquote></div><p>Да. При том скрытые файлы у меня распаковывает без указания SHCONTF_INCLUDESUPERHIDDEN и SHCONTF_INCLUDEHIDDEN.<br />Так работает:<br /></p><div class="codebox"><pre><code>ArcPath = C:\NTUSER.zip
OutPath = C:\TEMP
Shell := ComObjCreate(&quot;Shell.Application&quot;)
Items := Shell.NameSpace(ArcPath).Items
Shell.NameSpace(OutPath).CopyHere(Items, 16)</code></pre></div><p>Либо так:<br /></p><div class="codebox"><pre><code>ArcPath = C:\NTUSER.zip
OutPath = C:\TEMP
Shell := ComObjCreate(&quot;Shell.Application&quot;)
Items := Shell.NameSpace(ArcPath).Items
Items.Filter(8192+64, &quot;*&quot;)
Shell.NameSpace(OutPath).CopyHere(Items, 16)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-02-15T22:59:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112626#p112626</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112625#p112625" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><div class="quotebox"><blockquote><p>Const SHCONTF_FASTITEMS = 8192 &#039; ускорение поиска (по индексации)</p></blockquote></div></blockquote></div><p><a href="http://forum.script-coding.com/viewtopic.php?pid=101320#p101320">У меня брал</a>.</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-02-15T22:55:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112625#p112625</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112624#p112624" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>например индексирование</p></blockquote></div><p>Э-э-э... А <a href="https://msdn.microsoft.com/en-us/library/bb762539(v=vs.85).aspx">какой</a> фильтр за индексирование отвечает?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-02-15T22:53:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112624#p112624</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112623#p112623" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong><br />Так а скрытые файлы внутри были?<br /></p><div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>то надо указывать и все остальные</p></blockquote></div><p>Нет. Не все. )))</p>]]></content>
			<author>
				<name><![CDATA[Flasher]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27593</uri>
			</author>
			<updated>2017-02-15T22:47:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112623#p112623</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112621#p112621" />
			<content type="html"><![CDATA[<p>Сделал тест - если не указывать ничего в фильтрах, то все работает.<br />Если же указать, хоть один из них, например индексирование, то надо указывать и все остальные.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-02-15T22:42:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112621#p112621</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Распаковка Zip-архива]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=112620#p112620" />
			<content type="html"><![CDATA[<p>Ну, я здесь небольшой спец, но <a href="https://goo.gl/Q2uhFu">гугл</a> об этом ничего не знает.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2017-02-15T22:31:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=112620#p112620</id>
		</entry>
</feed>
