Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Hides Menu Bar & Dock #89

Open
bluecursor opened this issue Jun 22, 2023 · 8 comments
Open

Auto Hides Menu Bar & Dock #89

bluecursor opened this issue Jun 22, 2023 · 8 comments

Comments

@bluecursor
Copy link

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):

  • OS: OSX Ventura 13.4.1
  • Browser Safari
  • Version Latest
@jacklandrin
Copy link
Owner

@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.

@bluecursor
Copy link
Author

In script editor, it works fine, but not in onlyswitch. see video

CleanShot.2023-06-22.at.17.53.19.mp4

@bluecursor
Copy link
Author

Update: Screen Saver does the same issue.

@jacklandrin
Copy link
Owner

@bluecursor Please check if System Events of OnlySwitch are allowed here.
WeChat633d0dfca850f7cbf01c63b5fd396b8b

@bluecursor
Copy link
Author

bluecursor commented Jun 23, 2023 via email

@jacklandrin
Copy link
Owner

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.

@bluecursor
Copy link
Author

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?

@jacklandrin
Copy link
Owner

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.
Screenshot 2023-06-26 at 09 13 04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants