AppleScript to Change Font


I haven’t used AppleScript that much, so am not sure how to approach this issue: Is there a way to use AppleScript to create a keyboard shortcut to change the font in OmniOutliner? I’d like to be able to toggle back and forth between two fonts, even if that means creating two different keyboard shortcuts for each font. Thanks in advance for guidance.