Bring target app to foreground

I have a link to an Apple Calendar entry like this:

[my calendar item](hook://ical/eventID=681731C3-7F02-4C84-9BFB-88755AD2C0DBcalendarID=39)

When I click on this link (in DEVONthink or Notes) the correct calendar entry is selected in Apple Calendar but the Calendar app stays in the background. Is there any option to change that behavior so that the target app is activated and brought to the foreground?

Other apps, like Things with a link like

[my Things item](things:///show?id=2KqPEC7pfMDSjEEwhjZx9j)

work as expected: the Things item is displayed in front of all other open windows.

We have updated our script server with the fix. Could you please update your Hookmark script and see if the issue is fixed. (Hookmark preference window->Update->Check now) . The script version is 378.

Thank you

Your update has solved my problem. Thank you so much!