<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11541&amp;type=atom" />
	<updated>2016-05-01T14:20:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11541</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103229#p103229" />
			<content type="html"><![CDATA[<p><strong>mafckz</strong><br />Спасибо, да, в форумном FAQ-е не нашёл.</p><p><strong>Malcev</strong><br />Спасибо, попробую.</p>]]></content>
			<author>
				<name><![CDATA[Balux]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33580</uri>
			</author>
			<updated>2016-05-01T14:20:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103229#p103229</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103226#p103226" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?pid=97539#p97539">http://forum.script-coding.com/viewtopi … 539#p97539</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-05-01T12:05:03Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103226#p103226</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103221#p103221" />
			<content type="html"><![CDATA[<p><strong>Balux</strong><br /><a href="https://autohotkey.com/docs/commands/ToolTip.htm">ToolTip [, Text, X, Y, WhichToolTip]</a> . На русском, видимо, нет.</p>]]></content>
			<author>
				<name><![CDATA[mafckz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32877</uri>
			</author>
			<updated>2016-04-30T23:45:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103221#p103221</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103218#p103218" />
			<content type="html"><![CDATA[<p><strong>mafckz</strong><br />Спасибо, а не знаете как указать точные координаты тултипа? И размер/цвет шрифта?</p>]]></content>
			<author>
				<name><![CDATA[Balux]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33580</uri>
			</author>
			<updated>2016-04-30T20:10:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103218#p103218</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103216#p103216" />
			<content type="html"><![CDATA[<p><strong>Balux</strong></p><div class="codebox"><pre><code>^+w:: 
   Run, powercfg -change -monitor-timeout-ac 1,, hide
   ToolTip, Отключать дисплей: 1 мин
   SetTimer, RemoveToolTip1, 1000
   return
   RemoveToolTip1:
   SetTimer, RemoveToolTip1, Off
   ToolTip
   return
   
^+e:: 
   Run, powercfg -change -monitor-timeout-ac 30,, hide
   ToolTip, Отключать дисплей: 30 мин
   SetTimer, RemoveToolTip2, 1000
   return
   RemoveToolTip2:
   SetTimer, RemoveToolTip2, Off
   ToolTip
   return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[mafckz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32877</uri>
			</author>
			<updated>2016-04-30T17:26:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103216#p103216</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103213#p103213" />
			<content type="html"><![CDATA[<p>Спасибо большое, а не подскажете как сделать тултип, сделал по готовому примеру, но так не работает.<br /></p><div class="codebox"><pre><code>^+w:: Run, powercfg -change -monitor-timeout-ac 1,, hide
   ToolTip, Отключать дисплей: 1 мин
   SetTimer, RemoveToolTip1, 1000
   return
   RemoveToolTip1:
   SetTimer, RemoveToolTip1, Off
   ToolTip
   return
   
^+e:: Run, powercfg -change -monitor-timeout-ac 30,, hide
   ToolTip, Отключать дисплей: 30 мин
   SetTimer, RemoveToolTip2, 1000
   return
   RemoveToolTip2:
   SetTimer, RemoveToolTip2, Off
   ToolTip
   return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Balux]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33580</uri>
			</author>
			<updated>2016-04-30T14:35:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103213#p103213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103212#p103212" />
			<content type="html"><![CDATA[<p>Лучше так:<br /></p><div class="codebox"><pre><code>F1:: Run, powercfg -change -monitor-timeout-ac 1,, hide</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-04-30T13:46:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103212#p103212</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103211#p103211" />
			<content type="html"><![CDATA[<p>Можно так:<br /></p><div class="codebox"><pre><code>F1:: Run, powercfg -change -monitor-timeout-ac 1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[mafckz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32877</uri>
			</author>
			<updated>2016-04-30T13:42:32Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103211#p103211</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103210#p103210" />
			<content type="html"><![CDATA[<p><strong>Malcev</strong><br />Вот таким образом? А как можно совместить этот код с AHK, чтобы повесить хоткеи?</p><div class="codebox"><pre><code>powercfg -change -monitor-timeout-ac 1</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Balux]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33580</uri>
			</author>
			<updated>2016-04-30T13:37:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103210#p103210</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103206#p103206" />
			<content type="html"><![CDATA[<p>Через СMD можно.<br /><a href="https://technet.microsoft.com/en-us/library/cc748940.aspx">https://technet.microsoft.com/en-us/lib … 48940.aspx</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2016-04-29T23:15:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103206#p103206</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103203#p103203" />
			<content type="html"><![CDATA[<p><strong>mafckz</strong><br />Но почему-то в настройках схемы электропитания этот параметр не изменяется. Я правильно понимаю, это одноразовый скрипт? </p><p>Объясню как хотелось бы, нажал хоткей и монитор отключается через 1 минуту, если монитор включился от движения мыши, то всё равно через 1 минуту он отключится. И в этом же скрипте, добавить второй хоткей для выставления 30 минут.</p>]]></content>
			<author>
				<name><![CDATA[Balux]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33580</uri>
			</author>
			<updated>2016-04-29T20:57:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103203#p103203</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103202#p103202" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F1::
	SetTimer MonitorOff, -60000
	return

MonitorOff:
	SendMessage,0x112,0xF170,2,,Program Manager
	return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[mafckz]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32877</uri>
			</author>
			<updated>2016-04-29T20:27:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103202#p103202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Выставлять "Отключать дисплей: 1 мин" по горячей клавише]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=103201#p103201" />
			<content type="html"><![CDATA[<p>Здравствуйте, подскажите пожалуйста, как это сделать?</p>]]></content>
			<author>
				<name><![CDATA[Balux]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33580</uri>
			</author>
			<updated>2016-04-29T20:20:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=103201#p103201</id>
		</entry>
</feed>
