{ PluginVersion = 892; Validate = "validates ok"; theMenu = ( "DVD Player", ( "Play / Pause", 2, "tell application \"DVD Player\"\n\tif dvd state = playing then\n\t\tpause dvd\n\telse if dvd state = playing still then\n\t\tpress enter key\n\telse\n\t\tplay dvd\n\tend if\nend tell", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Stop, 2, "tell application \"DVD Player\"\n\tstop dvd\n\treturn \"Stop\"\nend tell", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( "Main Menu", 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\tgo to main menu\n\t\tend if\n\tend tell\nend try\t", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Left, 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\tpress left arrow key\n\t\tend if\n\tend tell\nend try", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Right, 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\tpress right arrow key\n\t\tend if\n\tend tell\nend try", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Up, 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\tpress up arrow key\n\t\tend if\n\tend tell\nend try\n", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Down, 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\tpress down arrow key\n\t\tend if\n\tend tell\nend try", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Enter, 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\tpress enter key\n\t\tend if\n\tend tell\nend try", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( Rewind, 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\t-- bug: commands are backwards \n\t\t\tfast forward dvd\n\t\t\treturn \"rewind\"\n\t\tend if\n\tend tell\nend try", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( "Fast Forward", 2, "try\n\ttell application \"DVD Player\"\n\t\tactivate\n\t\tif (has media is true) then\n\t\t\t-- bug: commands are backwards \n\t\t\trewind dvd\n\t\t\treturn \"fast forward\"\n\t\tend if\n\tend tell\nend try", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( "Full Screen", 2, "tell application \"DVD Player\"\n\tif viewer full screen is false then\n\t\tset viewer full screen to true\n\telse\n\t\tset viewer full screen to false\n\tend if\nend tell", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), ( "Quit DVD Player", 2, "ignoring application responses\n\ttell application \"DVD Player\" to quit\nend ignoring", 1, (1, 1, 1, 1, 10), 1, (1, 1, 1, 1, 10), 1, 1 ), 2, 1, 1 ); }