Here's a handler that does it:
on KeyDown TheKey
if theKey = Tab and the optionKey is down then
exit keydown
else
pass keydown
end if
end KeyDown
By including this handler in your stack script, as part of simple error
checking, this will prevent anyone from accidentally hitting the keys to
activate the Tool palette.
This article is adapted from the Claris Tech Info database.