idOK unknown (solved)

I wrote my first script. If I use MessageBox it tells me, that idOK is not known. I copied a MessageBox-Line from the existing “XORSelection” script from the repository. In the XOR-script it works, in my script it tells me tha idOK is not known. But I can’t find any include. What’s nessesary tha 010editor knows idOK?

Hello Klaus

This constant is actually idOk (note the lowercase k). Maybe we should add in idOK too to prevent confusion.

SweetScape Software

Hello Graeme,

I’m a little bit confused. I’m sure that I copied the line from the other script and it diesn’t work. But that’s the solution. Now it works :grinning: