Ah yes, of course.
I can confirm that, in your second example, replacing "com.apple.Safari" with "com.kagi.kagimacOS" works.This is not the case when applied to the first script. Modifying my original examples to use application id
in place of application
also works, so it all seems consistent.
As an additional experiment, I have just tried the following, and then restarted KM (editor and engine):
defaults write com.stairways.keyboardmaestro.engine AppleScriptSafariBundleID -string "com.kagi.kagimacOS"
and
defaults write com.stairways.keyboardmaestro.engine BrowserSafariName -string "com.kagi.kagimacOS"
%SafariURL%
then gave the URL from Orion, but %SafariTitle%
was empty.