#Persistent
CoordMode, pixel, screen
CoordMode, Mouse, Screen
SetDefaultMouseSpeed, 1
#SingleInstance force
/* photographer
*/
1::
ImageSearch, foundx6, foundy6, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\photographer.png
sleep,200
MouseMove, %foundx6%+15, %foundy6%+15
Sleep, 200
click
Sleep, 200
ImageSearch, foundxa, foundyb, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\txt box.png
sleep, 200
MouseMove, %foundxa%+15, %foundyb%+15
Sleep, 200
click
return
/* people & animals
*/
2::
ImageSearch, foundx, foundy, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\people.png
sleep, 200
MouseMove, %foundx%+15, %foundy%+15
Sleep, 200
click
Sleep, 200
ImageSearch, foundxc, foundyd, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\txt box.png
sleep, 200
MouseMove, %foundxc%+15, %foundyd%+15
Sleep, 200
click
return
/*others
*/
3::
ImageSearch, foundx2, foundy2, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\others.png
sleep, 200
MouseMove, %foundx2%+15, %foundy2%+15
Sleep, 200
click
Sleep, 200
ImageSearch, foundxe, foundyf, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\txt box.png
sleep, 200
MouseMove, %foundxe%+15, %foundyf%+15
Sleep, 200
click
return
/* pondering
*/
4::
ImageSearch, foundx3, foundy3, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\pondering.png
sleep, 200
MouseMove, %foundx3%+15, %foundy3%+15
Sleep, 200
click
Sleep, 200
ImageSearch, foundxg, foundyh, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\txt box.png
sleep, 200
MouseMove, %foundxg%+15, %foundyh%+15
Sleep, 200
click
return
/* not applicable
*/
5::
ImageSearch, foundx4, foundy4, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\not applicable.png
sleep, 200
MouseMove, %foundx4%+15, %foundy4%+15
Sleep, 200
click
Sleep, 200
ImageSearch, foundxi, foundyj, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\txt box.png
sleep, 200
MouseMove, %foundxi%+15, %foundyj%+15
Sleep, 200
click
sleep, 200
send, x
return
/* click image
*/
q::
ImageSearch, foundxk, foundyl, 0, 0, A_ScreenWidth, A_ScreenHeight, D:\allmyfiles\miyazaki script\image.png
sleep, 200
MouseMove, %foundxk%+15, %foundyl%+15
Sleep, 200
click
return
z::
send, ^w
return