ExternalProgramItem Class
System.Object
   MarkdownMonster.Configuration.ExternalProgramItem

Class Members

MemberDescription
Constructor
CanExecute Determines if the file can be executed based on the extension options.
public bool CanExecute(string selectedFileOrFolder)
Execute
public bool Execute(string selectedFileOrFolderName, int row, int column)
SaveActiveDocument Support function that can be used to save the active document before running the external program
public Task SaveActiveDocument()
ToString
public string ToString()
Args Arguments that get passed. {0} - Active Item (file or directory) {1} - Row {CurrentFile} - Active File {CurrentFolder} - Current Folder
DocumentText Optionally set text of the document (used when copying to clipboard)
EditorKeyboardShortcut An optional keyboard shortcut that can be used to invoke the external command **from the editor**. Only works in the editor. You should only use this for text editors that are popped up. Leave null…
Executable Full path to the executable filename
Extensions Provide specific file extensions (.md, .txt etc.) or one of the following: TEXT, IMAGE, FOLDER as a comma delimited list. If empty, open for all files/folders
Name Optional descriptive display name as displayed in the Open With menu ie. Open in VS Code
SaveBeforeActivation Determines whether the file is saved if open in the editor
Namespace: MarkdownMonster.Configuration

Assembly: MarkdownMonster.dll



© West Wind Technologies, 2025 • Updated: 2025-02-25
Comment or report problem with topic