<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Корректно закрыть explorer.exe]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=4005&amp;type=atom" />
	<updated>2012-07-28T01:11:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=4005</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62095#p62095" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Grey пишет:</cite><blockquote><div class="quotebox"><cite>1st пишет:</cite><blockquote><p>Нечего не происходит...</p></blockquote></div><p>Замените именное название (F4) на скан-код (sc3E).</p></blockquote></div><div class="codebox"><pre><code>#sc3E:: ;Win+F4
    WinGet, p, PID, A
    Process, Close, %p%
Return</code></pre></div><p>Работает, спасибо!</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-28T01:11:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62095#p62095</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62091#p62091" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>1st пишет:</cite><blockquote><p>Нечего не происходит...</p></blockquote></div><p>Замените именное название (F4) на скан-код (sc3E).</p>]]></content>
			<author>
				<name><![CDATA[Grey]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=25792</uri>
			</author>
			<updated>2012-07-27T19:27:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62091#p62091</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62067#p62067" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><p>Проверь, какой процесс и заголовок окна у приложения, которое не закрывается подобным образом:<br /></p><div class="codebox"><pre><code>#F4::   ; Win+F4
   WinGet, p, ProcessName, A
   WinGetTitle, t, A
   MsgBox % &quot;Process: &quot; p &quot;`nTitle: &quot; t
Return</code></pre></div></blockquote></div><p>Нечего не происходит, с блокнотом работает, а с играми нет.</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-26T19:24:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62067#p62067</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62065#p62065" />
			<content type="html"><![CDATA[<p>Проверь, какой процесс и заголовок окна у приложения, которое не закрывается подобным образом:<br /></p><div class="codebox"><pre><code>#F4::   ; Win+F4
   WinGet, p, ProcessName, A
   WinGetTitle, t, A
   MsgBox % &quot;Process: &quot; p &quot;`nTitle: &quot; t
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2012-07-26T18:54:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62065#p62065</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62062#p62062" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Mikki пишет:</cite><blockquote><p>Наверное игра перехватывает сообщение о нажатие клавиши и оно просто не доходит до твоего скрипта.. Попробуй другое сочетание клавиш в качестве хоткея.</p></blockquote></div><p>Нет, это работает и игра не перехватывает:<br /></p><div class="codebox"><pre><code>#F4::
    Process, Close, arma2oa.exe
return</code></pre></div><p>а это не работает ни в арме ни в бэтмане.</p><div class="codebox"><pre><code>#F4::
    WinGet, p, PID, A
    Process, Close, %p%
Return</code></pre></div><p>Мне нужно для многих приложений, и каждое записывать, кнопок не хватит.</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-26T17:37:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62062#p62062</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62053#p62053" />
			<content type="html"><![CDATA[<p>Наверное игра перехватывает сообщение о нажатие клавиши и оно просто не доходит до твоего скрипта.. Попробуй другое сочетание клавиш в качестве хоткея.</p>]]></content>
			<author>
				<name><![CDATA[Mikki]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5905</uri>
			</author>
			<updated>2012-07-26T12:25:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62053#p62053</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62044#p62044" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><div class="codebox"><pre><code>#F4::   ; Win+F4
   WinGet, p, PID, A
   Process, Close, %p%
Return</code></pre></div></blockquote></div><p>Почему то не работает с некоторыми полноэкранными приложениями, типо игр.</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-26T09:11:10Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62044#p62044</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62026#p62026" />
			<content type="html"><![CDATA[<p>Пожалуйста. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2012-07-25T17:06:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62026#p62026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62024#p62024" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><div class="codebox"><pre><code>#F4::   ; Win+F4
   WinGet, p, PID, A
   Process, Close, %p%
Return</code></pre></div></blockquote></div><p>Огромное спасибо!</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-25T15:43:12Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62024#p62024</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62022#p62022" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#F4::   ; Win+F4
   WinGet, p, PID, A
   Process, Close, %p%
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2012-07-25T13:39:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62022#p62022</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62017#p62017" />
			<content type="html"><![CDATA[<p>WinKill делает это медленно и в блокноте выдает запрос на сохранение, мне нужно именно завершение процесса с возможной потерей данных. Да верно активное приложение.</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-25T11:53:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62017#p62017</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62009#p62009" />
			<content type="html"><![CDATA[<p>Активный процесс -что это? Процесс, чей поток выполняется в данный момент в первом ядре процессора, считая с левого верхнего угла? :-)<br />Если имеется в виду активное приложение, то WinKill Вам в помощь.</p>]]></content>
			<author>
				<name><![CDATA[Irbis]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27384</uri>
			</author>
			<updated>2012-07-25T03:16:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62009#p62009</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=62003#p62003" />
			<content type="html"><![CDATA[<p>Подскажите пожалуйста мне нужно завершать <span class="bbu">активный</span> процесс так как это делается через диспетчер задач, но конечно мне нужно поставить это на комбинацию клавиш, это возможно? У меня &quot;Process, Close&quot; не работает без указания процесса.</p>]]></content>
			<author>
				<name><![CDATA[1st]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=28393</uri>
			</author>
			<updated>2012-07-25T00:54:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=62003#p62003</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=31695#p31695" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Ошибочка закралась (UInt в последней строчке), исправьте в Коллекции:</p></blockquote></div><p>Спасибо! Сделано.</p>]]></content>
			<author>
				<name><![CDATA[alexii]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=1844</uri>
			</author>
			<updated>2009-12-22T02:07:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=31695#p31695</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Корректно закрыть explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=31693#p31693" />
			<content type="html"><![CDATA[<p>Ошибочка закралась (<em>UInt</em> в последней строчке), исправьте в Коллекции:<br /></p><div class="codebox"><pre><code>Process, Exist, Explorer.exe
PID := ErrorLevel 
h_process := DllCall(&quot;OpenProcess&quot;, UInt, 0x1, Int, 0, UInt, PID)   ; PROCESS_TERMINATE = 0x1
DllCall(&quot;TerminateProcess&quot;, UInt, h_process, UInt, 1) 
DllCall(&quot;CloseHandle&quot;, UInt, h_process)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2009-12-21T23:18:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=31693#p31693</id>
		</entry>
</feed>
