<MouseGrid>

SCRIPT {
    MouseGrid 0
    nMouse& = 1
    if _arg1 = "Mouse Window" then nMouse& = 2
    if _arg1 = "MouseGrid Window" then nMouse& = 2
    MouseGrid nMouse&
}