Monday, November 08, 2010 at 12:03 AM.

system.verbs.builtins.Frontier.tools.windowTypes.isFileMenuItemChecked

on isFileMenuItemChecked (cmd) {
	<<Return true if a File menu item should be checked.
		<<This script is called for File menu items that can be checked only -- if an item should never be checked, this script doesn't get called for that item. At this writing, only the Work Offline menu item can be checked.
		<<09/23/00; 3:22:25 PM by PBS
	
	case cmd {
		"workoffline" {
			if defined (tcp.isOffline) {
				return (tcp.isOffline ())}
			else {
				return (false)}}};
	
	return (false)}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.