Writing a script to autocomplete from a list selection

@sylumer Thanks a lot for this.

I’m able to run the script you’ve provided in Scriptable and then in Drafts; however, I’m struggling with the coding required to execute the steps you outined in your link, specifically:

Would it be possible to outline the coding steps required in the Drafts environment for me to have a go? I’m afraid I’m rather new to all this!

Martin