<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Системное время компьютера]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=8620&amp;type=atom" />
	<updated>2013-08-28T23:23:57Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=8620</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=75051#p75051" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>sergeiplugatyr пишет:</cite><blockquote><div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Для более менее точного совпадения секунд, я бы сделал так:<br /></p><div class="codebox"><pre><code>
Gui, Add, Text, vTime w100 
Gui, Show 

TimeUpdate:
   GuiControl,, Time, %A_Hour%:%A_Min%:%A_Sec%
   SetTimer, TimeUpdate, % &quot;-&quot; (999 - A_MSec) + 100
   return
</code></pre></div><p>GuiControl отнимает немало время. В итоге будут проскальзывания между секундами и не равноменое их изменение.</p></blockquote></div><p>Вообщем то он работает прекрасно, только когда я его добавил в свою программу, он вроде как показывает время но не обновляет его, он его обновит только если кликнуть по нему мышкой, он обновится и снова стоит на месте.</p></blockquote></div><p>Странно, по идеи таймер должен работать, а вот остальная программа нет )<br />Так как работа программы прерывается каждые 100 миллисекунд на обновление часов.<br />Тут нужно запускать отдельным потоком, сам только разбираюсь в этом, может поможет</p><p><a href="http://forum.script-coding.com/viewtopic.php?id=8584">http://forum.script-coding.com/viewtopic.php?id=8584</a></p>]]></content>
			<author>
				<name><![CDATA[Strongest]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30412</uri>
			</author>
			<updated>2013-08-28T23:23:57Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=75051#p75051</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74994#p74994" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>serzh82saratov пишет:</cite><blockquote><p>Для более менее точного совпадения секунд, я бы сделал так:<br /></p><div class="codebox"><pre><code>
Gui, Add, Text, vTime w100 
Gui, Show 

TimeUpdate:
   GuiControl,, Time, %A_Hour%:%A_Min%:%A_Sec%
   SetTimer, TimeUpdate, % &quot;-&quot; (999 - A_MSec) + 100
   return
</code></pre></div><p>GuiControl отнимает немало время. В итоге будут проскальзывания между секундами и не равноменое их изменение.</p></blockquote></div><p>Вообщем то он работает прекрасно, только когда я его добавил в свою программу, он вроде как показывает время но не обновляет его, он его обновит только если кликнуть по нему мышкой, он обновится и снова стоит на месте.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-08-27T17:32:07Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74994#p74994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74990#p74990" />
			<content type="html"><![CDATA[<p>Решение интересное, но ты лишил человека возможности подумать самому. <img src="//forum.script-coding.com/img/smilies/wink.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-08-27T14:59:55Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74990#p74990</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74988#p74988" />
			<content type="html"><![CDATA[<p>Для более менее точного совпадения секунд, я бы сделал так:<br /></p><div class="codebox"><pre><code>
Gui, Add, Text, vTime w100 
Gui, Show 

TimeUpdate:
   GuiControl,, Time, %A_Hour%:%A_Min%:%A_Sec%
   SetTimer, TimeUpdate, % &quot;-&quot; (999 - A_MSec) + 100
   return
</code></pre></div><p>GuiControl отнимает немало время. В итоге будут проскальзывания между секундами и не равноменое их изменение.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2013-08-27T14:35:37Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74988#p74988</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74986#p74986" />
			<content type="html"><![CDATA[<p>Пример:<br /></p><div class="codebox"><pre><code>Gui, Add, Text, vTime w100, % i:=1
Gui, Show

SetTimer, TimeUpdate, 1000
return

TimeUpdate:
   GuiControl,, Time, % ++i
   return

Esc::ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-08-27T13:23:49Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74986#p74986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74985#p74985" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p>Ту же команду выполнять по <a href="http://script-coding.com/AutoHotkey/SetTimer.html">таймеру</a>.</p></blockquote></div><p>Не получается, можете привести пример?</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-08-27T13:15:29Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74985#p74985</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74984#p74984" />
			<content type="html"><![CDATA[<p>Ту же команду выполнять по <a href="http://script-coding.com/AutoHotkey/SetTimer.html">таймеру</a>.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2013-08-27T13:12:44Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74984#p74984</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Системное время компьютера]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=74979#p74979" />
			<content type="html"><![CDATA[<p>Вот такой вопрос: как можно получить системное время?<br />Пробовал так:<br /></p><div class="codebox"><pre><code>GuiControl, , Time, %A_Hour%:%A_Min%:%A_Sec%</code></pre></div><p>Так он время показывает, но я бы хотел чтобы он показывал время в режиме &quot;онлайн&quot;, то есть обновлялось прямо в программе.</p>]]></content>
			<author>
				<name><![CDATA[sergeiplugatyr]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=30382</uri>
			</author>
			<updated>2013-08-27T11:06:14Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=74979#p74979</id>
		</entry>
</feed>
