@@ -103,6 +103,9 @@ public void Init(PluginInitContext context)
103103 private List < Result > Commands ( )
104104 {
105105 var results = new List < Result > ( ) ;
106+ var logPath = Path . Combine ( DataLocation . DataDirectory ( ) , "Logs" , Constant . Version ) ;
107+ var userDataPath = DataLocation . DataDirectory ( ) ;
108+ var recycleBinFolder = "shell:RecycleBinFolder" ;
106109 results . AddRange ( new [ ]
107110 {
108111 new Result
@@ -264,10 +267,11 @@ private List<Result> Commands()
264267 SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_openrecyclebin" ) ,
265268 IcoPath = "Images\\ openrecyclebin.png" ,
266269 Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xe74d " ) ,
270+ CopyText = recycleBinFolder ,
267271 Action = c =>
268272 {
269273 {
270- System . Diagnostics . Process . Start ( "explorer" , "shell:RecycleBinFolder" ) ;
274+ System . Diagnostics . Process . Start ( "explorer" , recycleBinFolder ) ;
271275 }
272276
273277 return true ;
@@ -356,9 +360,10 @@ private List<Result> Commands()
356360 Title = "Open Log Location" ,
357361 SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_log_location" ) ,
358362 IcoPath = "Images\\ app.png" ,
363+ CopyText = logPath ,
364+ AutoCompleteText = logPath ,
359365 Action = c =>
360366 {
361- var logPath = Path . Combine ( DataLocation . DataDirectory ( ) , "Logs" , Constant . Version ) ;
362367 context . API . OpenDirectory ( logPath ) ;
363368 return true ;
364369 }
@@ -368,6 +373,8 @@ private List<Result> Commands()
368373 Title = "Flow Launcher Tips" ,
369374 SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_docs_tips" ) ,
370375 IcoPath = "Images\\ app.png" ,
376+ CopyText = Constant . Documentation ,
377+ AutoCompleteText = Constant . Documentation ,
371378 Action = c =>
372379 {
373380 context . API . OpenUrl ( Constant . Documentation ) ;
@@ -379,9 +386,11 @@ private List<Result> Commands()
379386 Title = "Flow Launcher UserData Folder" ,
380387 SubTitle = context . API . GetTranslation ( "flowlauncher_plugin_sys_open_userdata_location" ) ,
381388 IcoPath = "Images\\ app.png" ,
389+ CopyText = userDataPath ,
390+ AutoCompleteText = userDataPath ,
382391 Action = c =>
383392 {
384- context . API . OpenDirectory ( DataLocation . DataDirectory ( ) ) ;
393+ context . API . OpenDirectory ( userDataPath ) ;
385394 return true ;
386395 }
387396 } ,
0 commit comments