Coder Social home page Coder Social logo

Comments (10)

biocross avatar biocross commented on May 29, 2024 1

Oh I got this too when I upgraded to Sierra. Just delete the current binary you have, re-download and follow the installation steps again, it'll start working.

from macos-fn-toggle.

biocross avatar biocross commented on May 29, 2024

It seems to be working for me. What exactly is the issue you're facing? It's even working on High Sierra for me.

from macos-fn-toggle.

kevindashgit avatar kevindashgit commented on May 29, 2024

When I attempt to run it I get the error (in a dialog window) The action "Run AppleScript" encountered an error.

from macos-fn-toggle.

kevindashgit avatar kevindashgit commented on May 29, 2024

hmmm - I tried this but no luck.

git pull && make clean && make install && ./fn-toggle.app/Contents/MacOS/Application\ Stub

yields both the error dialog mentioned above along w/ the following output in stdout:

2017-10-02 13:02:42.974 Application Stub[78836:2812651] Cache file at /System/Library/Caches/com.apple.automator.actionCache-system-readonly.plist is not valid: System Languages have changed.
2017-10-02 13:02:42.974 Application Stub[78836:2812651] Failed to use read-only system cache from installer at /System/Library/Caches/com.apple.automator.actionCache-system-readonly.plist.

from macos-fn-toggle.

kevindashgit avatar kevindashgit commented on May 29, 2024

Actually . - now that I look more closely at the automator script - the Keyboard pane of System Preferences no longer contains a checkbox that allows default usage of F1, F2, etc Keys - so default selecting the first checkbox wouldn't do the trick. In fact, it should have checked Adjust keyboard brightness in low light but for whatever reason this doesn't happen.

from macos-fn-toggle.

kevindashgit avatar kevindashgit commented on May 29, 2024

In the end - I found this to be a solution that better suited my needs: https://www.imore.com/how-make-function-keys-default-touch-bar-display

As its application specific and not system wide - which is super ideal IMO.

from macos-fn-toggle.

sthodup1 avatar sthodup1 commented on May 29, 2024

Here's a fix:

from macos-fn-toggle.

sthodup1 avatar sthodup1 commented on May 29, 2024

tell application "System Preferences"
reveal anchor "keyboardTab" of pane "com.apple.preference.keyboard"
end tell

tell application "System Events" to tell process "System Preferences"
repeat until exists tab group 1 of window 1
end repeat
click checkbox 1 of tab group 1 of window 1
end tell

quit application "System Preferences"

from macos-fn-toggle.

sthodup1 avatar sthodup1 commented on May 29, 2024

Also make sure to give fn-toggle accessibility access

from macos-fn-toggle.

jkbrzt avatar jkbrzt commented on May 29, 2024

master updated to work with Ventura

from macos-fn-toggle.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.