AnsweredAssumed Answered

Can I set a keybinding to call a subroutine?

Question asked by mjohnson on Oct 8, 2018
Latest reply on Nov 13, 2018 by kendall_hiles

In a script I'm working, I'd like to set a keybinding to perform an immediate action or call a subroutine, which doesn't appear to be covered in the automation reference. the automation reference refers to menu commands and external scripts. What I want to do is set a key that, when pressed, toggles a variable in the currently-executing script between true and false.