Beta Testing for Open Interface of Automation and Extension Looking for Participants!
Join Right Now: https://forum.marginnote.com/g/ExtsTester
The good news is that MarginNote will support AppleScript from version 3.6.5, which is already in the development process and well on track(3.6.4 will be skipped in all probability). Currently, we plan to recruit several community members who understand the AppleScript to participate in beta testing(maybe in the next week or two).
In addition, it is fairly certain MarginNote will support JS as a built-in extension method. We learned from the Apple Developer Documentation that Apple has made pretty mature JS bindings. That’s why JSBox exists. Given its performance, stability and extensibility, JS is almost the scripting engine designated by Apple. Thus, you can basically call internal methods directly through JS.
Meanwhile, JS can be easily combined with Shortcuts on iOS and AppleScript on macOS. Through the technical architecture envisaged, the functions performed by AppleScript can be easily open to JS.
This progressive process will span several versions from 3.6 to 3.7. It is possible to use this extension technology when designing a new synchronization framework.
The open interface is expected to consider following scenarios:
Customized Search–Count the frequency of a word. Existing search method will list all results, but there are no statistics. Ideally, the number of results will be returned when searching.
Exporting Notebook Data–Automatically and regularly back up and store to a third-party cloud.
Adding Cards Automatically --Unlike Anki, MN is a free field, so you have to manually select the question part. In fact, this is expected to be automated through a script. The users define some rules and then MarginNote automatically generates the desired card, e.g. filling in the blanks.
Adding, Filtering and Exporting Notes(text processing)-- Entry for notes will be available. You can capture the latest real-time sentence examples from Vocabulary.com and append to the notes. In addition, we can provide an API for filtering notes and performing operations, such as filtering certain notes, automatically generating notes, and so on.
You devoted users are welcomed to supplement the scenarios above. We will be grateful for your participation.