Research
TaskMenuMarkDownApp:
The above app was made with:
- the regular expression class in the swift-utils repo
- Utilizing the NSStatusBar class to create the TaskMenu
- Hacking the CGEventPost class to imitate keyboard copy and paste (This is the same way TextExpander do it, You could make TextExpander with this technique ) You also have to call
pauseForAMoment()between the copy and paste operations or else copy wont finish before pasting. This is the same delay scheme TextExpander uses.
