diff --git a/Flow.Launcher/Languages/en.xaml b/Flow.Launcher/Languages/en.xaml
index ec355a0ac..25de530bc 100644
--- a/Flow.Launcher/Languages/en.xaml
+++ b/Flow.Launcher/Languages/en.xaml
@@ -18,6 +18,9 @@
Copy
Cut
Paste
+ File
+ Folder
+ Text
Game Mode
Suspend the use of Hotkeys.
diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs
index e4353bbcb..0fe3bdf80 100644
--- a/Flow.Launcher/ViewModel/MainViewModel.cs
+++ b/Flow.Launcher/ViewModel/MainViewModel.cs
@@ -890,18 +890,28 @@ namespace Flow.Launcher.ViewModel
if (result != null)
{
string copyText = string.IsNullOrEmpty(result.CopyText) ? result.SubTitle : result.CopyText;
- if (File.Exists(copyText) || Directory.Exists(copyText))
+ var isFile = File.Exists(copyText);
+ var isFolder = Directory.Exists(copyText);
+ if (isFile || isFolder)
{
-
var paths = new StringCollection();
paths.Add(copyText);
Clipboard.SetFileDropList(paths);
-
+ App.API.ShowMsg(
+ App.API.GetTranslation("copy")
+ +" "
+ + (isFile? App.API.GetTranslation("fileTitle") : App.API.GetTranslation("folderTitle")),
+ App.API.GetTranslation("completedSuccessfully"));
}
else
{
Clipboard.SetDataObject(copyText.ToString());
+ App.API.ShowMsg(
+ App.API.GetTranslation("copy")
+ + " "
+ + App.API.GetTranslation("textTitle"),
+ App.API.GetTranslation("completedSuccessfully"));
}
}