Hello Yutaka,
Sorry for digging up this old topic but I would like to know if there is a way to get the last key pressed (with modifiers etc.).
This way I could know what keyboard shortcut did launch the current macro and make various actions depending on it.
For instance I could have all my AutoHotkey macros in a single .jsee macro file, switching the code depending on the pressed keys.