# Nedit macro to "save all" or "close all" #`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````# define save_all { name_array = $empty_array name_array = get_open_files() for( aKey in name_array ) { if( focus_window( name_array[ aKey ] ) != "" ) { save() } } } #`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````# define close_all { name_array = $empty_array name_array = get_open_files() for( aKey in name_array ) { if( focus_window( name_array[ aKey ] ) != "" ) { close() } } } #`````````````````````````````````````````````````````````````````````````````````````````````````````````````````````````#