Bob, no the 'normal' Exit Script didn't work either. But this is with the OnLayoutKeystroke trigger. What would you use? -Troy > Troy, > > Here's what to do: > > Set Error Capture [On] > > if ( get (lastError) = 200 ) > > Show Custom Dialog ( "You clearly have no business here; move on." ) > > Exit Script > > End If