home *** CD-ROM | disk | FTP | other *** search
- set mh to the mouseH
- set mv to the mouseV
- puppetSound("mouseClick")
- updateStage()
- set gCatBoxWide to 92
- set gCatBoxTall to 56
- set gCatSpan to 2
- set gCatBox1H to 116
- set gCatBox1V to 76
- set gCatBox2V to gCatBox1V + gCatBoxTall + gCatSpan
- set gCatBox3V to gCatBox1V + (2 * (gCatBoxTall + gCatSpan))
- set gCatBox4V to gCatBox1V + (3 * (gCatBoxTall + gCatSpan))
- set gCatBox5V to gCatBox1V + (4 * (gCatBoxTall + gCatSpan))
- set gLogCatTest to (1 * ((mh > gCatBox1H) and (mh < (gCatBox1H + gCatBoxWide)) and ((mv > gCatBox1V) and (mv < (gCatBox1V + gCatBoxTall))))) + (2 * ((mh > gCatBox1H) and (mh < (gCatBox1H + gCatBoxWide)) and ((mv > gCatBox2V) and (mv < (gCatBox2V + gCatBoxTall))))) + (3 * ((mh > gCatBox1H) and (mh < (gCatBox1H + gCatBoxWide)) and ((mv > gCatBox3V) and (mv < (gCatBox3V + gCatBoxTall))))) + (4 * ((mh > gCatBox1H) and (mh < (gCatBox1H + gCatBoxWide)) and ((mv > gCatBox4V) and (mv < (gCatBox4V + gCatBoxTall))))) + (5 * ((mh > gCatBox1H) and (mh < (gCatBox1H + gCatBoxWide)) and ((mv > gCatBox5V) and (mv < (gCatBox5V + gCatBoxTall)))))
- if gLogCatTest <> 0 then
- go("Index" & gLogCatTest)
- end if
-