'Called when a FileRun message is received.'

def OnFileRun(self, id, code):

    import scriptutils
    showDlg = (win32api.GetKeyState(win32con.VK_SHIFT) >= 0)
    scriptutils.RunScript(None, None, showDlg)
