moudey / Shell

Powerful context menu manager for Windows File Explorer
https://nilesoft.org
MIT License
2.94k stars 98 forks source link

mode = "none" does not seem to always work #478

Open dimateos opened 1 week ago

dimateos commented 1 week ago

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:

Also is there a way to remove() items inside the "new" menu it seems like I cannot use find="" for those, maybe related

Thanks!

Xhib-ba commented 1 week ago
dimateos commented 1 week ago

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.