Pokemon-Go-Controller
Pokemon-Go-Controller copied to clipboard
Use applescript instead of autoclicker
The following will tell xCode to update the location without hijacking the mouse:
repeat while true
tell application "System Events" to tell process "Xcode"
click menu item "pokemonLocation" of menu 1 of menu item "Simulate Location" of menu 1 of menu bar item "Debug" of menu bar 1
end tell
end repeat
Just open with script editor and run :)
I'm getting this error when I try to use this script: System Events got an error: Can’t get menu item "pokemonLocation" of menu 1 of menu item "Simulate Location" of menu 1 of menu bar item "Debug" of menu bar 1 of process "Xcode".
Any suggestions?
Change "pokemonLocation" to your project name if not.
delete first two '1' if it's not working
click menu item "pokemonLocation" of menu of menu item "Simulate Location" of menu of menu bar item "Debug" of menu bar 1