@api.check(<NUM_LIT:2>, "<STR_LIT>")<EOL>def win_menu_select_item(title, *items, **kwargs):
text = kwargs.get("<STR_LIT:text>", "<STR_LIT>")<EOL>if not (<NUM_LIT:0> < len(items) < <NUM_LIT:8>):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>f_items = [LPCWSTR(item) for item in items]<EOL>for i in xrange(<NUM_LIT:8> - len(f_items)):<EOL><INDENT>f_items.append(LPCWSTR("<STR_LIT>"))<EOL><DEDENT>ret = AUTO_IT.AU3_WinMenuSelectItem(LPCWSTR(title), LPCWSTR(text),<EOL>*f_items)<EOL>return ret<EOL>
Usage:
    win_menu_select_item("[CLASS:Notepad]", "", u"文件(&F)", u"退出(&X)")
:param title:
:param text:
:param items:
:return: