Comments (10)
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.
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.
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.
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.
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.
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.
Here's a fix:
from macos-fn-toggle.
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.
Also make sure to give fn-toggle accessibility access
from macos-fn-toggle.
master
updated to work with Ventura
from macos-fn-toggle.
Related Issues (11)
- Doesn't work (Mavericks ?) HOT 2
- uninstalling HOT 1
- Doesn't work on macOS Ventura 13.0 HOT 7
- fn-toggle is damaged and can't be opened HOT 2
- Possible polishing touches ... HOT 2
- macOS Sierra Compatibility
- Doesn't work in macOS 10.12.1 HOT 1
- hotkey only works inside mac application HOT 1
- When application is run returns Invalid Index on MacOS Mojave HOT 1
- MacBook with Touch bar not supported HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macos-fn-toggle.