-
-
Notifications
You must be signed in to change notification settings - Fork 242
-
I’m trying to move 1 to the position of 2, ideally placing 1 above 2. Additionally, I would like to swap 3 and 4, ensuring that 3 always appears last and 4 always appears second-to-last. Any guidance would be appreciated.
2026年02月07日
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment 1 reply
-
I managed to get it working on my own. I’m not entirely sure how it’s implemented, but it does exactly what I wanted.This is what I came up with. Can you check if there’s any room for improvement? I’ve listed everything and arranged them in order.
modify(find="复制文件地址" menu="/" pos=bottom)
modify(find="创建快捷方式" menu="/" pos=bottom)
menu(separator="before" mode="multiple" title=title.more_options image=icon.more_options pos=98){}
modify(find="属性" menu="/" pos=99)
Beta Was this translation helpful? Give feedback.
All reactions
-
- you can use only
pos='bottom'but write all modify() in reverse order based on what you want - you do not need
menu="/"- it is the default one - there is also
pos=indexof('menu or item name [, position shift] ):
indexof('copy')is the same asindexof('copy', 0)
indexof('copy', 1)
indexof('copy', -1)
if menu or item name does not exist - goes to bottom, if out of range - can crash explorer
Beta Was this translation helpful? Give feedback.