-
-
Save extratone/e269cc5f80dc93fe042df616b1a17cf1 to your computer and use it in GitHub Desktop.
Using PyXA to get the number of shortcuts in each shortcuts folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PyXA | |
app = PyXA.application("Shortcuts") | |
all_shortcuts = app.folders().shortcuts() | |
amounts = [len(ls) for ls in all_shortcuts] | |
print(amounts) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment