Hi hugh,
you might want to try this (and variations for the other controls) In
the stack script:
on newButton
if "revTools" is in the executionContexts then
delete the target
send clearSelection to me in 50 milliseconds
end if
pass newButton
end newButton
on clearSelection
select empty
end clearSelection
Hope that helps,
Malte