|

Example:


function g_OnUpdateMenuEnabled(CommandID,tblInfo)

-- Disable command 2000

if (CommandID == 2000) then return false;

else

return true;


end

end


boolean g_OnUpdateMenuCheck (number CommandID, table ItemInfo)


Accepts both a Command ID and a table of item information from the AutoPlay runtime. Should return true if the current item should be checked, and false if the current item should not be checked.


|