mirror of
https://github.com/jamf/Setup-Manager.git
synced 2026-02-03 14:13:24 +00:00
FR: Return key executes finalAction during countdown #80
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fraserhess on GitHub.
I'd like to be able to hit the Return key to execute the finalAction during finalCountdown. Hopefully it's not too much hassle to add a key binding for this.
@scriptingosx commented on GitHub:
please verify with https://github.com/jamf/Setup-Manager/releases/tag/v1.2beta3
@fraserhess commented on GitHub:
This worked for me in the latest beta
@fraserhess commented on GitHub:
I am familiar with these focus issues from working on the swiftDialog code to have it run at login window. And to be honest, even the policy banner feature in macOS doesn’t always get it right.
That said, it shouldn’t be an issue for anyone who already has to click around for user entry.
@scriptingosx commented on GitHub:
It was an oversight that we haven't done this yet. Thanks for pointing it out. Implementing this is easy. It will be in the next build.
However...
There is a weird thing where Setup Manager does not gain keyboard focus when launched after enrollment. You can tell this because the progress bar stays grey, rather than taking on the accentColor. When you click in the Setup Manager window, the progress bar takes on the accent color and keyboard shortcuts work (there are more, the
ikey open 'About this Mac…',hopens the help menu, space bar will show a scannable bar code with the serial number)But you have to click in the window once before the keyboard focus moves to Setup Manager.
I have tried a bunch of things, but the context here over Setup Assistant is unusual and the usual commands don't seem to work.
So, even once you have the build with the proper key assignment, you will still have to click at least once... sorry.
@bfriedman-od commented on GitHub:
Would it be possible to have the Return key submit the user entry page as well? (I can open a separate issue if you'd like.)