Werden die Schalter mit einem Links-Klick angeklickt, öffnen sich die Fenster mit normalen Rechten.
Werden die Schalter mit einem Rechts-Klick angeklickt, öffnen sich die Fenster mit admin Rechten.
- Klick -> Eingabeaufforderung
- Shift-Klick -> Powershell
- Strg-Shift-Klick -> Windows Powershell ISE
Code: Alles auswählen
<?xml version="1.0"?>
<button backcol="none" display="icon" textcol="none" type="three_button">
<label>Eingabeaufforderung / Powershell öffnen</label>
<tip>Links-Klick: normale Rechte | Rechts-Klick: admin-Rechte\nKlick -> Eingabeaufforderung\nShift-Klick -> Powershell\nStrg-Shift-Klick -> Windows Powershell ISE</tip>
<icon1>#CMD</icon1>
<button backcol="none" display="icon" textcol="none">
<label>DOS</label>
<tip>Öffnet ein DOS Fenster mit dem aktuellen Pfad</tip>
<icon1>#CMD</icon1>
<function type="normal">
<instruction>@keydown:none</instruction>
<instruction>CLI DOSPROMPT=noadmin</instruction>
<instruction>@keydown:shift</instruction>
<instruction>powershell</instruction>
<instruction>@keydown:ctrlshift</instruction>
<instruction>powershell_ise</instruction>
</function>
</button>
<button backcol="none" display="icon" label_pos="right" textcol="none">
<label>Eingabeaufforderung (Admin)</label>
<tip>Öffnet eine Eingabeaufforderung mit erhöhten Rechten mit dem aktuellen Ordner als aktuellen Pfad des Listers</tip>
<icon1>#cliadmin</icon1>
<function type="normal">
<instruction>@keydown:none</instruction>
<instruction>@admin </instruction>
<instruction>CLI DOSPROMPT=admin</instruction>
<instruction>@keydown:shift</instruction>
<instruction>@admin </instruction>
<instruction>powershell</instruction>
<instruction>@keydown:ctrlshift</instruction>
<instruction>@admin </instruction>
<instruction>powershell_ise</instruction>
</function>
</button>
</button>