Dabbling with JS in various places (Keyboard Maestro, Scriptable widgets, Drafts, Omnigraffle, and more), I feel like I am missing a point:
- I have a fair understanding of the syntax and programming concepts (classes, variables, functions, data structures, loops, etc…) which is enough to get me going.
- But it feels like I am struggling on how to discover the interfaces that a program would expose (classes, methods,… ) which is even more key to the automation
I mean, some of the documentations are helpful but it still feel very cumbersome to context-switch all the time to check which methods I can call in a script based on what I am doing.
For example, recently playing with Scriptable Widget for IOS14, it took me quite some time to get something going just because I was having some issues understanding which parameters I could call, which type of entity I was referring to in my code and I am sure it could be much smoother.
Really any helpful suggestion about tools, techniques, places to learn more about the workflow rather thanJS itself would be super welcome!
Thanks a lot!