Comments (5)
I couldn't update the script to Ventura, due to various problems with AppleEvent handler and some other things. Gonna leave this open.
from functiontoggler.
Just updated the script to Monterey. Almost sure that it won't work for Ventura. I'll install it soon, and update the script accordingly.
from functiontoggler.
Is it just a matter of changing the AppleScript to the new location of the toggle when it is running on Ventura?
Earlier macOS versions
Choose Apple menu > System Preferences.
Click Keyboard.
Select “Use F1, F2, etc. keys as standard function keys”.2
macOS Ventura
Choose Apple menu > System Settings.
Click Keyboard in the sidebar.
Click the Keyboard Shortcuts button on the right.
Click Function Keys in the sidebar.
Turn on “Use F1, F2, etc. keys as standard function keys”.2
I wish I understood more about the apple script to try modifying this myself. I tried to modify src/Function Toggler.applescript
without much success.
from functiontoggler.
Looks like we finally can try this once more. Some answer in a related thread reads that AppleScript is now working on new System Settings, on MacOS Ventura 13.3: https://forum.latenightsw.com/t/applescripts-not-working-on-new-system-settings-on-macos-ventura/3986/6
from functiontoggler.
So I came up with a new version of the script that's working, but it has some pitfalls:
- Cannot run in background.
- Is slow.
- AppleScript sometimes starts doing something that I cannot explain — it slows down the whole script to like 0.2x of the intended speed, and all the code start running slower, so an already slow script gets so slow that it's unbearable to watch, and it's easier to toggle the function keys behavior manually.
You can take a look here and try to run the script: Ventura Function Toggler.applescript
Meanwhile, I think we should try a completely alternative approach — try and track if any defaults
change when toggling the function keys behavior. I know for sure that it works with some other preferences, and I've used this approach in an app before. If anyone wants to help — Google on how to track defaults
changes in the system and try doing it.
from functiontoggler.
Related Issues (1)
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 functiontoggler.