Can't assign Safari Title to variable

Hello,

I’m trying to check the title of a Safari window in a macro. I’ve only created one action: Set Variable ‘Title’ to Safari Field ‘%SafariTitle%’. All I get is the error “Failed to set value” etc.

I get the same results whatever variable name I choose. Safari is obviously running with an open page.

Please help. Thanks.

Hey Ikko,

You're misunderstanding what a Safari Field is.

A Safari Field is a text field inside a webpage in Safari.

The URL field in Safari is part of the OSX Safari UI and outside of the page itself.

%SafariTitle% is a text token to be used in a Set Variable to Text action (or other Keyboard Maestro text field).

Here's an example:

-Chris