Menulet Apps

@stardrive

I can confirm that…

  • The AppleScript does nothing when launched via KM Time Trigger and the screen is sleeping
  • An initial Wake Screen action as @JMichaelTX has shown solves the problem (on my machine)

Some tips:

  • To be on the safe side maybe throw in a short Pause action after the Wake action.
  • Since you’re exclusively using a timed trigger you can as well use the first version of the script as posted here. That script is “cleaner” and the mentioned delay is irrelevant if it runs in the middle of the night :wink: (The delay is about 5s on my Mac.)
  • If you are experiencing any problems with the script – and especially if you are using the second version of the script – make sure that System Events.app is check-marked in System Preferences > Security & Privacy > Privacy > Accessibility. See this post. [1]
  • If you use the second version of the script you also want to play around with the timeout value.
  • I noticed that – on my system – Backblaze’s menu items don’t always reflect the actual status. That is, after the script has run it may still show “Backup Now”. If I wait a couple of seconds and then simply open the menu again it shows “Pause Backup”.

[1]: If you have to add it manually you find it in /System/Library/CoreServices/