1. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    32
    0
  2. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    32
    0
  3. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    32
    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
    315
    598
    10
    Excellent work.
    Downloading now.....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Moudey

    Moudey MDL Novice

    Sep 18, 2007
    11
    32
    0