The "hwnd" property returns a string, use (HWND)atol(...) to get the handle.

About evaluation context: why don't you try it youself and post a summary here? smile


Sincerely,
Necroman, #mIRC @ Undernet