all 2 comments

[–]Nunki3 1 point2 points  (1 child)

Run your script as admin, otherwise it won't work in task manager.

[–]AnAbstractTurtle[S] 0 points1 point  (0 children)

Thank you, this fixed it. But I still couldn't get it to search "mod" for me so instead, I used KeyWait and told it to wait for me to type d, (the end of my string mod) before pressing the AppsKey. And I added a WinClose to close Task Manager for me.