Shell
Shell copied to clipboard
mode = "none" does not seem to always work
Im trying to add an item at root level after "new" (in spanish)
item(title='Nuevo archivo' pos=indexof('Nuevo', 1) cmd=io.file.create('blank', null, true) image=\uE10E)
I want it to only pop when no element is selected, i tried a bunch of ways and none seem to work:
- mode="none"
- mode=mode.none
- where=sel.count < 1
Also is there a way to remove() items inside the "new" menu it seems like I cannot use find="" for those, maybe related
Thanks!
- You can try something like
type='back|~Computer|~Recyclebin' - You can remove/modify items from built-in/system menus ( those not added by nilesoft shell) by specifying the menu like :
remove (find='Folder' in='/New')
Thanks a lot! I could achieve both things.
Had to do mode='single' type='dir.back'.
Btw seems like not all bitwise operators from the documentation are allowed, if I use & I get errors in the log.