<?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=6131&amp;type=atom" />
	<updated>2025-12-26T17:46:26Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6131</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162987#p162987" />
			<content type="html"><![CDATA[<p>С перезапуском окон (пример).<br /></p><div class="codebox"><pre><code>list := list_Text := &quot;&quot;
IF WinExist(&quot;ahk_class CabinetWClass&quot;) ; explorer
{
    for window in ComObjCreate(&quot;Shell.Application&quot;).Windows
    {
       explorer_path := &quot;&quot;
       try explorer_path := window.Document.Folder.Self.Path 
       list .= explorer_path ? explorer_path &quot;`n&quot; : &quot;&quot; 
       list_Text .= explorer_path ? A_Index &quot;  &quot; explorer_path &quot;`n&quot; : &quot;&quot; 
    }
    list := trim(list, &quot;`n&quot;)
}
; MsgBox, %list%

MsgBox, 4, , %list_Text%`n`nПерезапустить explorer.exe?, 10
IFMsgBox Yes
  {
    ; &quot;убиваются&quot; все процессы имеющие в начале имени &quot;Explorer&quot;
    ; RunWait, cmd.exe /c Taskkill /f /Im Explorer*,, Hide ; Устарело
  RunWait, Taskkill /f /Im Explorer*,, Hide
    ; Sleep 1000
  Process, WaitClose, explorer.exe
    ; по окончании экзекуции запускается новый экземпляр процесса explorer.exe
    ; Run cmd.exe /c explorer.exe,,hide
  Run, Explorer.exe

    If !list
    {
        Process, wait, explorer.exe
        Loop, parse, list, `n
            Run %A_LoopField% 
    }
  }
Else
  ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[-=Sema=-]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41106</uri>
			</author>
			<updated>2025-12-26T17:46:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162987#p162987</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=162986#p162986" />
			<content type="html"><![CDATA[<p>Как при этом перезапустить уже открытые окна проводника?<br />Перезагрузить иконки трея? (пишут, что - половина пропадает, хотя работают)</p>]]></content>
			<author>
				<name><![CDATA[-=Sema=-]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41106</uri>
			</author>
			<updated>2025-12-26T17:04:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=162986#p162986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51349#p51349" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>creature.ws пишет:</cite><blockquote><p>Если у вас &quot;процесс Explorer не перезапускается&quot; попробуйте (прямо сейчас) так:</p></blockquote></div><p>Спасибо! 2й вариант работает! <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Albatross]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27145</uri>
			</author>
			<updated>2011-09-09T13:46:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51349#p51349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51330#p51330" />
			<content type="html"><![CDATA[<p>Это вы у кого спрашиваете? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><div class="codebox"><pre><code>
; ctrl+alt+backspace
^!BackSpace::
; &quot;убиваются&quot; все процессы имеющие в начале имени &quot;Explorer&quot;
RunWait, Taskkill /f /Im Explorer*,, Hide
; по окончании экзекуции запускается новый экземпляр процесса explorer.exe
Run, Explorer.exe
Return</code></pre></div><p>Если у вас &quot;процесс Explorer не перезапускается&quot; попробуйте (прямо сейчас) так:<br /></p><div class="codebox"><pre><code>
^!BackSpace::
RunWait, Taskkill /f /Im Explorer*,, Hide
Sleep 1000
Run, Explorer.exe

Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-09-08T20:09:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51330#p51330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51329#p51329" />
			<content type="html"><![CDATA[<p>Процес Explorer убивается но не перезапускается?</p>]]></content>
			<author>
				<name><![CDATA[Albatross]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27145</uri>
			</author>
			<updated>2011-09-08T19:52:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51329#p51329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51032#p51032" />
			<content type="html"><![CDATA[<p>Спасибо! Попробую <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Albatross]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27145</uri>
			</author>
			<updated>2011-09-01T13:52:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51032#p51032</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51030#p51030" />
			<content type="html"><![CDATA[<p>Работает скрипт <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />Жать нужно ctrl alt backspace.</p><p><a href="http://www.script-coding.com/AutoHotkey/Hotkeys.html">ссылка№1</a><br /><a href="http://www.script-coding.com/AutoHotkeyTranslation.html">ссылка№2</a><br /><a href="http://www.autohotkey.net/~Lexikos/AutoHotkey_L/AutoHotkey_L_Help.zip">ссылка№3</a></p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-09-01T12:03:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51030#p51030</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51027#p51027" />
			<content type="html"><![CDATA[<p>Не работает скрипт <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p><p>Жму клавишу BackSpace и ничего.</p>]]></content>
			<author>
				<name><![CDATA[Albatross]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27145</uri>
			</author>
			<updated>2011-09-01T11:40:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51027#p51027</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50739#p50739" />
			<content type="html"><![CDATA[<p><strong>creature.ws</strong> Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[Albatross]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27145</uri>
			</author>
			<updated>2011-08-18T11:52:35Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50739#p50739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50730#p50730" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
^!BackSpace::
RunWait, cmd.exe /c Taskkill /f /Im Explorer*,, Hide
Run, Explorer.exe
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2011-08-18T07:04:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50730#p50730</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: скрипт перезапуска процесса Explorer.exe]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=50728#p50728" />
			<content type="html"><![CDATA[<p>У меня какойто баг с Explorerom, если щелкнуть ПКМ по ярлыку в QuickLounch и выбрать свойства или переименовать или открыть папку QL, то Explorer а точнее QL и панель задачь виснет, Трей рабочий, приходится делать рестарт Explorera.</p>]]></content>
			<author>
				<name><![CDATA[Albatross]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27145</uri>
			</author>
			<updated>2011-08-18T05:31:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=50728#p50728</id>
		</entry>
</feed>
