august1251:
The doc on the API looks pretty clear, but it seems to missing the outer wrapper, the context in which these URL commands are sent.
I tried simply pasting “agenda://x-callback-url/today” into my Chrome browser. I got a popup asking for permission to open the Agenda app. When I gave permission, my already open Agenda app changed to the Today page.
That’s great, the API works as advertised, but it defeats the purpose of automation if I have to give manual permission to every URL.
I would like to be able to create shell scripts or generate URLs in Excel and have them do what I want in my Agenda.
How do I globally give permission, in Chrome, in BSH, in Excel, so that manual intervention is not required?
Thanks
You are right, the x-callback-url are usually called from a higher level and not directly from the browser. For example, on iOS you can use them from the Shortcuts app, in the Shortcuts section of the community you can find a number of downloadable Shortcuts that can show you how to do this.
Other ways you are use them is through AppleScript , shell scripts , Automator actions or other 3rd party apps that implement the x-callback-url type callbacks like Drafts, Instapaper etc. See for more usage examples: http://x-callback-url.com