PencilPenMarker Posted October 11, 2023 Share Posted October 11, 2023 I use Alfred's "restart" command to restart macOS. I've noticed windows now reopen when logging back in. This only happens when I use Alfred's command, not when restarting via the menu (the option to "Reopen windows when logging back in" is unchecked)—so I'm hoping this is a bug, and something that can be rectified. What you were doing: Using restart command Able to replicate: Yes Alfred version & build number: 5.1.3 [2175] macOS version: Sonoma 14.0 Link to comment
Vero Posted October 11, 2023 Share Posted October 11, 2023 @PencilPenMarker Welcome to the forum As of last time we checked, macOS doesn't provide a way for third-party apps to control this behaviour, so it's not possible for Alfred to change this. Having said that, it can be done with a workflow. [Note: I've edited my answer, as @vitor provided an even better one!] You can use the Shutdown Timer workflow to restart, and can set the apps to relaunch or not in the workflow configuration: https://alfred.app/workflows/vitor/shutdown-timer/ Link to comment
vitor Posted October 11, 2023 Share Posted October 11, 2023 To add, the Shutdown Timer workflow does exactly that, it has both shutdown and restart keywords, and can be configured to close all apps before it does so. The option is on by default, so you can just install and start using it. Link to comment
PencilPenMarker Posted October 11, 2023 Author Share Posted October 11, 2023 (edited) That is a shame; wish macOS gave devs control over this preference. Thank you both for such a speedy response, and for the link to the workflow. Love Alfred more than any other utility and I so appreciate the customer support here. Should I delete this post or leave up for others who may search for this issue too? Edited October 11, 2023 by PencilPenMarker vitor 1 Link to comment
Stephen_C Posted October 11, 2023 Share Posted October 11, 2023 1 hour ago, PencilPenMarker said: Should I delete this post or leave up for others who may search for this issue too? Always leave for others to benefit! Stephen vitor 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now