Switch to <AppList>

SCRIPT {
    if _arg1 = "NatSpeak" then
        MouseGrid 0
        AppBringUp "NatSpeak"
    end if
    if _arg1 = "NaturallySpeaking" then
        MouseGrid 0
        AppBringUp "NatSpeak"
    end if
    if _arg1 = "Next Window" then SendSystemKeys "{Shift+Alt+Tab}"
    if _arg1 = "Previous Window" then SendSystemKeys "{Alt+Tab}"
}