Code: Select all
~^x::
{
loop
{
if practice.txt gets modified then do
{
; check line 24
if Line24Doesn'tContainText ("FFE4C4" or "808080" or "00BFFF" or "0B0000")
then
{
click 150,150
}
return
sleep 50
; check line 33
if Line33Doesn'tContainText ("FFE4C4" or "808080" or "00BFFF" or "0B0000")
then
{
click 150,200
}
return
sleep 50
; check line 42
if Line42Doesn'tContainText ("FFE4C4" or "808080" or "00BFFF" or "0B0000")
then
{
click 150,250
}
return
sleep 50
; check line 51
if Line51Doesn'tContainText ("FFE4C4" or "808080" or "00BFFF" or "0B0000")
then
{
click 150,300
}
return
}
return
sleep 250
}
return
}
return
Code: Select all
<html><head><title>AHK Practice</title><body>
Hello Buddy
<br1>
Pew1 <font color="808080">Pew2</font>Pew3
<center>
<img src="UI.SquareWhite" width=270 height=1><img src="UI.SquareBlank" width=1 height=3>
<br1>
<table width=270 border=0 bgcolor="000000">
<tr>
</tr>
<tr>
</tr>
<tr>
<td fixwidth=20 align=left></td>
<td fixwidth=135 align=left><1><font color="FF0000">Column 1</font></td>
<td fixwidth=115 align=left><2><font color="FF0000">Column 2</font></td>
<tr>
</tr>
<tr>
</tr>
<tr>
<td fixwidth=20 align=left></td>
<td fixwidth=135 align=left><1><font color="808080">button</font></td>
<td fixwidth=115 align=left><2><font color="818082">button</font></a></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td fixwidth=20 align=left></td>
<td fixwidth=135 align=left><1><font color="808080">button</font></td>
<td fixwidth=115 align=left><2><font color="FFE4C4">button</font></a></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td fixwidth=20 align=left></td>
<td fixwidth=135 align=left><1><font color="808080">button</font></td>
<td fixwidth=115 align=left><2><font color="8B0000">button</font></a></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
<td fixwidth=20 align=left></td>
<td fixwidth=135 align=left><1><font color="808080">button</font></td>
<td fixwidth=115 align=left><2><font color="00BFFF">button</font></a></td>
</tr>
<tr>
</tr>
<tr>
</tr>
<tr>
</tr>
</table>
<img src="UI.SquareWhite" width=270 height=1><img src="UI.SquareBlank" width=1 height=3>
<br>
<font color="FF0000">The bitter end.</font>
</body></html>