Welcome to the Hook Productivity Forum @cfritze64 , and thanks for asking.
Sorry all for the delay as this one fell off the radar over xmas
I had a quick look at this convoluted script and tested it. The script is being invoked but is not having the desired result. in Script Editor I get
error “System Events got an error: Can’t get splitter group 2 of splitter group 1 of window 1 of process "GoodTask". Invalid index.” number -1719 from splitter group 2 of splitter group 1 of window 1 of process “GoodTask”
Has the UI changed? We will look at this issue with high priority. Sorry again for the delay.
Meanwhile, has anyone else asked the developer to provide x-callback-url for getting the ID and title of the current task? That would avoid UI scripting and make this work in all languages. I see some x-callback-url but not for that. I have a note that we were in touch with that developer about that previously.