Safari URL token when using Safari Technology Preview?

Hi, new user here.

I wanted to make use of the %SafariURL% token but it seems to only work for regular Safari. Is there any way to get the URL from Safari Technology Preview? Even if it is more convoluted?

Also, what is the variables in the preferences tab for?

Thanks!

Hey @baconCheeseFry,

Of course. Safari and the SFP are two entirely different apps.

tell application "Safari Technology Preview"
   return URL of front document
end tell

Please don’t mix entirely different questions in the same thread.

Your second question is explained in the Wiki:

https://wiki.keyboardmaestro.com/manual/Variables#Accessing_in_the_Preferences_Window
https://wiki.keyboardmaestro.com/manual/Windows#Preferences_Variables_Pane

-Chris