I write in Nisus Writer Pro, and grammar check using Grammarly. NWP is set to default to typing curly quotes, both single and double. Grammarly, for some reason, defaults to straight quotes and currently has no way to change that. Thus, if I edit in Grammarly and type a quote key, the document now has a mix of curly and straight quotes, which triggers a global error in Grammarly asking me to choose whether I want all curly or all straight quotes. Annoyingly, it jumps to the first instance of a quote mark to report the error! This happens over and over. I’ve complained to Grammarly and they are working on it. But meanwhile, I’d like a workaround.
One solution would be to use a Keyboard Maestro macro that would trigger when I activate Grammarly and re-assign my quote keys to default to typing curly quotes. Is there a way to re-assign keys in KM or in AppleScript (which I’d trigger in KM)?
Another thought, maybe simpler: Two macros, one to copy text to the clipboard and then change all quotes to straight (which I then paste into Grammarly). Then, have a macro that copys text from Grammarly, changes all quotes to curly, and then paste into NWP. I may wanbt to do the paste manually so I’m sure it goes in the correct document and location. Hm…I may be able to do this myself. But the automated reassignment of keys still interests me.