on(keyPress "a"){
...operazioni...
}

dice che si può applicare solo a istanze di bottoni

io ho creato un bottone 'but'... come faccio?