Open bluecursor opened 1 year ago
@bluecursor Thank you for your feedback. These two functionalities are implemented by Apple scripts. Please check if these two scripts can normally run on your laptop(You can test them on Script Editor): Auto Hide Menu Bar:
tell application "System Events"
tell dock preferences to set autohide menu bar to true
end tell
Auto Hide Dock:
tell application "System Events" to set the autohide of the dock preferences to true
If you change the boolean value to false
, auto-hide will be turned off.
In script editor, it works fine, but not in onlyswitch. see video
https://github.com/jacklandrin/OnlySwitch/assets/31462938/5e36a555-099b-4389-99ec-c309f5fd56ce
Update: Screen Saver does the same issue.
@bluecursor Please check if System Events of OnlySwitch are allowed here.
only switch not found in automation. It never asked for permissions to add to automation
BlueCursor www.imacommodork.com Sent with OSX/iOS Spark! On Jun 23, 2023 at 3:22 AM -0400, jack @.***>, wrote:
@bluecursor Please check if System Events of OnlySwitch are allowed here. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>
This is the first time I receive this kind of issue. Have you checked the other Privacy & Security items, such as allowing identified developers? Or perhaps that you installed some security app blocks it. As well as suggest to deeply uninstall app (such as using AppCleaner) and reinstall it. I hope these can help you.
On a fresh install of OSX Monterey, Only switch still does not ask for permission to add to automation. Also allow apps from anywhere is turned on. Maybe at your end, try deleting only switch from automations and see if it ask for permission to add back?
Perhaps, you can use tccutil reset AppleEvents
command to reset your Automation configuration, at least it works on my side. When I first pressed icon on menu bar, the permission dialog showed.
Warning: This command will also reset Automation of other apps.
Describe the bug Auto Hides Menu Bar & Dock don't work, its spins but does nothing and doesn't switch on.
Desktop (please complete the following information):