SOLVED Visual daily alert

Joined
Aug 3, 2020
Messages
2
Reaction score
0
Can Automator be programmed to open a jpg .. probably with preview . .to the desktop at a specific time each day?
Manually you'd just select the desktop resident jpg and tap the space bar. Automate that at 9:00 am each morning?
 
Joined
Jan 25, 2017
Messages
1,264
Reaction score
99
I used applescript for this but I would think automator would work as well. With the script written you can use a calendar alert to run the script at a set date and time, with repeats if necessary.
The code below will open the image in Preview. Obviously your path to the image will be different.

Code:
tell application "Preview"


    open file "Macintosh HD:Users:steve:Pictures:contemplation.jpg"


end tell
 
Joined
Jan 25, 2017
Messages
1,264
Reaction score
99
To use calendar to run the file:

Open Calendar

Double click today's date and create a new event

Name the event

Click on the date to expand it

Double click on start time and set it

Click Repeat and set - Every day

Click Alert and set - Custom

Change Message to Open file

A roll down appears with a default of Calendar. Change it to Other…

Select the app I want to open using the dialog

Change the default time of "15 minutes before" to " at time of event"
 
Joined
Aug 3, 2020
Messages
2
Reaction score
0
To use calendar to run the file:

Open Calendar

Double click today's date and create a new event

Name the event

Click on the date to expand it

Double click on start time and set it

Click Repeat and set - Every day

Click Alert and set - Custom

Change Message to Open file

A roll down appears with a default of Calendar. Change it to Other…

Select the app I want to open using the dialog

Change the default time of "15 minutes before" to " at time of event"


Thank you!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top