<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.autoitscript.com/w/index.php?action=history&amp;feed=atom&amp;title=Timers_and_Hotkey_Example</id>
	<title>Timers and Hotkey Example - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.autoitscript.com/w/index.php?action=history&amp;feed=atom&amp;title=Timers_and_Hotkey_Example"/>
	<link rel="alternate" type="text/html" href="https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;action=history"/>
	<updated>2026-04-26T17:49:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;diff=11689&amp;oldid=prev</id>
		<title>Jaberwocky6669: Added AutoIt syntax highlight and Samples Category</title>
		<link rel="alternate" type="text/html" href="https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;diff=11689&amp;oldid=prev"/>
		<updated>2013-08-01T02:51:11Z</updated>

		<summary type="html">&lt;p&gt;Added AutoIt syntax highlight and Samples Category&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:51, 1 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot;&gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039; Not updated for current versions of AutoIt&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039; Not updated for current versions of AutoIt&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;syntaxhighlight lang=&quot;autoit&quot;&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  winclose(&amp;quot;mycountdown&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  winclose(&amp;quot;mycountdown&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  AutoItWinSetTitle ( &amp;quot;mycountdown&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  AutoItWinSetTitle ( &amp;quot;mycountdown&amp;quot; )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l66&quot;&gt;Line 66:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $loc=StringSplit($loc1,&amp;quot;,&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $loc=StringSplit($loc1,&amp;quot;,&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  endfunc&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  endfunc&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Samples]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jaberwocky6669</name></author>
	</entry>
	<entry>
		<id>https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;diff=11486&amp;oldid=prev</id>
		<title>IEvKI3gv9Wrkd41u: add to: Category:Samples</title>
		<link rel="alternate" type="text/html" href="https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;diff=11486&amp;oldid=prev"/>
		<updated>2012-12-11T06:21:10Z</updated>

		<summary type="html">&lt;p&gt;add to: Category:Samples&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 06:21, 11 December 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Samples]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Script by:&amp;#039;&amp;#039; scriptkitty&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;Script by:&amp;#039;&amp;#039; scriptkitty&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IEvKI3gv9Wrkd41u</name></author>
	</entry>
	<entry>
		<id>https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;diff=7980&amp;oldid=prev</id>
		<title>JRowe at 14:22, 14 October 2008</title>
		<link rel="alternate" type="text/html" href="https://www.autoitscript.com/w/index.php?title=Timers_and_Hotkey_Example&amp;diff=7980&amp;oldid=prev"/>
		<updated>2008-10-14T14:22:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;Script by:&amp;#039;&amp;#039; scriptkitty&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Original Link:&amp;#039;&amp;#039;&lt;br /&gt;
[http://www.autoitscript.com/forum/index.php?showtopic=1358]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Description:&amp;#039;&amp;#039; This is just an example of a little quick timer you might have a use for.&lt;br /&gt;
It uses variations of one button to do almost everything. I use it personally inside a game I play to keep track of stuff.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039; Not updated for current versions of AutoIt&lt;br /&gt;
 &lt;br /&gt;
 winclose(&amp;quot;mycountdown&amp;quot;)&lt;br /&gt;
 AutoItWinSetTitle ( &amp;quot;mycountdown&amp;quot; )&lt;br /&gt;
 $loc=StringSplit(&amp;quot;546,378&amp;quot;,&amp;quot;,&amp;quot;); default location&lt;br /&gt;
 $amount=90; default time&lt;br /&gt;
 HotKeySet (&amp;quot;!{NUMPADADD}&amp;quot;,&amp;quot;testoff&amp;quot;)&lt;br /&gt;
 HotKeySet (&amp;quot;{NUMPADADD}&amp;quot;,&amp;quot;test&amp;quot;)&lt;br /&gt;
 HotKeySet (&amp;quot;^{NUMPADADD}&amp;quot;,&amp;quot;amount&amp;quot;)&lt;br /&gt;
 HotKeySet (&amp;quot;^!{NUMPADADD}&amp;quot;,&amp;quot;loc&amp;quot;)&lt;br /&gt;
 ToolTip(&amp;quot;Click + to start&amp;quot;, 0, 0)&lt;br /&gt;
 sleep(2000)&lt;br /&gt;
 &lt;br /&gt;
 $begin=0&lt;br /&gt;
 While 1&lt;br /&gt;
 while $begin&amp;lt;&amp;gt;0&lt;br /&gt;
 ToolTip(&amp;quot;&amp;quot;, 0, 0)&lt;br /&gt;
 while (TimerStop($begin)/1000)&amp;lt;$amount&lt;br /&gt;
 $time=$amount-int(TimerStop($begin)/1000)/1&lt;br /&gt;
 if $time&amp;gt;120 then&lt;br /&gt;
 ToolTip(int($time/60)&amp;amp;&amp;quot; min left &amp;quot;&amp;amp;$time-int($time/60)*60&amp;amp;&amp;quot; seconds&amp;quot;,$loc[1],$loc[2])&lt;br /&gt;
 else&lt;br /&gt;
 if $time&amp;lt;30 then&lt;br /&gt;
 ToolTip(&amp;quot;Warning Warning Warning, Only &amp;quot;&amp;amp;$time&amp;amp;&amp;quot; seconds left &amp;quot;,$loc[1],$loc[2])&lt;br /&gt;
 else&lt;br /&gt;
 ToolTip($time&amp;amp;&amp;quot; seconds left &amp;quot;,$loc[1],$loc[2])&lt;br /&gt;
 endif&lt;br /&gt;
 endif&lt;br /&gt;
 &lt;br /&gt;
 sleep(20)&lt;br /&gt;
 wend&lt;br /&gt;
 wend&lt;br /&gt;
 ToolTip(&amp;quot;&amp;quot;, 0, 0)&lt;br /&gt;
 sleep(20)&lt;br /&gt;
 wend&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 sleep(-1)&lt;br /&gt;
 &lt;br /&gt;
 func test()&lt;br /&gt;
 $begin = TimerStart()&lt;br /&gt;
 endfunc&lt;br /&gt;
 &lt;br /&gt;
 func testoff()&lt;br /&gt;
 ToolTip(&amp;quot;&amp;quot;)&lt;br /&gt;
 $begin = 0&lt;br /&gt;
 endfunc&lt;br /&gt;
 &lt;br /&gt;
 func amount()&lt;br /&gt;
 $amount = InputBox(&amp;quot;Question&amp;quot;, &amp;quot;How many sec?&amp;quot;&amp;amp;@crlf&amp;amp;&amp;quot;or XXmin&amp;quot;, &amp;quot;1min&amp;quot;, &amp;quot;&amp;quot;, -1, -1, 0, 0)&lt;br /&gt;
 if stringinstr($amount,&amp;quot;min&amp;quot;)&amp;gt;0 then $amount=int(stringreplace($amount,&amp;quot;min&amp;quot;,&amp;quot;&amp;quot;)*60)&lt;br /&gt;
 return $amount&lt;br /&gt;
 endfunc&lt;br /&gt;
 &lt;br /&gt;
 func loc()&lt;br /&gt;
 $loc1 = InputBox(&amp;quot;Question&amp;quot;, &amp;quot;Location x,y?&amp;quot;, &amp;quot;546,378&amp;quot;, &amp;quot;&amp;quot;, -1, -1, 0, 0)&lt;br /&gt;
 $loc=StringSplit($loc1,&amp;quot;,&amp;quot;)&lt;br /&gt;
 endfunc&lt;/div&gt;</summary>
		<author><name>JRowe</name></author>
	</entry>
</feed>