Only Execute My Keystroke if URL Is

Here is what I want to do.
I want my hotkey trigger to execute certain sets of actions if the URL of Safari is to for example, otherwise don't do anything.
Is it possible? TX

You can use token %SafariURL% to get the url for if condition


Awesome and can I name the variable what ever I want ?

I need to up my token games.

Sure, just assign to another name just like in the example, however the variable that assign the URL will not reflect the url change in Safari, only token can ( take note that token is not variable although it look like one)