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.