These macros automate the opening and closing of files.
Browse_Directory.bsh
Opens a directory supplied by the user in the file system browser.
Buffer_Switcher.bsh
Displays a modal dialog listing all open buffers, allowing
one to switch to and/or close buffers. ENTER
switches to a buffer and closes the dialog,
DELETE
closes a buffer, SPACE
switches to a buffer but does not close the dialog.
Close_All_Except_Active.bsh
Closes all files except the current buffer.
Prompts the user to save any buffer containing unsaved changes.
Copy_Path_to_Clipboad.bsh
Copies the current buffer's path to the clipboard.
Copy_Name_to_Clipboad.bsh
Copies the current buffer's filename to the clipboard.
Delete_Current.bsh
Deletes the current buffer's file on disk, but doesn't close the buffer.
Glob_Close.bsh
Closes all open buffers matching a given glob pattern.
Insert_Selection.bsh
Assumes the current selection is file path and tries replaces the selection with the contents of the file. Does nothing if no text is selected or the selection spans multiple lines.
Next_Dirty_Buffer.bsh
Switches to the next dirty buffer, if there is one.
Open_Path.bsh
Opens the file supplied by the user in an input dialog.
Open_Selection.bsh
Opens the file named by the current buffer's selected text.
Toggle_ReadOnly.bsh
Toggles a local file's read-only flag. Uses platform-specific commands, so it only works on Windows, Unix and MacOS X.