Page 1 of 1

Display separator in submenu

Posted: 01 Apr 2026 08:27
by kiwichick
In a multi-script, a hyphen can be used on a line of its own to display a separator.

For example:

Code: Select all

"Go to C:\"
 goto "C:\";
-
"Go to Windows system folder"
 goto "%winsysdir%";
-
"Open calculator"
 run "calc.exe";
2026-04-01_191618.png
Is there a way to display a separator in the submenu of a nested script?

For example:

Code: Select all

"Folders"
"Go to Windows system folder|||1"
 goto "%winsysdir%";
 // [separator here]
"Go to my folder|||1"
 goto "C:\Users\me";
"Go to Videos|||1"
 goto "C:\Users\me\Videos";
2026-04-01_191921.png

Re: Display separator in submenu

Posted: 01 Apr 2026 17:59
by jupe
If you replace the commented line above, it would be like this:
"-|||1"

Re: Display separator in submenu

Posted: 02 Apr 2026 00:13
by kiwichick
jupe wrote: 01 Apr 2026 17:59 If you replace the commented line above, it would be like this:
"-|||1"
Thanks 😊

Re: Display separator in submenu

Posted: 03 Apr 2026 05:43
by kiwichick
jupe wrote: 01 Apr 2026 17:59 "|||1"
Can you please tell me where to go in the Help file where it mentions being able to use the ||1, ||2, etc for creating submenus? For the life of me I can't find it anywhere.

Re: Display separator in submenu

Posted: 03 Apr 2026 05:46
by jupe
Advanced Topics > Scripting > Script Files for the Advanced > Levels

Re: Display separator in submenu

Posted: 03 Apr 2026 06:04
by kiwichick
jupe wrote: 03 Apr 2026 05:46 Advanced Topics > Scripting > Script Files for the Advanced > Levels
Excellent! Thank you :)