<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11049&amp;type=atom" />
	<updated>2015-11-01T10:10:14Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11049</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск скрипта в указанное время]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98615#p98615" />
			<content type="html"><![CDATA[<p>Можно и без цикла обойтись:<br /></p><div class="codebox"><pre><code>target_time = 1205   ; 12:05
target := A_YYYY A_MM A_DD target_time 00
if (target &lt; A_Now)
   EnvAdd, target, 1, d
EnvSub, target, %A_Now%, Seconds
Sleep, % target * 1000
msgbox Alarm!</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2015-11-01T10:10:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98615#p98615</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск скрипта в указанное время]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98595#p98595" />
			<content type="html"><![CDATA[<p><strong>Alectric</strong>, можно компактней:<br /></p><div class="codebox"><pre><code>loop
sleep,500
until ( a_hour=15 and a_min=31 and a_sec=20 ) and itstime:=1

msgbox 1
return

#IF itstime
F1::msgbox,Хоткеи работают.</code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2015-10-31T10:32:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98595#p98595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Запуск скрипта в указанное время]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98590#p98590" />
			<content type="html"><![CDATA[<p>Как-то так:<br /></p><div class="codebox"><pre><code>loop
{
  sleep,60000
  if (a_hour=11 and a_min=44)
    itstime=1
} until itstime

; код скрипта:
msgbox,Скрипт запущен.
return


#if itstime

; хоткеи скрипта:
f1::
msgbox,Хоткеи работают.
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alectric]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26027</uri>
			</author>
			<updated>2015-10-31T06:44:30Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98590#p98590</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Запуск скрипта в указанное время]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=98589#p98589" />
			<content type="html"><![CDATA[<p>Доброе время суток.<br />Как можно в виде формы или или в коде реализовать запуск скрипта в определенное время?</p>]]></content>
			<author>
				<name><![CDATA[lukas_endigo_91]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33312</uri>
			</author>
			<updated>2015-10-31T06:19:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=98589#p98589</id>
		</entry>
</feed>
