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


on zoomWindow (windowpath, zoomIn) { << zoom the indicated folder's window in or out
	<<For compatibility.  For Scriptable Finder, suggest
		<<set (windowReference.zoomed, true | false)
	local (zoomcode, fwindow);
	if not Finder.makeWindow (windowpath, 0, @fwindow) {
		return (false)};
	if (zoomIn) {
		zoomcode = 8}
	else {
		zoomcode = 7};
	return (finderEvent (, Finder.class, 'zoom', '----', fwindow, 'fmsc', zoomcode))}

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.