How to Post Code (Scripts) on the KM Forum; and Macro to Paste AppleScript in a Code Block

I posted a macro some time ago that works for any language. . It is triggered by a typed string km.sb.<lang>, where <lang> is "as" for AppleScript and "js" for JavaScript and JXA, or whatever language you want to use.

See

MACRO: Paste Script Block in Forums and Apps

1 Like