0

Is it possible to make my Mac automatically open a website on Safari the very first time it is woken up just once in a day?

So for example, I come to work at 8:30 and wake up / boot up my Mac and Safari automatically opens up on a certain URL.

But then I go for lunch and turn it off / make it sleep and come back an hour later and this time nothing happens. And maybe i have a meeting and come back later and still nothing happens.

Until the next day this process repeats (only opening Safari the very first time)

Sorry, i'm not sure how to even google for this.

I thought maybe "Automator" could do something like this but i think it requires me to manually click on it.

Edit: I've opened a bounty on this same question at SuperUser: Automatically Launch safari with a certain url the first time the mac wakes/boots up in a day? if anyone is interested.

I'm running macOS Sierra (Version 10.12.1) and Safari (Version 10.0.1).

  • It would be helpful if we knew what versions of both macOS and Safari you're running. – Monomeeth Dec 1 '16 at 5:34
  • I'm running macOs Sierra (Version 10.12.1) and Safari (Version 10.0.1). – Pochi Dec 1 '16 at 5:51
  • Why the double-post? – klanomath Dec 4 '16 at 13:26
  • 1
    I'm voting to close this question as off-topic because this is duplicating and promoting a question on another site (SuperUser) – user151019 Dec 13 '16 at 11:31
  • Crossposting is not good etiquette on StackExchange, please choose one question and close the other. – Jaime Santa Cruz Dec 13 '16 at 12:09
2

You can use Automator for this.

  1. Open Automator
  2. Choose type: Calendar Alarm
  3. Drop action 'Get Specified URLs' in
  4. Drop action 'New Safari Documents' in
  5. Save Automator action
  6. Give the Calendar alarm a name
  7. The Calendar app will open now
  8. Edit the Calendar event - repeat every day at 08:30

Automator action

| improve this answer | |
0

OS X has no built-in triggers for running actions on sleep or wake, but there are several third-party solutions—see the answers to this question for several options (the question is a few years old, but some of the apps mentioned certainly still exist).

Once you have the ability to run a script on wake, one approach would be to check the timestamp of a hidden file that you create in the user's home directory. If the timestamp is today, do nothing. Otherwise, run your 'open url' action, then touch the hidden file to update its timestamp.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged .