public FileContentResult CreateRunOnOpenFavoriteScript(RunOnOpenScriptConfigurationModel model) { var file = _scriptManager.BuildRunOnOpenFavorite(model); return(File(file.ToArray(), "text/plain", $"{model.FileName}.ahk")); }