Pokud to jde vyhnul, bych se Morphicu nebo globálnímu odchytávání událostí z klávesnice a použil Spec 2. Např.:
Kód [Vybrat]
| presenter |
presenter := SpButtonPresenter new.
presenter bindKeyCombination: $a asKeyCombination toAction: [ self inform: 'pressed' ].
presenter bindKeyCombination: $a shift asKeyCombination toAction: [ self inform: 'pressed with shift' ].
presenter openWithSpec.