Regular visitors to Digiguide.tv will notice that you now require a subscription to use some of the features.
However, you can give the FREE 7 day trial version of Digiguide.tv Premium a try. Build up your profile with programmes that you like, personalise your grid and set some reminders. Remember, to get a year's worth of personalised TV content for less than 1p per day simply subscribe to Digiguide Premium
Class Menu : doesItemExist Method
Boolean doesItemExist( String strName )
Summary
Determine whether a menu, or menu item, exists.
Parameters
Parameter
Description
String strName
The name of the item you wish to check.
Examples
Short example to test the function:
var menuMain = app.getMainMenu(); var menuTools = menuMain.getMenu( "&Tools" ); if( !menuTools ) { alert( "Test needs to be updated for changed menu names" ); } else { if( !menuTools.doesItemExist( "Cus&tomise..." ) ) { alert( "We ought to have found 'Cus&tomise...' sub menu" ); }
if( !menuMain.doesItemExist( "&Tools" ) ) { alert( "We ought to have found '&Tools'" ); }
if( menuMain.doesItemExist( "Bleh!" ) ) { alert( "We ought not to have found Bleh!" ); }