开始菜单的按钮,可以用WinXShell.lua自定义
function onclick(ctrl) if ctrl == 'startmenu_reboot' then return onclick_startmenu_reboot() elseif ctrl == 'startmenu_shutdown' then return onclick_startmenu_shutdown() elseif ctrl == 'startmenu_controlpanel' then return onclick_startmenu_controlpanel() elseif ctrl == 'tray_clockarea' then return onclick_tray_clockarea() elseif ctrl == 'tray_clockarea(double)' then return onclick_tray_clockarea(true) end return 1 -- continue shell action end
|