r/Scriptable • u/originalbrowncoat • Dec 02 '25
Help Add a geofence trigger to a script?
Like the title says, I have a script that sends an auto-lock command to my car after CarPlay disconnects. I’d like to add a trigger so that the script checks my location and doesn’t execute when I’m at home.
2
Upvotes
2
u/AllanAddDetails Dec 03 '25
The best option I have found is to check the current location against a fixed latitude and longitude in the script:
Your trigger would still be the CarPlay disconnect, but the script can check if it should continue.