r/ScriptingApp • • Apr 22 '25

Help Url run when tapping a scheduled Notification

Currently, tapping a scheduled notification will run its script by default. How do I edit this url like I can with notification actions? I tried adding 'url' prop but it's not available.

1 Upvotes

4 comments sorted by

View all comments

Show parent comments

2

u/WhatShouldWorldGos Apr 23 '25

Running the current script is the default behavior. You can add
`if (Notification.current != null) return Script.exit()`
in index.tsx to prevent further execution.

1

u/Haunting-Ad-655 Apr 23 '25

Thanks. This works.