<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Plants vs. Zombies</title>
	<atom:link href="http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/</link>
	<description>/html</description>
	<lastBuildDate>Tue, 23 Aug 2011 12:33:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Murray-Mint</title>
		<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/comment-page-1/#comment-84</link>
		<dc:creator>Murray-Mint</dc:creator>
		<pubDate>Sun, 16 Aug 2009 14:13:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.murray-mint.co.uk/?p=63#comment-84</guid>
		<description>Nice work on the thread and the support! I&#039;ll add the links to the main article.</description>
		<content:encoded><![CDATA[<p>Nice work on the thread and the support! I&#8217;ll add the links to the main article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gir489</title>
		<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/comment-page-1/#comment-83</link>
		<dc:creator>gir489</dc:creator>
		<pubDate>Fri, 14 Aug 2009 23:01:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.murray-mint.co.uk/?p=63#comment-83</guid>
		<description>I&#039;ve been updating PVZ Hotkeys almost religiously, adding windowed support, reducing failed dimension retrieving, and update checker, and a whole bunch of other stuff.

I pretty much used PVZ Hotkeys to learn AutoIt 3, and it&#039;s really nice, and it turned me to AutoHotKeys, which is able to give me bunny hopping, and rapid pistol.

Anyway, here&#039;s the link to the current project&#039;s page: http://forums.steampowered.com/forums/showthread.php?t=927299</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been updating PVZ Hotkeys almost religiously, adding windowed support, reducing failed dimension retrieving, and update checker, and a whole bunch of other stuff.</p>
<p>I pretty much used PVZ Hotkeys to learn AutoIt 3, and it&#8217;s really nice, and it turned me to AutoHotKeys, which is able to give me bunny hopping, and rapid pistol.</p>
<p>Anyway, here&#8217;s the link to the current project&#8217;s page: <a href="http://forums.steampowered.com/forums/showthread.php?t=927299" rel="nofollow">http://forums.steampowered.com/forums/showthread.php?t=927299</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murray-Mint</title>
		<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/comment-page-1/#comment-82</link>
		<dc:creator>Murray-Mint</dc:creator>
		<pubDate>Mon, 10 Aug 2009 00:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.murray-mint.co.uk/?p=63#comment-82</guid>
		<description>Looks good. I think it might not have worked as it only works in Windowed Mode when I&#039;ve tested. Yours looks a bit better, especially locking the mouse input.</description>
		<content:encoded><![CDATA[<p>Looks good. I think it might not have worked as it only works in Windowed Mode when I&#8217;ve tested. Yours looks a bit better, especially locking the mouse input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gir489</title>
		<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/comment-page-1/#comment-81</link>
		<dc:creator>gir489</dc:creator>
		<pubDate>Tue, 28 Jul 2009 06:28:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.murray-mint.co.uk/?p=63#comment-81</guid>
		<description>Sorry for the last post.

Here&#039;s a better post. It also has 2 new buttons.

http://rapidshare.com/files/260881507/Plants_Vs._Zombies_Hotkeys_AutoIt__Gir489_.rar</description>
		<content:encoded><![CDATA[<p>Sorry for the last post.</p>
<p>Here&#8217;s a better post. It also has 2 new buttons.</p>
<p><a href="http://rapidshare.com/files/260881507/Plants_Vs._Zombies_Hotkeys_AutoIt__Gir489_.rar" rel="nofollow">http://rapidshare.com/files/260881507/Plants_Vs._Zombies_Hotkeys_AutoIt__Gir489_.rar</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gir489</title>
		<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/comment-page-1/#comment-80</link>
		<dc:creator>gir489</dc:creator>
		<pubDate>Tue, 28 Jul 2009 00:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.murray-mint.co.uk/?p=63#comment-80</guid>
		<description>I used this script as a base for mine, as this did not work as-is.

Here&#039;s my version. It works on my computer, and it disables mouse input, so slamming the mouse arround won&#039;t effect the click event.

AutoItSetOption(&quot;MouseCoordMode&quot;, 0)
$registered = false
Dim $keys[10][2]

While 1
	If WinActive(&quot;Plants vs. Zombies&quot;) Then
		RegisterKeys()
	Else
		UnregisterKeys()
	EndIf
	Sleep(100)
WEnd

Func SelectPlant()
	If WinActive(&quot;Plants vs. Zombies&quot;) Then
		BlockInput(1)
		$slot = @HotKeyPressed
		$slot -= 1;
		If $slot == -1 Then
			$slot = 9
		EndIf
		BlockInput(1)
		$currentPosition = MouseGetPos()
		MouseClick(&quot;primary&quot;, $keys[$slot][0], $keys[$slot][1], 1, 0)
		MouseMove($currentPosition[0], $currentPosition[1], 0)
		BlockInput(0)
	EndIf
EndFunc

Func RegisterKeys()
	If NOT $registered Then
		$i = 0
		$x = 190
		$y = 70
		While $i &lt; 10
			$keys[$i][0] = $x
			$keys[$i][1] = $y
			HotKeySet($i, &quot;SelectPlant&quot;)
			$x += 80
			$i += 1
		WEnd
		$registered = true
	EndIf
EndFunc

Func UnregisterKeys()
	If $registered Then
		$i = 0
		While $i &lt; 10
			HotKeySet($i);
			$i += 1;
		WEnd
		$registered = false
	EndIf
EndFunc</description>
		<content:encoded><![CDATA[<p>I used this script as a base for mine, as this did not work as-is.</p>
<p>Here&#8217;s my version. It works on my computer, and it disables mouse input, so slamming the mouse arround won&#8217;t effect the click event.</p>
<p>AutoItSetOption(&#8220;MouseCoordMode&#8221;, 0)<br />
$registered = false<br />
Dim $keys[10][2]</p>
<p>While 1<br />
	If WinActive(&#8220;Plants vs. Zombies&#8221;) Then<br />
		RegisterKeys()<br />
	Else<br />
		UnregisterKeys()<br />
	EndIf<br />
	Sleep(100)<br />
WEnd</p>
<p>Func SelectPlant()<br />
	If WinActive(&#8220;Plants vs. Zombies&#8221;) Then<br />
		BlockInput(1)<br />
		$slot = @HotKeyPressed<br />
		$slot -= 1;<br />
		If $slot == -1 Then<br />
			$slot = 9<br />
		EndIf<br />
		BlockInput(1)<br />
		$currentPosition = MouseGetPos()<br />
		MouseClick(&#8220;primary&#8221;, $keys[$slot][0], $keys[$slot][1], 1, 0)<br />
		MouseMove($currentPosition[0], $currentPosition[1], 0)<br />
		BlockInput(0)<br />
	EndIf<br />
EndFunc</p>
<p>Func RegisterKeys()<br />
	If NOT $registered Then<br />
		$i = 0<br />
		$x = 190<br />
		$y = 70<br />
		While $i &lt; 10<br />
			$keys[$i][0] = $x<br />
			$keys[$i][1] = $y<br />
			HotKeySet($i, &quot;SelectPlant&quot;)<br />
			$x += 80<br />
			$i += 1<br />
		WEnd<br />
		$registered = true<br />
	EndIf<br />
EndFunc</p>
<p>Func UnregisterKeys()<br />
	If $registered Then<br />
		$i = 0<br />
		While $i &lt; 10<br />
			HotKeySet($i);<br />
			$i += 1;<br />
		WEnd<br />
		$registered = false<br />
	EndIf<br />
EndFunc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orry</title>
		<link>http://www.murray-mint.co.uk/2009/05/14/plants-vs-zombies/comment-page-1/#comment-79</link>
		<dc:creator>Orry</dc:creator>
		<pubDate>Tue, 16 Jun 2009 13:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.murray-mint.co.uk/?p=63#comment-79</guid>
		<description>Hi there, love your code.. Just curious, is there anyway I can link cob cannons to a hot key? and have the key press activate the topmost cannon?</description>
		<content:encoded><![CDATA[<p>Hi there, love your code.. Just curious, is there anyway I can link cob cannons to a hot key? and have the key press activate the topmost cannon?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

