Apple key codes (ascii ??)

Where can I find the table of key codes.

For example what is the code of apple key?

set ascii_table to ""
repeat with i from 0 to 255
	set ascii_table to ascii_table & (ASCII character i)
end repeat

ascii_table --> ascii table!

Also you can take a look to Tex-Edit Plus
If you click in the left-bottom of any document, you’ll display an ascii table with some extra info, such as keystroke, ascii number & hex-equivalent.

There’s also