Tried to make an application using Applescript within Automator on my MacBook Pro but I couldn’t save it as the required Command Line Tools were not present in the Library.
However, they were available on the iMac and when copied across I was able to create a simple app to sleep the Mac. It’s in the Applications folder in my Home folder & in the Dock as well. Clicking on it puts the Mac to sleep.
Mac, iOS, Android user. Tea & cheese nut. Grumpy. Into working out, staying fit, eating healthy & lying. Covid status: 4 x vax. Immunocompromised.