Конфигурация контекстного меню

This commit is contained in:
2025-12-28 17:14:49 +07:00
parent 5654e95465
commit 8cae3b3308
10 changed files with 1054 additions and 1 deletions

12
imports/file-manage.nss Normal file
View File

@@ -0,0 +1,12 @@
menu(where=sel.count>0 type='file|dir|drive|namespace|back' mode="multiple" title=title.copy_path image=icon.copy_path)
{
item(where=sel.count > 1 title='Copy (@sel.count) items selected' cmd=command.copy(sel(false, "\n")))
item(mode="single" title=@sel.path tip=sel.path cmd=command.copy(sel.path))
item(mode="single" type='file' separator="before" find='.lnk' title='open file location')
separator
item(mode="single" where=@sel.parent.len>3 title=sel.parent cmd=@command.copy(sel.parent))
separator
item(mode="single" type='file|dir|back.dir' title=sel.file.name cmd=command.copy(sel.file.name))
item(mode="single" type='file' where=sel.file.len != sel.file.title.len title=@sel.file.title cmd=command.copy(sel.file.title))
item(mode="single" type='file' where=sel.file.ext.len>0 title=sel.file.ext cmd=command.copy(sel.file.ext))
}