<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; VBS: помогите объединить 2 скрипта]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=9403</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=9403&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «VBS: помогите объединить 2 скрипта».]]></description>
		<lastBuildDate>Mon, 24 Mar 2014 06:33:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: VBS: помогите объединить 2 скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81163#p81163</link>
			<description><![CDATA[<div class="quotebox"><blockquote><p>Попробуйте вместо 1 поставить 0, вдруг запускаемое приложение не проигнорирует?</p></blockquote></div><p>Да, действительно, это сработало!<br />Решение было элементарное.</p><p><strong>omegastripes</strong>, Большущие Вам спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (guru431)]]></author>
			<pubDate>Mon, 24 Mar 2014 06:33:09 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81163#p81163</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: помогите объединить 2 скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81158#p81158</link>
			<description><![CDATA[<div class="quotebox"><cite>max7 пишет:</cite><blockquote><div class="quotebox"><cite>shiz пишет:</cite><blockquote><p>А что обозначает единичка после &quot;runas&quot;?</p></blockquote></div><p><a href="http://www.script-coding.com/WSH/Shell.html#3.26.">http://www.script-coding.com/WSH/Shell.html#3.26.</a></p></blockquote></div><p><strong>guru431</strong>, про единичку по ссылке сказано:<br /></p><div class="quotebox"><blockquote><p>Рекомендуемое состояние окна при выполнении. Запускаемое приложение может проигнорировать этот параметр. Возможные значения:<br />0 - скрытое окно.<br />1 - нормальное окно.</p></blockquote></div><p>Попробуйте вместо 1 поставить 0, вдруг запускаемое приложение не проигнорирует?</p>]]></description>
			<author><![CDATA[null@example.com (omegastripes)]]></author>
			<pubDate>Sun, 23 Mar 2014 21:24:32 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81158#p81158</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: помогите объединить 2 скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81157#p81157</link>
			<description><![CDATA[<div class="quotebox"><cite>shiz пишет:</cite><blockquote><p>А что обозначает единичка после &quot;runas&quot;?</p></blockquote></div><p><a href="http://www.script-coding.com/WSH/Shell.html#3.26.">http://www.script-coding.com/WSH/Shell.html#3.26.</a></p>]]></description>
			<author><![CDATA[null@example.com (max7)]]></author>
			<pubDate>Sun, 23 Mar 2014 21:15:08 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81157#p81157</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: помогите объединить 2 скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81156#p81156</link>
			<description><![CDATA[<p>Я не знаю. Сейчас проверил, без единицы тоже работает.</p><p>Я плохо разбираюсь в vbs скриптах.<br />Эти нашел в своё время в разных местах в интернете.</p>]]></description>
			<author><![CDATA[null@example.com (guru431)]]></author>
			<pubDate>Sun, 23 Mar 2014 20:48:40 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81156#p81156</guid>
		</item>
		<item>
			<title><![CDATA[Re: VBS: помогите объединить 2 скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81153#p81153</link>
			<description><![CDATA[<p>А что обозначает единичка после &quot;runas&quot;?</p>]]></description>
			<author><![CDATA[null@example.com (shiz)]]></author>
			<pubDate>Sun, 23 Mar 2014 20:24:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81153#p81153</guid>
		</item>
		<item>
			<title><![CDATA[VBS: помогите объединить 2 скрипта]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=81151#p81151</link>
			<description><![CDATA[<p>Добрый день!</p><p>Есть 2 маленьких, но очень нужных скрипта. <br />Первый используется для скрытого запуска батников:<br /></p><div class="codebox"><pre><code>createobject(&quot;wscript.shell&quot;).run wscript.arguments(0),0</code></pre></div><p>Второй позволяет повысить привилегии UAC для батника:<br /></p><div class="codebox"><pre><code>createobject(&quot;shell.application&quot;).shellExecute wscript.arguments(0),str,&quot;&quot;,&quot;runas&quot;,1</code></pre></div><p>Для обоих скриптов адрес батника передается аргументом.<br />Помогите, пожалуйста, объединить эти 2 скрипта в один. Желательно, чтобы это было также лаконично.<br />Заранее спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (guru431)]]></author>
			<pubDate>Sun, 23 Mar 2014 19:11:34 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=81151#p81151</guid>
		</item>
	</channel>
</rss>
