1. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    44
    0
  2. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    44
    0
  3. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    44
    0
    #3 Moudey, Aug 3, 2022
    Last edited: Aug 3, 2022
    (OP)
    The following example shows how to edit static items
    Code:
    shell {
       static{
    
         // Remove Format item from context-menu
         item(find='format' vis=remove)
    
         // Change title of "Scan with Microsoft Defender.." item
         item(find='Scan with Microsoft Defender' title='Scan with Defender')
    
         // Change image of "Delete" item
         item(find='"delete"' image=\uE0B4)
    
         // disable "Delete" item if the Shift key is not pressed
         item(where=!key.shift() find='"delete"' vis=disable)
       }
    }
    
    This example shows how to delete multiple items with just one line.
    Code:
    shell {
       static{
         item(find='print|send to|cast to device|restore previous versions' vis=remove)
       }
    }
    
     
  4. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    361
    726
    10
    Excellent work.
    Downloading now.....
     
  5. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    44
    0
  6. chib-ba

    chib-ba MDL Novice

    Nov 15, 2022
    11
    10
    0
  7. chib-ba

    chib-ba MDL Novice

    Nov 15, 2022
    11
    10
    0
  8. chib-ba

    chib-ba MDL Novice

    Nov 15, 2022
    11
    10
    0
    #9 chib-ba, Dec 9, 2024
    Last edited: Dec 28, 2024

    Attached Files: