<?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=10207&amp;type=atom" />
	<updated>2014-12-09T20:04:13Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10207</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89105#p89105" />
			<content type="html"><![CDATA[<p>Moжно использовать другой скрипт, запущенный не от администратора. Он будет получать команды от второго скрипта, запущенного с привилегиями администратора, посредством OnMessage(), и запускать программы тоже без повышенных прав.</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2014-12-09T20:04:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89105#p89105</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89102#p89102" />
			<content type="html"><![CDATA[<p>Без пароля не запускает (выдает ошибку), поставил пользователю пароль - Total Commander запустился, но с другой программой это не срабатывает <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /> Видимо, придется оставлять все, как было.</p><p>Ну и гемор же с этими правами в Windows 8.1.</p>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-09T19:08:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89102#p89102</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89100#p89100" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>^!sc011::
IfWinExist Total Commander
    WinActivate
else
{
    RunAs, noadmin
    Run c:\Programs\Total Commander\TOTALCMD64.EXE
}
Return
</code></pre></div><p>Если не сработает, укажите остальные параметры, как в справке. Если пароль пустой, попробуйте создать и указать.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-09T18:29:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89100#p89100</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89099#p89099" />
			<content type="html"><![CDATA[<p>Не срабатывает, запускается от админа.</p><div class="codebox"><pre><code>
RunAs, noadmin
^!sc011::
IfWinExist Total Commander
    WinActivate
else
    Run c:\Programs\Total Commander\TOTALCMD64.EXE
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-09T18:16:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89099#p89099</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89098#p89098" />
			<content type="html"><![CDATA[<p>Первой строкой RunAs с необходимыми параметрами. Я сам никогда ею не пользовался, так что знаю не больше, чем написано в справке.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-09T18:04:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89098#p89098</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89097#p89097" />
			<content type="html"><![CDATA[<p>Подскажите, каким образом запускать следующий скрипт через RunAs от имени пользователя noadmin:</p><div class="codebox"><pre><code>
^!sc011::
IfWinExist Total Commander
    WinActivate
else
    Run c:\Programs\Total Commander\TOTALCMD64.EXE
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-09T17:59:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89097#p89097</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89037#p89037" />
			<content type="html"><![CDATA[<p>Создайте ещё одного — не админа.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-08T20:41:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89037#p89037</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89034#p89034" />
			<content type="html"><![CDATA[<p>А если у меня только один пользователь - админ, как тогда запустить не через админа с помощью RunAs?</p>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-08T20:34:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89034#p89034</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89027#p89027" />
			<content type="html"><![CDATA[<p>Запускать AHK от админа, а где не надо, предварять запуск программ RunAs от пользователя без прав админа.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-08T19:53:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89027#p89027</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89022#p89022" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Я думаю, наоборот.</p></blockquote></div><p>Не понял вас.</p>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-08T19:38:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89022#p89022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88915#p88915" />
			<content type="html"><![CDATA[<p>Я думаю, наоборот.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-06T17:47:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88915#p88915</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88914#p88914" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Попробуйте <a href="http://script-coding.com/AutoHotkey/RunAs.html">RunAs</a>.</p></blockquote></div><p>Т.е. сперва отключить запуск AHK от имени админа, а потом использовать эту команду? Если так, то не срабатывает.</p><p>Пример горячей клавиши до:</p><div class="codebox"><pre><code>F9::SoundSet -1</code></pre></div><p>после:</p><div class="codebox"><pre><code>F9::
RunAs, Admin
    SoundSet -1
RunAs</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-06T17:40:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88914#p88914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88912#p88912" />
			<content type="html"><![CDATA[<p>Попробуйте <a href="http://script-coding.com/AutoHotkey/RunAs.html">RunAs</a>.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-12-06T15:23:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88912#p88912</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88911#p88911" />
			<content type="html"><![CDATA[<p>Столкнулся с новой проблемой.</p><p>Поскольку ahk-файл у меня теперь открывается с правами админа, то программы, которые я запускаю горячими клавишами, стали открываться тоже с правами админа, чего мне совсем не нужно. Как можно этого избежать?</p>]]></content>
			<author>
				<name><![CDATA[Dimox]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32435</uri>
			</author>
			<updated>2014-12-06T15:01:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88911#p88911</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипты не запускаются, если активно окно с правами админа]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=88864#p88864" />
			<content type="html"><![CDATA[<p>рад был подсказать.</p>]]></content>
			<author>
				<name><![CDATA[S.shipilov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=30244</uri>
			</author>
			<updated>2014-12-04T14:48:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=88864#p88864</id>
		</entry>
</feed>
