If Then Else With a 30 Second Timer

Hello,

Making a script that Google searches my cell. I have the Google search open Safari with my clipboard Googled.

When I hit return it will close the Safari page I've opened.

If I don't hit return and want to keep the page over, the next time I hit return It closes my current open page.

I want an if then else condition::

If is under one minute, return closes window. else return acts normally.

Actually, probably not.

This pauses for ↵ and times out after 1min. If the timeout is reached, the macro ends without an abort notification. Set the timeout via the gear icon, at the top-right of the pause action.

Google Cell.kmmacros (22.3 KB)

2 Likes