Android App & AutoItScript Checks for CyanogenMod Nightlies every 5 Minutes!! [Download]

Well, can’t wait for the much awaited CyanogenMod 7 nightlies? Courtesy to guys at XDA, here is an Android App & an AutoIT script for windows which checks whether the nightly has been posted at CM7 site under the device name cooper or not.

So choose any of the method below so that you’re first to know about the nightly.

Note: The script & the executable is only for windows users (or through Wine on Linux)

$refreshTime = 300000 ;interval to check for cooper nightly in ms

while 1
	InetGet("http://download.cyanogenmod.com/?type=nightly", @ScriptDir & "\cmnightlypage")
	$file = FileOpen(@ScriptDir & "\cmnightlypage", 0)
	$html = FileRead(@ScriptDir & "\cmnightlypage")
	FileClose($file)

	If StringInStr($html, "device=cooper&type=nightly") > 0 Then
		FileDelete( @ScriptDir & "\cmnightlypage")
		MsgBox(64, "Nightly available.", "Cooper has been added to nightlies!")
		Exit
	Else
		FileDelete( @ScriptDir & "\cmnightlypage")
	EndIf
	Sleep($refreshTime)
WEnd

[via Xda-developers]

One thought on “Android App & AutoItScript Checks for CyanogenMod Nightlies every 5 Minutes!! [Download]

  1. Pingback: Was Official Cyanogenmod Worth The Wait? [Opinion] | Ace Tips

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s