
/F1 "get help"/ {
	if ((x = select(250, 100, "Helpfiles", "", enum(help), "")) != "\z") {
		exec("winhelp " help[x], 1);
		}
	}


/F2 "start application"/ {
	if ((x = select(250, 100, "Applications", lastapp, enum(application), "")) != "\z") {
		x = application[lastapp = x];
		printf ("%s", x);
		exec(x, 1);
		}
	}

/shift F2 "launch command"/ {
	if ((x = input("Launch Command", "Command", "", lastcmd)) != "\z") {
		printf ("%s = %s", x, exec(lastcmd = x, 1))
		}
	else
		printf ("cancelled");
	}

/F3 "start utility"/ {
	if ((x = select(250, 100, "Utilities", lastutil, enum(util), "")) != "\z") {
		x = util[lastutil = x];
		printf ("%s", x);
		exec(x, 1);
		}
	}


BEGIN {
	ctrl("application assistent")
	}
