From fdd0095006fbb31ccccae2f08471af55a1ad97a6 Mon Sep 17 00:00:00 2001 From: Mahmoud Gomaa Date: Fri, 29 Sep 2023 17:11:07 +0300 Subject: [PATCH] Update to version 1.9 --- config/en/imports/develop.nss | 6 +- config/en/imports/file-manage.nss | 11 +- config/en/imports/goto.nss | 6 +- config/en/imports/images.nss | 223 +- config/en/imports/modify.nss | 28 + config/en/imports/static.nss | 24 - config/en/imports/taskbar.nss | 21 +- config/en/imports/terminal.nss | 9 +- config/en/imports/theme.nss | 12 + config/en/shell.nss | 73 +- docs/configuration/index.html | 202 + docs/configuration/modify-items.html | 59 + docs/configuration/new-items.html | 105 + .../{syntax => configuration}/properties.html | 394 +- docs/configuration/settings.html | 87 + docs/configuration/themes.html | 216 + docs/examples/copy-path.html | 67 +- docs/examples/favorites.html | 56 +- docs/examples/goto.html | 105 +- docs/examples/taskbar.html | 29 +- docs/expressions/color.html | 3 +- docs/expressions/comments.html | 38 +- docs/expressions/operators.html | 4 +- docs/{syntax => expressions}/variables.html | 79 +- docs/functions/app.html | 8 +- docs/functions/clipboard.html | 39 + docs/functions/color.html | 4 +- docs/functions/index.html | 10 +- docs/functions/ini.html | 17 + docs/functions/input.html | 18 + docs/functions/io.html | 7 + docs/functions/key.html | 10 + docs/functions/reg.html | 59 +- docs/functions/sel.html | 7 + docs/functions/this.html | 2 +- docs/get-started.html | 26 +- docs/images/dark/goto.png | Bin 0 -> 55352 bytes docs/images/goto.png | Bin 25687 -> 55352 bytes docs/images/light/goto.png | Bin 0 -> 55352 bytes docs/index.html | 4 +- docs/installation.html | 157 +- docs/menu.json | 20 +- docs/syntax/default.html | 164 - docs/syntax/dynamic.html | 125 - docs/syntax/index.html | 278 - docs/syntax/set.html | 316 - docs/syntax/static.html | 101 - extensions/README.md | 1 - extensions/vscode/README.md | 1 - www/Default.aspx | 26 - www/Default.aspx.vb | 430 - www/README.md | 90 - www/Web.config | 119 - www/_aside.aspx | 34 - www/_footer.aspx | 96 - www/_page.aspx | 257 - www/assets/css/glyphs.css | 245 - www/assets/css/main.css | 313 - www/assets/css/prism.css | 166 - www/assets/font/shell.eot | Bin 258234 -> 0 bytes www/assets/font/shell.svg | 2709 ---- www/assets/font/shell.ttf | Bin 175292 -> 0 bytes www/assets/font/shell.woff | Bin 91588 -> 0 bytes www/assets/font/shell.woff2 | Bin 69572 -> 0 bytes www/assets/js/main.js | 202 - www/assets/js/prism.js | 1327 -- www/assets/lib/bulma/CHANGELOG.md | 1558 -- www/assets/lib/bulma/LICENSE | 21 - www/assets/lib/bulma/README.md | 134 - www/assets/lib/bulma/bulma.sass | 10 - www/assets/lib/bulma/css/bulma-rtl.css | 11811 ---------------- www/assets/lib/bulma/css/bulma-rtl.css.map | 1 - www/assets/lib/bulma/css/bulma-rtl.min.css | 1 - www/assets/lib/bulma/css/bulma.css | 11811 ---------------- www/assets/lib/bulma/css/bulma.css.map | 1 - www/assets/lib/bulma/css/bulma.min.css | 1 - www/assets/lib/bulma/package.json | 82 - www/assets/lib/bulma/sass/base/_all.sass | 6 - .../lib/bulma/sass/base/animations.sass | 5 - www/assets/lib/bulma/sass/base/generic.sass | 145 - www/assets/lib/bulma/sass/base/helpers.sass | 1 - www/assets/lib/bulma/sass/base/minireset.sass | 79 - .../lib/bulma/sass/components/_all.sass | 15 - .../lib/bulma/sass/components/breadcrumb.sass | 77 - .../lib/bulma/sass/components/card.sass | 103 - .../lib/bulma/sass/components/dropdown.sass | 83 - .../lib/bulma/sass/components/level.sass | 79 - .../lib/bulma/sass/components/media.sass | 59 - .../lib/bulma/sass/components/menu.sass | 59 - .../lib/bulma/sass/components/message.sass | 101 - .../lib/bulma/sass/components/modal.sass | 117 - .../lib/bulma/sass/components/navbar.sass | 446 - .../lib/bulma/sass/components/pagination.sass | 166 - .../lib/bulma/sass/components/panel.sass | 121 - .../lib/bulma/sass/components/tabs.sass | 176 - www/assets/lib/bulma/sass/elements/_all.sass | 16 - www/assets/lib/bulma/sass/elements/box.sass | 26 - .../lib/bulma/sass/elements/button.sass | 345 - .../lib/bulma/sass/elements/container.sass | 29 - .../lib/bulma/sass/elements/content.sass | 159 - www/assets/lib/bulma/sass/elements/form.sass | 1 - www/assets/lib/bulma/sass/elements/icon.sass | 46 - www/assets/lib/bulma/sass/elements/image.sass | 73 - .../lib/bulma/sass/elements/notification.sass | 52 - www/assets/lib/bulma/sass/elements/other.sass | 31 - .../lib/bulma/sass/elements/progress.sass | 73 - www/assets/lib/bulma/sass/elements/table.sass | 133 - www/assets/lib/bulma/sass/elements/tag.sass | 140 - www/assets/lib/bulma/sass/elements/title.sass | 70 - www/assets/lib/bulma/sass/form/_all.sass | 9 - .../lib/bulma/sass/form/checkbox-radio.sass | 22 - www/assets/lib/bulma/sass/form/file.sass | 184 - .../lib/bulma/sass/form/input-textarea.sass | 66 - www/assets/lib/bulma/sass/form/select.sass | 87 - www/assets/lib/bulma/sass/form/shared.sass | 60 - www/assets/lib/bulma/sass/form/tools.sass | 215 - www/assets/lib/bulma/sass/grid/_all.sass | 5 - www/assets/lib/bulma/sass/grid/columns.sass | 513 - www/assets/lib/bulma/sass/grid/tiles.sass | 36 - www/assets/lib/bulma/sass/helpers/_all.sass | 12 - www/assets/lib/bulma/sass/helpers/color.sass | 39 - .../lib/bulma/sass/helpers/flexbox.sass | 35 - www/assets/lib/bulma/sass/helpers/float.sass | 10 - www/assets/lib/bulma/sass/helpers/other.sass | 14 - .../lib/bulma/sass/helpers/overflow.sass | 2 - .../lib/bulma/sass/helpers/position.sass | 7 - .../lib/bulma/sass/helpers/spacing.sass | 31 - .../lib/bulma/sass/helpers/typography.sass | 103 - .../lib/bulma/sass/helpers/visibility.sass | 122 - www/assets/lib/bulma/sass/layout/_all.sass | 6 - www/assets/lib/bulma/sass/layout/footer.sass | 11 - www/assets/lib/bulma/sass/layout/hero.sass | 153 - www/assets/lib/bulma/sass/layout/section.sass | 17 - www/assets/lib/bulma/sass/utilities/_all.sass | 9 - .../lib/bulma/sass/utilities/animations.sass | 1 - .../lib/bulma/sass/utilities/controls.sass | 49 - .../sass/utilities/derived-variables.sass | 114 - .../lib/bulma/sass/utilities/extends.sass | 25 - .../lib/bulma/sass/utilities/functions.sass | 136 - .../sass/utilities/initial-variables.sass | 78 - .../lib/bulma/sass/utilities/mixins.sass | 280 - www/assets/lib/jquery.toast/jquery.toast.css | 8 - www/assets/lib/jquery.toast/jquery.toast.js | 41 - .../lib/jquery.toast/jquery.toast.min.css | 1 - .../lib/jquery.toast/jquery.toast.min.js | 1 - www/assets/lib/jquery/jquery.js | 10872 -------------- www/assets/lib/jquery/jquery.min.js | 2 - www/bin/Intelligencia.UrlRewriter.dll | Bin 57344 -> 0 bytes www/bin/LICENCE.md | 19 - www/bin/README.md | 30 - www/bin/System.Buffers.dll | Bin 20856 -> 0 bytes www/bin/System.Memory.dll | Bin 142240 -> 0 bytes www/bin/System.Numerics.Vectors.dll | Bin 115856 -> 0 bytes ...System.Runtime.CompilerServices.Unsafe.dll | Bin 18024 -> 0 bytes www/bin/System.Text.Json.dll | Bin 582288 -> 0 bytes www/images/favicon.ico | Bin 39217 -> 0 bytes www/images/favicon.png | Bin 7391 -> 0 bytes www/images/favicon.svg | 1 - www/images/logo-512.png | Bin 7391 -> 0 bytes 159 files changed, 1467 insertions(+), 49667 deletions(-) create mode 100644 config/en/imports/modify.nss delete mode 100644 config/en/imports/static.nss create mode 100644 config/en/imports/theme.nss create mode 100644 docs/configuration/index.html create mode 100644 docs/configuration/modify-items.html create mode 100644 docs/configuration/new-items.html rename docs/{syntax => configuration}/properties.html (62%) create mode 100644 docs/configuration/settings.html create mode 100644 docs/configuration/themes.html rename docs/{syntax => expressions}/variables.html (74%) create mode 100644 docs/functions/clipboard.html create mode 100644 docs/functions/ini.html create mode 100644 docs/functions/input.html create mode 100644 docs/images/dark/goto.png create mode 100644 docs/images/light/goto.png delete mode 100644 docs/syntax/default.html delete mode 100644 docs/syntax/dynamic.html delete mode 100644 docs/syntax/index.html delete mode 100644 docs/syntax/set.html delete mode 100644 docs/syntax/static.html delete mode 100644 extensions/README.md delete mode 100644 extensions/vscode/README.md delete mode 100644 www/Default.aspx delete mode 100644 www/Default.aspx.vb delete mode 100644 www/README.md delete mode 100644 www/Web.config delete mode 100644 www/_aside.aspx delete mode 100644 www/_footer.aspx delete mode 100644 www/_page.aspx delete mode 100644 www/assets/css/glyphs.css delete mode 100644 www/assets/css/main.css delete mode 100644 www/assets/css/prism.css delete mode 100644 www/assets/font/shell.eot delete mode 100644 www/assets/font/shell.svg delete mode 100644 www/assets/font/shell.ttf delete mode 100644 www/assets/font/shell.woff delete mode 100644 www/assets/font/shell.woff2 delete mode 100644 www/assets/js/main.js delete mode 100644 www/assets/js/prism.js delete mode 100644 www/assets/lib/bulma/CHANGELOG.md delete mode 100644 www/assets/lib/bulma/LICENSE delete mode 100644 www/assets/lib/bulma/README.md delete mode 100644 www/assets/lib/bulma/bulma.sass delete mode 100644 www/assets/lib/bulma/css/bulma-rtl.css delete mode 100644 www/assets/lib/bulma/css/bulma-rtl.css.map delete mode 100644 www/assets/lib/bulma/css/bulma-rtl.min.css delete mode 100644 www/assets/lib/bulma/css/bulma.css delete mode 100644 www/assets/lib/bulma/css/bulma.css.map delete mode 100644 www/assets/lib/bulma/css/bulma.min.css delete mode 100644 www/assets/lib/bulma/package.json delete mode 100644 www/assets/lib/bulma/sass/base/_all.sass delete mode 100644 www/assets/lib/bulma/sass/base/animations.sass delete mode 100644 www/assets/lib/bulma/sass/base/generic.sass delete mode 100644 www/assets/lib/bulma/sass/base/helpers.sass delete mode 100644 www/assets/lib/bulma/sass/base/minireset.sass delete mode 100644 www/assets/lib/bulma/sass/components/_all.sass delete mode 100644 www/assets/lib/bulma/sass/components/breadcrumb.sass delete mode 100644 www/assets/lib/bulma/sass/components/card.sass delete mode 100644 www/assets/lib/bulma/sass/components/dropdown.sass delete mode 100644 www/assets/lib/bulma/sass/components/level.sass delete mode 100644 www/assets/lib/bulma/sass/components/media.sass delete mode 100644 www/assets/lib/bulma/sass/components/menu.sass delete mode 100644 www/assets/lib/bulma/sass/components/message.sass delete mode 100644 www/assets/lib/bulma/sass/components/modal.sass delete mode 100644 www/assets/lib/bulma/sass/components/navbar.sass delete mode 100644 www/assets/lib/bulma/sass/components/pagination.sass delete mode 100644 www/assets/lib/bulma/sass/components/panel.sass delete mode 100644 www/assets/lib/bulma/sass/components/tabs.sass delete mode 100644 www/assets/lib/bulma/sass/elements/_all.sass delete mode 100644 www/assets/lib/bulma/sass/elements/box.sass delete mode 100644 www/assets/lib/bulma/sass/elements/button.sass delete mode 100644 www/assets/lib/bulma/sass/elements/container.sass delete mode 100644 www/assets/lib/bulma/sass/elements/content.sass delete mode 100644 www/assets/lib/bulma/sass/elements/form.sass delete mode 100644 www/assets/lib/bulma/sass/elements/icon.sass delete mode 100644 www/assets/lib/bulma/sass/elements/image.sass delete mode 100644 www/assets/lib/bulma/sass/elements/notification.sass delete mode 100644 www/assets/lib/bulma/sass/elements/other.sass delete mode 100644 www/assets/lib/bulma/sass/elements/progress.sass delete mode 100644 www/assets/lib/bulma/sass/elements/table.sass delete mode 100644 www/assets/lib/bulma/sass/elements/tag.sass delete mode 100644 www/assets/lib/bulma/sass/elements/title.sass delete mode 100644 www/assets/lib/bulma/sass/form/_all.sass delete mode 100644 www/assets/lib/bulma/sass/form/checkbox-radio.sass delete mode 100644 www/assets/lib/bulma/sass/form/file.sass delete mode 100644 www/assets/lib/bulma/sass/form/input-textarea.sass delete mode 100644 www/assets/lib/bulma/sass/form/select.sass delete mode 100644 www/assets/lib/bulma/sass/form/shared.sass delete mode 100644 www/assets/lib/bulma/sass/form/tools.sass delete mode 100644 www/assets/lib/bulma/sass/grid/_all.sass delete mode 100644 www/assets/lib/bulma/sass/grid/columns.sass delete mode 100644 www/assets/lib/bulma/sass/grid/tiles.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/_all.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/color.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/flexbox.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/float.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/other.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/overflow.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/position.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/spacing.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/typography.sass delete mode 100644 www/assets/lib/bulma/sass/helpers/visibility.sass delete mode 100644 www/assets/lib/bulma/sass/layout/_all.sass delete mode 100644 www/assets/lib/bulma/sass/layout/footer.sass delete mode 100644 www/assets/lib/bulma/sass/layout/hero.sass delete mode 100644 www/assets/lib/bulma/sass/layout/section.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/_all.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/animations.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/controls.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/derived-variables.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/extends.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/functions.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/initial-variables.sass delete mode 100644 www/assets/lib/bulma/sass/utilities/mixins.sass delete mode 100644 www/assets/lib/jquery.toast/jquery.toast.css delete mode 100644 www/assets/lib/jquery.toast/jquery.toast.js delete mode 100644 www/assets/lib/jquery.toast/jquery.toast.min.css delete mode 100644 www/assets/lib/jquery.toast/jquery.toast.min.js delete mode 100644 www/assets/lib/jquery/jquery.js delete mode 100644 www/assets/lib/jquery/jquery.min.js delete mode 100644 www/bin/Intelligencia.UrlRewriter.dll delete mode 100644 www/bin/LICENCE.md delete mode 100644 www/bin/README.md delete mode 100644 www/bin/System.Buffers.dll delete mode 100644 www/bin/System.Memory.dll delete mode 100644 www/bin/System.Numerics.Vectors.dll delete mode 100644 www/bin/System.Runtime.CompilerServices.Unsafe.dll delete mode 100644 www/bin/System.Text.Json.dll delete mode 100644 www/images/favicon.ico delete mode 100644 www/images/favicon.png delete mode 100644 www/images/favicon.svg delete mode 100644 www/images/logo-512.png diff --git a/config/en/imports/develop.nss b/config/en/imports/develop.nss index a108f42..f857abe 100644 --- a/config/en/imports/develop.nss +++ b/config/en/imports/develop.nss @@ -1,4 +1,4 @@ -menu(mode="multiple" title='&Develop' sep=sep.bottom image=\uE26E) +menu(mode="multiple" title='&Develop' vis=key.shift() sep=sep.bottom image=\uE26E) { menu(mode="single" title='editors' image=\uE17A) { @@ -18,8 +18,8 @@ menu(mode="multiple" sep="both" title='publish' image=\ue11f) { - var { publish='dotnet publish -r win-x64 -c release --output "@sel.parent\publish" /p:CopyOutputSymbolsToPublishDirectory=false' } - item(title='publish single file' sep="after" cmd-line='/K @publish -p:PublishSingleFile=true --self-contained false') + $publish='dotnet publish -r win-x64 -c release --output publish /*/p:CopyOutputSymbolsToPublishDirectory=false*/' + item(title='publish sinale file' sep="after" cmd-line='/K @publish --no-self-contained /p:PublishSingleFile=true') item(title='framework-dependent deployment' cmd-line='/K @publish') item(title='framework-dependent executable' cmd-line='/K @publish --self-contained false') item(title='self-contained deployment' cmd-line='/K @publish --self-contained true') diff --git a/config/en/imports/file-manage.nss b/config/en/imports/file-manage.nss index 8956e96..a176351 100644 --- a/config/en/imports/file-manage.nss +++ b/config/en/imports/file-manage.nss @@ -1,6 +1,6 @@ -menu(where=sel.count>0 type='file|dir|drive|namespace|back' mode="multiple" title='File manage' image=\uE253) +menu(where=sel.count>0 type='file|dir|drive|namespace|back' mode="multiple" title='File Manage' image=\uE253) { - menu(separator="after" title='Copy Path' image=icon.copy_path) + menu(separator="after" 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)) @@ -12,6 +12,9 @@ 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)) } + + item(mode="single" type="file" title="Change extension" image=\uE0B5 cmd=if(input("Change extension", "Type extension"), + io.rename(sel.path, path.join(sel.dir, sel.file.title + "." + input.result)))) menu(separator="after" image=\uE290 title=title.select) { @@ -31,7 +34,7 @@ menu(type='file|dir|back.dir' mode="single" title='Attributes') { - var { atrr = io.attributes(sel.path) } + $atrr = io.attributes(sel.path) item(title='Hidden' checked=io.attribute.hidden(atrr) cmd args='/c ATTRIB @if(io.attribute.hidden(atrr),"-","+")H "@sel.path"' window=hidden) @@ -65,7 +68,7 @@ menu(title='New File' image=icon.new_file) { - var { dt = sys.datetime("ymdHMSs")} + $dt = sys.datetime("ymdHMSs") item(title='TXT' cmd=io.file.create('@(dt).txt', 'Hello World!')) item(title='XML' cmd=io.file.create('@(dt).xml', 'Hello World!')) item(title='JSON' cmd=io.file.create('@(dt).json', '[]')) diff --git a/config/en/imports/goto.nss b/config/en/imports/goto.nss index 47ad908..5711acb 100644 --- a/config/en/imports/goto.nss +++ b/config/en/imports/goto.nss @@ -1,4 +1,4 @@ -menu(type='*' where=window.is_taskbar||sel.count mode=mode.multiple title='Goto' sep=sep.both image=\uE14A) +menu(type='*' where=window.is_taskbar||sel.count mode=mode.multiple title=title.go_to sep=sep.both image=\uE14A) { menu(title='Folder' image=\uE1F4) { @@ -23,7 +23,7 @@ menu(type='*' where=window.is_taskbar||sel.count mode=mode.multiple title='Goto' item(title=title.control_panel image=\uE0F3 cmd='shell:::{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}') item(title='All Control Panel Items' image=\uE0F3 cmd='shell:::{ED7BA470-8E54-465E-825C-99712043E01C}') item(title=title.run image=\uE14B cmd='shell:::{2559a1f3-21d7-11d4-bdaf-00c04f60b9f0}') - menu(title=title.settings sep=sep.before image=\uE0F3) + menu(where=sys.ver.major >= 10 title=title.settings sep=sep.before image=\uE0F3) { // https://docs.microsoft.com/en-us/windows/uwp/launch-resume/launch-settings-app item(title='system' image=inherit cmd='ms-settings:') @@ -39,7 +39,7 @@ menu(type='*' where=window.is_taskbar||sel.count mode=mode.multiple title='Goto' item(title='apps-features' image=inherit cmd='ms-settings:appsfeatures') item(title='default-apps' image=inherit cmd='ms-settings:defaultapps') item(title='optional-features' image=inherit cmd='ms-settings:optionalfeatures') - item(title='startup' image=inherit cmd='ms-settings:startup') + item(title='startup' image=inherit cmd='ms-settings:startupapps') } menu(title='personalization' image=inherit) { diff --git a/config/en/imports/images.nss b/config/en/imports/images.nss index 6498000..70854b0 100644 --- a/config/en/imports/images.nss +++ b/config/en/imports/images.nss @@ -1,21 +1,17 @@ -var -{ - color3 = @if(theme.islight,image.color3,'none') - color_islight_WB = @if(theme.islight,'#fff','#000') - svg_jjjj='' - clipPath='' - svg_window_template2='' - svg_window_template='' -} +$color3 = @if(theme.islight,image.color3,'none') +$color_islight_WB = @if(theme.islight,'#fff','#000') +$clipPath='' +$svg_window_template2='' +$svg_window_template='' -copy,copy_to_clipboard=' +@copy,copy_to_clipboard=' ' -cut=' +@cut=' @@ -24,7 +20,7 @@ cut=' @clipPath ' -paste=' +@paste=' @@ -32,7 +28,7 @@ paste=' ' -paste_shortcut=' +@paste_shortcut=' @@ -40,7 +36,7 @@ paste_shortcut=' ' -move_to, move_here=' +@move_to, move_here=' @@ -48,7 +44,7 @@ move_to, move_here=' ' -copy_as_path, copy_path=' +@copy_as_path, copy_path=' @@ -56,20 +52,20 @@ copy_as_path, copy_path=' ' -settings, options, folder_options, taskbar_settings=' +@settings, options, folder_options, taskbar_settings=' - @svg_jjjj + @clipPath ' -task_manager=' +@task_manager=' ' -run_as_administrator=' +@run_as_administrator=' @@ -78,13 +74,13 @@ run_as_administrator=' @clipPath ' -run_as_different_user=' +@run_as_different_user=' ' -personalize=' +@personalize=' @@ -94,21 +90,21 @@ personalize=' @clipPath ' -display_settings=' +@display_settings=' ' // pin -pin, pin_to_start, pin_to_taskbar, pin_to_quick_access, pin_current_folder_to_quick_access, pin_to_start_menu=' +@pin, pin_to_start, pin_to_taskbar, pin_to_quick_access, pin_current_folder_to_quick_access, pin_to_start_menu=' ' // unpin -unpin, unpin_from_start, unpin_from_taskbar, unpin_from_quick_access, remove_from_quick_access, remove_from_recent, unpin_from_start_menu=' +@unpin, unpin_from_start, unpin_from_taskbar, unpin_from_quick_access, remove_from_quick_access, remove_from_recent, unpin_from_start_menu=' @@ -120,12 +116,12 @@ unpin, unpin_from_start, unpin_from_taskbar, unpin_from_quick_access, remove_fro @clipPath ' -add_to_favorites=' +@add_to_favorites=' ' -remove_from_favorites=' +@remove_from_favorites=' @@ -136,13 +132,13 @@ remove_from_favorites=' @clipPath ' -delete, permanently_delete, empty_recycle_bin=' +@delete, permanently_delete, empty_recycle_bin=' ' -sort_by=' +@sort_by=' @@ -152,12 +148,12 @@ sort_by=' @clipPath ' -group_by=' +@group_by=' ' -view=' +@view=' @@ -168,33 +164,33 @@ view=' ' -view2=' +@view2=' ' -align_icons_to_grid=' +@align_icons_to_grid=' ' -auto_arrange_icons=' +@auto_arrange_icons=' ' -close, cancel=' +@close, cancel=' ' -expand=' +@expand=' ' -expand_all, expand_group, expand_all_groups=' +@expand_all, expand_group, expand_all_groups=' @@ -204,13 +200,13 @@ expand_all, expand_group, expand_all_groups=' +@collapse=' ' -collapse_all, collapse_group, collapse_all_groups=' +@collapse_all, collapse_group, collapse_all_groups=' @@ -220,7 +216,7 @@ collapse_all, collapse_group, collapse_all_groups=' +@format=' @@ -234,7 +230,7 @@ format=' ' -eject=' +@eject=' @@ -242,7 +238,7 @@ eject=' @clipPath ' -content=' +@content=' @@ -251,30 +247,30 @@ content=' ' -details=' +@details=' ' -extra_large_icons=' +@extra_large_icons=' ' -large_icons=' +@large_icons=' ' -list=' +@list=' ' -medium_icons=' +@medium_icons=' ' -small_icons=' +@small_icons=' @@ -285,41 +281,41 @@ small_icons=' ' -tiles=' +@tiles=' ' -install=' +@install=' ' -select_all, 'Выбрать все'=' +@select_all, 'Выбрать все'=' ' -invert_selection=' +@invert_selection=' ' -select_none=' +@select_none=' ' -share, share_with=' +@share, share_with=' ' -mount=' +@mount=' @@ -331,46 +327,46 @@ mount=' @clipPath ' -new, new_item=' +@new, new_item=' ' -new_folder=' +@new_folder=' ' -new_file=' +@new_file=' ' -open_folder,open_folder_location, open_file_location, open_as_portable=' +@open_folder,open_folder_location, open_file_location, open_as_portable=' ' -open_new_window, open_in_new_window, open_in_new_process=' +@open_new_window, open_in_new_window, open_in_new_process=' ' -open_new_tab, open_in_new_tab=' +@open_new_tab, open_in_new_tab=' ' -open_spot_light=' +@open_spot_light=' ' -open_with=' +@open_with=' @@ -380,13 +376,13 @@ open_with=' @clipPath ' -run_with_powershell, open_windows_powershell, open_powershell_window_here,windows_powershell,windows_powershell_admin=' +@run_with_powershell, open_windows_powershell, open_powershell_window_here,windows_powershell,windows_powershell_admin=' ' -properties=' +@properties=' @@ -394,14 +390,14 @@ properties=' @clipPath ' -restore=' +@restore=' @clipPath ' -undo, undo_copy,undo_delete, undo_rename, undo_new, undo_move=' +@undo, undo_copy,undo_delete, undo_rename, undo_new, undo_move=' @@ -409,7 +405,7 @@ undo, undo_copy,undo_delete, undo_rename, undo_new, undo_move='' -redo, redo_delete, redo_rename, redo_new, redo_move=' +@redo, redo_delete, redo_rename, redo_new, redo_move=' @@ -417,38 +413,38 @@ redo, redo_delete, redo_rename, redo_new, redo_move=' +@refresh=' ' -rename=' +@rename=' ' -rotate_left=' +@rotate_left=' ' -rotate_right=' +@rotate_right=' ' -set_as_desktop_wallpaper, set_as_desktop_background=' +@set_as_desktop_wallpaper, set_as_desktop_background=' ' -next_desktop_background=' +@next_desktop_background=' @@ -457,7 +453,7 @@ next_desktop_background=' ' -desktop, show_desktop, show_desktop_icons,show_the_desktop=' +@desktop, show_desktop, show_desktop_icons,show_the_desktop=' @@ -467,18 +463,18 @@ desktop, show_desktop, show_desktop_icons,show_the_desktop='' -restore_previous_versions=' +@restore_previous_versions=' ' -create_shortcut, create_shortcuts_here=' +@create_shortcut, create_shortcuts_here=' ' -turn_on_bitlocker, turn_off_bitlocker=' +@turn_on_bitlocker, turn_off_bitlocker=' @@ -489,39 +485,39 @@ turn_on_bitlocker, turn_off_bitlocker=' @clipPath ' -show_file_extensions=' +@show_file_extensions=' ' -show_hidden_files=' +@show_hidden_files=' ' -compressed=' +@compressed=' ' -more_options=' +@more_options=' ' -burn_disc_image=' +@burn_disc_image=' ' -cleanup=' +@cleanup=' @@ -532,7 +528,7 @@ cleanup=' @clipPath ' -move_to, move_here,move_to_folder, extract_all, extract_to=' +@move_to, move_here,move_to_folder, extract_all, extract_to=' @@ -540,58 +536,58 @@ move_to, move_here,move_to_folder, extract_all, extract_to=' ' -copy_to,copy_to_folder,copy_here=' +@copy_to,copy_to_folder,copy_here=' ' -pc,this_pc=' +@pc,this_pc=' ' -command_prompt,command_prompt_admin,open_command_prompt,open_command_window_here=' +@command_prompt,command_prompt_admin,open_command_prompt,open_command_window_here=' @svg_window_template ' -manage=' +@manage=' ' -edit=' +@edit=' ' -troubleshoot_compatibility=' +@troubleshoot_compatibility=' @svg_window_template2 ' -customize_this_folder=' +@customize_this_folder=' ' -give_access_to=' +@give_access_to=' ' -send_to=' +@send_to=' ' -include_in_library=' +@include_in_library=' ' -add_a_network_location=' +@add_a_network_location=' @@ -599,7 +595,7 @@ add_a_network_location=' ' -disconnect_network_drive=' +@disconnect_network_drive=' @@ -611,7 +607,7 @@ disconnect_network_drive=' @clipPath ' -map_network_drive=' +@map_network_drive=' @@ -620,62 +616,67 @@ map_network_drive=' ' -make_available_offline=' +@make_available_offline=' - - + + ' -make_available_online=' +@make_available_online=' ' -file_explorer=' +@file_explorer=' ' -file_explorer_options=' +@file_explorer_options=' ' -print=' +@print=' ' -device_manager=' +@device_manager=' ' -disk_management=' +@disk_management=' ' -filter=' +@filter=' ' -window =' +@window =' @svg_window_template ' -code=' +@code=' ' -reddit=' +@reddit=' ' -nvidia=' +@cortana,show_cortana_button=' + + +' + +@nvidia=' ' \ No newline at end of file diff --git a/config/en/imports/modify.nss b/config/en/imports/modify.nss new file mode 100644 index 0000000..277a0dd --- /dev/null +++ b/config/en/imports/modify.nss @@ -0,0 +1,28 @@ +// modify items +// Remove items by identifiers +modify(mode=mode.multiple + where=this.id(id.restore_previous_versions,id.cast_to_device) + vis=vis.remove) + +modify(type="recyclebin" where=window.is_desktop and this.id==id.empty_recycle_bin pos=1 sep) +modify(type="back" find="shortcut" in="/new" vis=vis.remove) + +modify(find="unpin" pos="bottom" menu="Pin/Unpin") +modify(find="pin" pos="top" menu="Pin//Unpin") + +modify(where=this.id==id.copy_as_path menu="file manage") +modify(type="dir.back|drive.back" where=this.id==id.customize_this_folder pos=1 sep="top" menu="file manage") + +modify(where=this.name=="open in terminal" || this.name=="open linux shell here" || this.id==id.open_powershell_window_here + pos="bottom" menu="Terminal") + +modify(find="open with visual studio" pos=1 menu="develop/editors") + +//Move and organize +//modify(mode=mode.multiple find="scan with" menu=title.more_options) + +modify(mode=mode.multiple + where=this.id(id.send_to,id.share,id.create_shortcut,id.set_as_desktop_background,id.rotate_left, + id.rotate_right, id.map_network_drive,id.disconnect_network_drive,id.format, id.eject, + id.give_access_to,id.include_in_library,id.print) + pos=1 menu=title.more_options) diff --git a/config/en/imports/static.nss b/config/en/imports/static.nss deleted file mode 100644 index f2f5b7b..0000000 --- a/config/en/imports/static.nss +++ /dev/null @@ -1,24 +0,0 @@ -shell -{ - // static items - - // Delete items by identifiers - item(mode=mode.multiple - where=this.id(id.restore_previous_versions,id.cast_to_device,id.give_access_to,id.include_in_library,id.print) - vis=vis.remove) - - item(type='recyclebin' where=window.is_desktop and this.id==id.empty_recycle_bin pos=1 sep) - item(type='back' find=['shortcut', '/new'] vis=vis.remove) - item(find='unpin' pos=pos.bottom menu="Pin//Unpin") - item(find='pin' pos=pos.top menu="Pin//Unpin") - item(where=this.id==id.copy_as_path menu='file manage') - item(type='dir.back|drive.back' where=this.id==id.customize_this_folder pos=1 sep='top' menu='file manage') - item(find='"open in terminal"|"Open linux shell here"' pos=pos.bottom sep menu='Terminal') - item(find='open with visual studio' pos=1 menu='develop/editors') - //Move and organize - item(mode=mode.multiple find='scan with' menu=title.more_options) - item(mode=mode.multiple - where=this.id(id.send_to,id.share,id.create_shortcut,id.set_as_desktop_background,id.rotate_left, - id.rotate_right, id.map_network_drive,id.disconnect_network_drive,id.format, id.eject) - pos=1 menu=title.more_options) -} \ No newline at end of file diff --git a/config/en/imports/taskbar.nss b/config/en/imports/taskbar.nss index 3f0d33e..5f14ab0 100644 --- a/config/en/imports/taskbar.nss +++ b/config/en/imports/taskbar.nss @@ -1,21 +1,20 @@ -menu(type="taskbar" vis=key.shift() pos=0 title=app.name image=\uE249) +menu(type="taskbar" vis=key.shift() or key.lbutton() pos=0 title=app.name image=\uE249) { - item(title="config" image=\uE10A cmd=app.cfg) - item(title="manager" image=\uE0F3 admin cmd=app.exe) - item(title="directory" image=\uE0E8 cmd=app.dir) + item(title="config" image=\uE10A cmd='"@app.cfg"') + item(title="manager" image=\uE0F3 admin cmd='"@app.exe"') + item(title="directory" image=\uE0E8 cmd='"@app.dir"') item(title="version\t"+@app.ver vis=label col=1) item(title="docs" image=\uE1C4 cmd='https://nilesoft.org/docs') item(title="donate" image=\uE1A7 cmd='https://nilesoft.org/donate') } - -menu(where=@(isw11 and this.count == 0) type='taskbar' expanded=true) +menu(where=@(this.count == 0) type='taskbar' image=icon.settings expanded=true) { menu(title="Apps" image=\uE254) { item(title='Paint' image=\uE116 cmd='mspaint') item(title='Edge' image cmd='@sys.prog32\Microsoft\Edge\Application\msedge.exe') item(title='Calculator' image=\ue1e7 cmd='calc.exe') - item(title=@str.res('regedit.exe,-16') image cmd='regedit.exe') + item(title=str.res('regedit.exe,-16') image cmd='regedit.exe') } menu(title=title.windows image=\uE1FB) { @@ -26,9 +25,9 @@ menu(where=@(isw11 and this.count == 0) type='taskbar' expanded=true) item(title=title.minimize_all_windows cmd=command.minimize_all_windows) item(title=title.restore_all_windows cmd=command.restore_all_windows) } - item(title=title.task_manager image=icon.task_manager cmd='taskmgr.exe') - item(title=title.taskbar_Settings sep=both image=icon.settings cmd='ms-settings:taskbar') - item(title=title.settings image=icon.settings(auto, @image.color1) cmd='ms-settings:') item(title=title.desktop image=icon.desktop cmd=command.toggle_desktop) - item(vis=@key.shift() title=title.exit_explorer cmd=command.restart_explorer) + item(title=title.settings image=icon.settings(auto, image.color1) cmd='ms-settings:') + item(title=title.task_manager sep=both image=icon.task_manager cmd='taskmgr.exe') + item(title=title.taskbar_Settings sep=both image=inherit cmd='ms-settings:taskbar') + item(vis=key.shift() title=title.exit_explorer cmd=command.restart_explorer) } \ No newline at end of file diff --git a/config/en/imports/terminal.nss b/config/en/imports/terminal.nss index 975d5fa..b7c2623 100644 --- a/config/en/imports/terminal.nss +++ b/config/en/imports/terminal.nss @@ -1,6 +1,9 @@ menu(type='*' where=(sel.count or wnd.is_taskbar or wnd.is_edit) title=title.terminal sep='top' image=icon.run_with_powershell) { - item(title=title.command_prompt admin=key.shift() image cmd='cmd.exe' args='/K TITLE Command Prompt &ver& PUSHD "@sel.dir"') - item(title=title.windows_powershell admin=@key.shift() image cmd='powershell.exe' args="-noexit -command Set-Location -Path '" + @sel.dir + "\\.'") - item(where=sys.ver.major >= 10 title=title.Windows_Terminal admin=key.shift() image='@package.path("WindowsTerminal")\WindowsTerminal.exe' cmd='wt.exe' arg='-d "@sel.path\."') + $tip_run_admin=["\xE1A7 Press SHIFT key to run " + this.title + " as administrator", tip.warning, 1.0] + $has_admin=key.shift() or key.rbutton() + + item(title=title.command_prompt tip=tip_run_admin admin=has_admin image cmd='cmd.exe' args='/K TITLE Command Prompt &ver& PUSHD "@sel.dir"') + item(title=title.windows_powershell admin=has_admin tip=tip_run_admin image cmd='powershell.exe' args='-noexit -command Set-Location -Path "@sel.dir\."') + item(where=package.exists("WindowsTerminal") title=title.Windows_Terminal tip=tip_run_admin admin=has_admin image='@package.path("WindowsTerminal")\WindowsTerminal.exe' cmd='wt.exe' arg='-d "@sel.path\."') } \ No newline at end of file diff --git a/config/en/imports/theme.nss b/config/en/imports/theme.nss new file mode 100644 index 0000000..8f10f3b --- /dev/null +++ b/config/en/imports/theme.nss @@ -0,0 +1,12 @@ +theme +{ + name="modern" + dark=auto + background + { + color=auto + opacity=50 + effect=0 + } + image.align=2 +} \ No newline at end of file diff --git a/config/en/shell.nss b/config/en/shell.nss index 442e82a..d7ec077 100644 --- a/config/en/shell.nss +++ b/config/en/shell.nss @@ -1,51 +1,28 @@ -shell +settings { - var - { - isw11=sys.is11 - } - - set - { - theme - { - name="modern" - background - { - //opacity=95 - effect=0 - } - - image - { - align=2 - } - - item.prefix=auto - } - - exclude.where = !process.is_explorer - showdelay=200 - } - - images import 'imports/images.nss' - - static - { - import 'imports/static.nss' - item(where=this.title.length > 25 menu=title.more_options) - } - - dynamic - { - menu(mode="multiple" title="Pin/Unpin" image=icon.pin) { } - menu(mode="multiple" title=title.more_options image=icon.more_options) { } - - import 'imports/terminal.nss' - import 'imports/file-manage.nss' - import 'imports/develop.nss' - import 'imports/goto.nss' - import 'imports/taskbar.nss' - } + priority=1 + exclude.where = !process.is_explorer + showdelay = 200 + // Options to allow modification of system items + modify.remove.duplicate=1 + tip.enabled=true } +import 'imports/theme.nss' +import 'imports/images.nss' + +import 'imports/modify.nss' + +menu(mode="multiple" title="Pin/Unpin" image=icon.pin) +{ +} + +menu(mode="multiple" title=title.more_options image=icon.more_options) +{ +} + +import 'imports/terminal.nss' +import 'imports/file-manage.nss' +import 'imports/develop.nss' +import 'imports/goto.nss' +import 'imports/taskbar.nss' diff --git a/docs/configuration/index.html b/docs/configuration/index.html new file mode 100644 index 0000000..a30e5d6 --- /dev/null +++ b/docs/configuration/index.html @@ -0,0 +1,202 @@ +

Syntax Rules for Configuration Files

+
+

This chapter describes the syntax rules for the configuration files.

+

The main configuration file shell.nss is located in the installation directory of + Shell, depending on your installation method. +

+ +
General rules
+
    +
  • Syntax is case-insensitive.
  • +
  • Spaces around the equal (=) sign are optional and are ignored.
  • +
  • The properties of modify-items and new-items items are separated + by blank spaces or on a separate line and must be placed in + parentheses ( ). +
  • +
  • Other configuration files can be imported using the import tag. +
  • +
+ +
+ Tip: When there is an error, it is recorded in the log file (shell.log, which is also located in + your installation directory.). +
+ +
shell.nss structure
+

The global section shell{} may have the following subsections:

+ +
Example
+
// variable declaration
+$variable-name = variable-value
+
+//image declaration
+@image-id = image-value
+	
+settings
+{
+	key-name = key-value
+	key-name = [key-value, key-value, ...]
+	...
+}
+
+theme
+{
+	key-name = key-value
+	...
+}
+
+// modify items
+modify ( property-name = property-value   ... )
+remove ( property-name = property-value   ... )
+
+// new items
+
+item ( property-name = property-value   ... )
+
+separator [( property-name = property-value   ... )]
+
+menu ( property-name = property-value   ... )
+{
+	$variable-name = variable-value
+	
+	item ( property-name = property-value   ... )
+	...
+}
+
+ +

Breaking Long Lines

+

For best readability, users often like to avoid lines longer than 80 characters. single + quotes also allow break up a line.

+
item(title='Command prompt'
+	cmd='cmd.exe')
+
+
+ +

Import tag

+

To better organise the configuration file, parts of the configuration can be saved in separate files. These are then + imported using the import tag. With this method, it is also possible to import the same file as a sort of "module" + into different parts of the configuration. A convenient way to include the same sub-menu in different + locations..

+
Syntax
+

The general syntax is as follows:

+
import %path%
+

Where

+
    +
  • %section% is the name of a section. Optional. If given, it must be one + of +
      +
    • settings
    • +
    • themes
    • +
    • modify-items
    • +
    • new-items
    • +
    + The section name is written literally, without any quotes (or the percent signs). +
  • +
  • %path% is a string literal, that returns the path to the + config file that shall be imported. This can be a relative path to the location of the file where the import tag is used, or it can be an absolute path. Expressions are + supported when using single quotes. +
  • +
+ +

There are effectively two different ways this tag is applied, depending on whether the optional + %section% is given:

+
    +
  • Import an entire section
  • +
  • Import as a partial:
  • +
+ +
Import an entire section
+
// import an entire section
+import %path%
+
+In this case, the content of the file found at %path% will be imported into a newly + created section{}. +The result would then look like so: +
// import an entire section
+section {
+	/* content of the imported file goes here! Do not include
+	 *
+	 * section {
+	 * }
+	 *
+	 * in your imported file!
+	 */
+}
+

This syntax may be used only in the following places:

+
    +
  • root section shell{}: shell import %path% +
  • +
  • the global sections +
      +
    • settings{}: import %path%
    • +
    +
  • +
  • + sub-sections of the settings{} section: +
      +
    • theme.background{}: background import + %path%
    • +
    • theme.item{}: item import + %path%
    • +
    • theme.border{}: border import + %path%
    • +
    • ...
    • +
    • settings.tip{}: tip import %path%
    • +
    • settings.exclude{}: exclude import + %path%
    • +
    • settings.modify{}: static import %path% +
    • +
    • settings.new{}: dynamic import + %path%
    • +
    +
  • +
+
Import as a partial
+
section {
+	// some code might go here. Optional.
+
+	// import of a partial section
+	import %path%
+
+	// some more content might go here. Optional.
+}
+In this case, the content of the file found at %path% will be imported into the already + existing section{}. +The result would then look like so: +
section {
+	// some code might go here. Optional.
+
+	// import of a partial section
+	/* content of the imported file goes here! Do not include
+	 *
+	 * section {
+	 * }
+	 *
+	 * in your imported file!
+	 */
+
+	// some more content might go here. Optional.
+}
+

This syntax may be used nearly anywhere:

+
    +
  • in any section
  • +
  • in the body of menu tags +
  • +
diff --git a/docs/configuration/modify-items.html b/docs/configuration/modify-items.html new file mode 100644 index 0000000..f49977b --- /dev/null +++ b/docs/configuration/modify-items.html @@ -0,0 +1,59 @@ +

Modify Items

+
+

The optional modify section contains entries to modify existing context menu items, + added by the system or by a third party.

+ +
Sub-items
+

The section can have the following entry types, all of which are optional:

+
    +
  • One or more item entries. + These contain the instructions on which and how to change existing menuitems. +
  • +
  • One or more imports. The content of the + given file will be placed in the position of the import. +
  • +
+
Example
+

In the following example, two instructions are defined:

+
modify(find = 'copy' image = #00ff00)
+modify(find = 'paste' image = #0000ff)
+remove(find = '"format"')
+
+

Item Entries

+

item entries contain the instructions on how to identify existing menuitems (also referred to as Target), and when and what changes should be applied + to them.

This is done by matching an existing menuitem's title property against the modify item's mandatory find property. If a match is found, the other properties of the modify + item are applied to the appropriate menuitem, such as changing their properties (e.g. title, icon, visibility), or moving them to another location.

+ +
Syntax
+
modify( find = value [property = value [...] ])
+
+
Properties
+

item entries can define three different sets of properties:

+
+
Validation Properties
+
Determine if a given item entry should be processed when a context menu is displayed. Optional. +
+
Filter Properties:
+
Determine if a given menuitem is a valid target + for the process instructions +
    +
  • find (mandatory)
    + Pattern used to identify targets by matching against their title property. +
  • +
+
+
Process Instructions
+
Define what to do with the target. Optional. However, if there are no below. +
+
+

For a complete overview and further details regarding applicable properties, please refer to the properties page.

+

Item Target

+

Item targets are menuitems of an existing context menu. Their properties or location can + be changed by applying the process instructions defined in a modify item.

+
Process instructions
+

Instructions that should be applied to the Target. Basically they consist of properties from the two property + classes menuitem properties and command properties.

+

Once a item is validated and a target identified, then these values are applied to the targeted + menuitem.

diff --git a/docs/configuration/new-items.html b/docs/configuration/new-items.html new file mode 100644 index 0000000..350cf5e --- /dev/null +++ b/docs/configuration/new-items.html @@ -0,0 +1,105 @@ +

New Items

+
+

Add new items to the context menu.

+
Sub-items
+

The section can have the following entry types, all of which are optional:

+
    +
  • Menuitems, i.e. one or more of the following: +
      +
    • One or more item entries. + These appear as top-level items in a context menu. +
    • +
    • One or more menu entries. + These appear as top-level sub-menus in a context menu. +
    • +
    • One or more separator entries. These create a + horizontal line between the given entries. +
    • +
    +
  • +
  • One or more imports. The content of the given file will be placed in the + position of the import. +
  • +
+ +
Example
+

In the following example, one top-level item is created, that is + separated with a horizontal line from an adjacent sub-menu, which in turn has one sub-item + on its own:

+
item(title = 'Hello, World!')
+separator
+menu(title = 'sub menu' image = #0000ff)
+{
+	item(title = 'test sub-item')
+}
+
+ + + +

menuitem is an umbrella term for those entry types, that may appear in a + menu. These simply include the following:

+ + +
+

Items

+

items create a single menu entry.

+ +
Properties
+

Either a title or a image property is mandatory (set to a non-null value). For further details, + please refer to the properties page.

+ +
Syntax
+
item( title = value [property = value [...] ])
+
+ + + +

menu entries create a new sub-menu. They have properties + and sub-entries.

+ + +

Either a title or a image property is mandatory (set to a non-null value). For further details, + please refer to the properties page.

+ + +

menus can have the following entry types, all of which are + optional:

+
    +
  • Menuitems, i.e. one or more of the following: + +
  • +
  • One or more imports. The content of the + given file will be placed in the position of the import. +
  • +
+ + +
menu( title = value [property = value [...] ])
+{
+	[ item() [...] ]
+	[ menu(){} [...] ]
+	[ separator [...] ]
+	[ import 'path/to/import.nss' [...] ]
+}
+
+ +

Separators

+ +

separators create a horizontal line.

+ +
Properties
+

separators do not have any mandatory properties. Please refer to the properties page for further details.

+ +
Syntax
+
separator
+separator( property = value [property = value [...] ])
diff --git a/docs/syntax/properties.html b/docs/configuration/properties.html similarity index 62% rename from docs/syntax/properties.html rename to docs/configuration/properties.html index c3ce195..32a7e80 100644 --- a/docs/syntax/properties.html +++ b/docs/configuration/properties.html @@ -1,5 +1,4 @@

Properties

- - Shell supports the following properties classes: -

Please also see the full index of available properties below.

-
Index
-