-
-
Save andrewssobral/48104674fae598ecd0385142c990d2c7 to your computer and use it in GitHub Desktop.
Claude Autoclick "Allow Tool"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do | |
osascript -e ' | |
tell application "System Events" | |
if exists process "Claude" then | |
tell process "Claude" | |
if exists button "Allow for This Chat" of group 2 of group 1 of group 1 of group 1 of UI element 2 of group 1 of group 1 of group 1 of group 1 of window "Claude" then | |
click button "Allow for This Chat" of group 2 of group 1 of group 1 of group 1 of UI element 2 of group 1 of group 1 of group 1 of group 1 of window "Claude" | |
log "clicked allow button" | |
end if | |
end tell | |
end if | |
end tell | |
' | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment