<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=7887</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=7887&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Как включать\отключать Aero в теме Windows 7х64?».]]></description>
		<lastBuildDate>Sat, 22 Dec 2012 14:13:44 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67351#p67351</link>
			<description><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><p><strong>Indomito</strong>, а чем твой пример лучше, чем скрипт из поста №2?</p></blockquote></div><p>&nbsp; проглядел, извиняюсь.<br /></p><div class="quotebox"><blockquote><p>Вопрос не в том, как переключить, а в том, чтобы это состояние осталось после завершения скрипта.</p></blockquote></div><p> не понял, ну переключили и оно останется... правда я не проверял что будет с Aero после завершения скрипта, т.е. у меня остаётся то что я сделал, но если написать &quot;косо&quot; - не в курсе <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (Indomito)]]></author>
			<pubDate>Sat, 22 Dec 2012 14:13:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67351#p67351</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67350#p67350</link>
			<description><![CDATA[<p><strong>Indomito</strong>, а чем твой пример лучше, чем скрипт из поста №2?<br />Вопрос не в том, как переключить, а в том, чтобы это состояние осталось после завершения скрипта.</p>]]></description>
			<author><![CDATA[null@example.com (Irbis)]]></author>
			<pubDate>Sat, 22 Dec 2012 13:46:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67350#p67350</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67332#p67332</link>
			<description><![CDATA[<p><strong>serzh82saratov</strong> вот готовый фрагмент скрипта, осталось только определить переменную <strong>toggle</strong> </p><div class="codebox"><pre><code>ToggleAero:
if toggle := !toggle
   DllCall(&quot;dwmapi\DwmEnableComposition&quot;, &quot;uint&quot;, 0) ; DllCall For Windows Decomposition ; On
else
   DllCall(&quot;dwmapi\DwmEnableComposition&quot;, &quot;uint&quot;, 1) ; DllCall For Windows Decomposition ; Off
return</code></pre></div><p> переключение не нужно, оно реализовано в самом I<strong>F</strong>.</p><p>P.S. Если требуется самому переключать то поправь конструкцию <strong>if toggle := !toggle</strong></p>]]></description>
			<author><![CDATA[null@example.com (Indomito)]]></author>
			<pubDate>Sat, 22 Dec 2012 07:13:27 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67332#p67332</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67244#p67244</link>
			<description><![CDATA[<p>Если у тебя есть перманентно работающий скрипт с полезными хоткеями (в автозагрузке), просто добавь туда хоткей на вкл/выкл Aero.</p>]]></description>
			<author><![CDATA[null@example.com (Irbis)]]></author>
			<pubDate>Thu, 20 Dec 2012 15:53:44 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67244#p67244</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67241#p67241</link>
			<description><![CDATA[<p>Программно, скорее всего, никак, ибо:<br /></p><div class="quotebox"><cite>MSDN пишет:</cite><blockquote><p><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa969510%28v=vs.85%29.aspx">DWM composition</a> will be automatically enabled when all processes that have disabled composition have called DwmEnableComposition to enable it or have been terminated.</p></blockquote></div><p>Так что только в настройках.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Thu, 20 Dec 2012 15:00:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67241#p67241</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67240#p67240</link>
			<description><![CDATA[<div class="quotebox"><cite>Irbis пишет:</cite><blockquote><p>ExitApp или Return - без разницы, упрощенный стиль действует, пока работает скрипт. Просто в случае, если в нем есть горячие клавиши, Return не вызывает завершение работы.</p></blockquote></div><p>Ну это очевидно же. <br />Вопрос как включить нужный режим и выйти?</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Thu, 20 Dec 2012 14:31:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67240#p67240</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67233#p67233</link>
			<description><![CDATA[<p>ExitApp или Return - без разницы, упрощенный стиль действует, пока работает скрипт. Просто в случае, если в нем есть горячие клавиши, Return не вызывает завершение работы.</p>]]></description>
			<author><![CDATA[null@example.com (Irbis)]]></author>
			<pubDate>Thu, 20 Dec 2012 13:36:50 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67233#p67233</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67217#p67217</link>
			<description><![CDATA[<p>Спасибо! Так работает:<br /></p><div class="codebox"><pre><code>1::
DllCall(&quot;Dwmapi\DwmEnableComposition&quot;, &quot;UInt&quot;, 1)
Return
2::
DllCall(&quot;Dwmapi\DwmEnableComposition&quot;, &quot;UInt&quot;, 0)
Return</code></pre></div><div class="quotebox"><blockquote><p>Если имеется в виду «отключать-включать опцию настроек»</p></blockquote></div><p>Не понял как это. <br />Наверно:<br />А вот так выключает и включает снова:<br /></p><div class="codebox"><pre><code>DllCall(&quot;Dwmapi\DwmEnableComposition&quot;, &quot;UInt&quot;, 0)
ExitApp</code></pre></div><p>Если ExitApp заменить на Return - то нормально.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Thu, 20 Dec 2012 09:34:58 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67217#p67217</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67198#p67198</link>
			<description><![CDATA[<p>Включать: DllCall(&quot;Dwmapi\DwmEnableComposition&quot;, &quot;UInt&quot;, 1)<br />Отключать: DllCall(&quot;Dwmapi\DwmEnableComposition&quot;, &quot;UInt&quot;, 0)<br />Переключать:<br /></p><div class="codebox"><pre><code>ToggleComposition()
{
    DllCall(&quot;Dwmapi\DwmIsCompositionEnabled&quot;, &quot;UInt*&quot;, isEnabled)
    DllCall(&quot;Dwmapi\DwmEnableComposition&quot;, &quot;UInt&quot;, !isEnabled)
}</code></pre></div><p>Если выполняется программа, которая произвела вызов <strong>DwmEnableComposition</strong> с аргументом «0»,<br />то вызов в иной программе DwmEnableComposition с аргументом «1» не включит аэро.<br /></p><div class="quotebox"><blockquote><p>Disabling DWM composition disables it for the entire desktop. DWM composition will be automatically enabled when all processes that have disabled composition have called DwmEnableComposition to enable it or have been terminated. The WM_DWMCOMPOSITIONCHANGED notification is sent whenever DWM composition is enabled or disabled.</p></blockquote></div><p>Если имеется в виду «отключать-включать опцию настроек», то это нужно конкретизировать в вопросе темы.</p>]]></description>
			<author><![CDATA[null@example.com (creature.ws)]]></author>
			<pubDate>Wed, 19 Dec 2012 22:26:48 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67198#p67198</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Как включать\отключать Aero в теме Windows 7х64?]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=67195#p67195</link>
			<description><![CDATA[<p>Поиск не помог. <br />Подскажите, если кто знает: как включать\отключать Aero в теме Windows 7х64?</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Wed, 19 Dec 2012 22:02:37 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=67195#p67195</guid>
		</item>
	</channel>
</rss>
