<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Отображение в Alt+Tab]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13594&amp;type=atom" />
	<updated>2018-04-06T14:03:21Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13594</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124515#p124515" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, огромное спасибо Вам!</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2018-04-06T14:03:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124515#p124515</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124495#p124495" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>&quot;ввёв&quot; — это круто!</p></blockquote></div><p>Ааааа, фу как некрасиво.(я про себя) <img src="//forum.script-coding.com/img/smilies/big_smile.png" width="15" height="15" /><br />Введя*</p><br /><p>Ну ночь, само собой.. Время, когда не можешь понять - в чем же здесь ошибка? <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br /></p><div class="codebox"><pre><code>
int i=0;
i=&quot;Hello world&quot;;
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-04-05T21:08:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124495#p124495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124486#p124486" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>danyalukashak пишет:</cite><blockquote><p>я хотел бы как-то сделать, что-бы менялся</p></blockquote></div><p>Вот так можно:<br /></p><div class="codebox"><pre><code>Gui, New, +Owner -Caption -Border +hwndhGui
Gui, Show, w0 h0
OnMessage( 0x111, Func(&quot;WM_COMMAND&quot;).Bind(hGui) )
Return

$F1::
   Pause, Toggle, 1
   ChangeIcon(hGui, true)
   Return

WM_COMMAND(hGui, wp, lp)  {
   if (wp = 65306 || wp = 65403)
      ChangeIcon(hGui, false)
}

ChangeIcon(hGui, mode)  {
   static hIconNorm := LoadPicture(A_AhkPath, &quot;Icon1 W32 H-1 GDI+&quot;, IMAGE_ICON := 2)
        , hIconPaus := LoadPicture(A_AhkPath, &quot;Icon2 W32 H-1 GDI+&quot;, IMAGE_ICON := 2)
   SendMessage, WM_SETICON := 0x80, ICON_BIG := 1, A_IsPaused ^ mode ? hIconNorm : hIconPaus,, ahk_id %hGui%
}</code></pre></div><p>Здесь для индикации паузы использована иконка <span class="postimg"><img src="https://i.imgur.com/HeYCXz2.png" alt="https://i.imgur.com/HeYCXz2.png" /></span>, так как у иконки <span class="postimg"><img src="https://i.imgur.com/HCfZ45a.png" alt="https://i.imgur.com/HCfZ45a.png" /></span> нет нужного размера 32x32.<br /><strong>MandarinKa02</strong>, &quot;ввёв&quot; — это круто!</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-04-05T18:21:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124486#p124486</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124484#p124484" />
			<content type="html"><![CDATA[<p>При паузе можно отправлять скрипту сообщение wm_seticon с нужной вам иконкой.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-04-05T18:13:45Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124484#p124484</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124482#p124482" />
			<content type="html"><![CDATA[<p><strong>danyalukashak</strong>, как вариант - забиндите клавишу или код, ввёв который прозвучит звук соответственный состоянию скрипта.</p>]]></content>
			<author>
				<name><![CDATA[MandarinKa02]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=34409</uri>
			</author>
			<updated>2018-04-05T17:14:39Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124482#p124482</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124481#p124481" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, вот именно, не меняется. А я хотел бы как-то сделать, что-бы менялся. А вариант в трее мне не подходит, так как надо смотреть, в игре или программе, а трей доступен только при выходе из неё.</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2018-04-05T17:10:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124481#p124481</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124477#p124477" />
			<content type="html"><![CDATA[<p>Разве значок в окне Alt-Tab меняется, когда скрипт на паузе? У меня нет. Почему просто не посмотреть на значок в трее?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-04-05T15:39:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124477#p124477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124475#p124475" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, что-бы там значок был зелёный или красный.</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2018-04-05T15:27:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124475#p124475</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124474#p124474" />
			<content type="html"><![CDATA[<p>А как вы хотите делать это через Alt+Tab?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-04-05T15:25:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124474#p124474</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124469#p124469" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, я хотел узнавать о состоянии скрипта, через Alt+Tab(На паузе он или нет). Можно ли это сделать без GUI?</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2018-04-05T13:02:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124469#p124469</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124418#p124418" />
			<content type="html"><![CDATA[<p>Так на панели задач будет бесполезная кнопка появляться.<br />+Owner</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-04-03T14:25:07Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124418#p124418</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124417#p124417" />
			<content type="html"><![CDATA[<p>Может просто значок нужен?</p><div class="codebox"><pre><code>GUI, -border -caption
GUI, Show, w0 h0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2018-04-03T14:05:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124417#p124417</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124416#p124416" />
			<content type="html"><![CDATA[<p>А что должно происходить при выборе в окне Alt-Tab значка скрипта?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-04-03T13:19:09Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124416#p124416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124415#p124415" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, я об этом знаю, но можно ли без Gui?</p>]]></content>
			<author>
				<name><![CDATA[danyalukashak]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38928</uri>
			</author>
			<updated>2018-04-03T11:29:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124415#p124415</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Отображение в Alt+Tab]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=124401#p124401" />
			<content type="html"><![CDATA[<p>Если создадите в скрипте окно, оно будет отображаться в Alt+Tab.<br /></p><div class="codebox"><pre><code>Gui, Show, w300 h300</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-04-02T14:47:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=124401#p124401</id>
		</entry>
</feed>
