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

system.verbs.apps.FinderMenu.editFileList

<<Fri, Dec 5, 1997 at 1:37:09 AM by PBS
	<<Moved from toys.editFileList.
	<<The textEditorApp pref is now stored at user.prefs.textEditorApp.
on editFileList (filelist) {
	local (f);
	on prompt () {
		if not file.getFileDialog ("Choose a text editor.", @user.prefs.textEditorApp, 'APPL') {
			scriptError ("")};
		fileMenu.save ()};
	if not defined (user.prefs.textEditorApp) {
		prompt ()};
	if not file.exists (user.prefs.textEditorApp) {
		prompt ()};
	
	local (creator = file.creator (user.prefs.textEditorApp));
	launch.application (user.prefs.textEditorApp);
	sys.bringAppToFront (creator);
	for f in filelist {
		required.openDocument (creator, f)}}



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.