How to create a macro for: "automatic turn on/off computer, doing disk utility first aid once a week"

i am not entirely sure if this is possible, but it's something i'd like to accomplish, and i am not that familiar with it,
i'd like my computer every Monday to turn on by itself in the morning, and entering 'disk utility' and doing a 'first aid' scanning, and then once done that, exiting the program for then switching off the computer, is that possible?

I think you would need to get the timing of macros right for your particular system (e.g. Disk Utility needs more time to load up 4 disks than just 1!), and plan out exactly what you want the macro to do (e.g. what do you want to happen when Disk Utility reports an error). So I think this will be a macro you will need to write for yourself, and then ask for help as needed.

Ideas for you to look into:
You could maybe use the Energy Saver section of System Preferences to turn the computer on. Then decide on a suitable trigger for your macro (Wake Trigger set to "at login" maybe?). Maybe launch Disk Utility with the "open a file, folder or application" action. "Shut Down Computer" is probably the final action you will need.

I don't think this will be a difficult macro for you to write unless you are very much still a beginner... in which case, practise your skills on simpler tasks first, and become familiar with what Keyboard Maestro offers you. :wink:

Good luck!


1 Like

I agree with KevinB. it should not be a particularly difficult macro to write.

1 Like