no, not realy, but you can set/reset OEMLed's in the button script and read those in an other script. you may also use an
OEMDro and set them in the button script.
f.e:
buttonscript off button1 set OEMDro to 1
buttonscript off button2 set OEMDro to 2
and the other script reads the OEMDro