Confirm unterstützt:
- Info/Warn/Error Icons
- Platzhalter für Source/Dest und andere Variablen
- Platzhalter für die Anzahl selektierter Items/Files/Dirs
- beliebig viele Buttons und freie Texte
- Passwort oder String-Eingabe zur Bestätigung
- Listendarstellung für Items (autom. Kürzung falls zu lang etc.)
- Zeilenumbruch einfügen mit "\n".
Basic Usage:
Code: Alles auswählen
Confirm MSG="This is a warning." ICON=warning BUTTONS="Oh sh..!" ITEMS={allfile$}
Code: Alles auswählen
Confirm MSG="Really copy from..\n\n[{sourcepath$|noterm}]\n\nto..\n\n[{destpath$|noterm}] ?\n\nSelected items: {#selitems$}\nSelected files:{#selfiles$}\nSelected dirs: {#seldirs$}"
Code: Alles auswählen
Confirm MSG="Enter 'go' to continue!" PW=go
Code: Alles auswählen
Confirm MSG="This is a warning.\n\nReally delete?\n" ICON=warning BUTTONS="Button1|Button2|Button3|Cancel" ITEMS={allfile$}
Demo-MenuButton:
Download:
//v0.2.4 (2024-02-06)
//- update date strings in history, no functional change
//v0.2.3 (2024-02-06)
//- update url to new forum thread
//- upsidedown history in script
//v0.2.2 (2016-05-29)
//- Password or confirm by "entering a string" added
(12.65 KiB) 428-mal heruntergeladen
//v0.2.1 (2016-05-28)
//- some fixes I don't remember
(12.25 KiB) 337-mal heruntergeladen
//v0.2 (2016-01-29)
//- parameter ITEMS added (allows to list affected files/directories easily with {allfiles} placeholder)
//- returning result in variable named "Script.Confirm.Result" (scoped to sourcetab if present, else global)
(12.07 KiB) 388-mal heruntergeladen
//v0.1 (2015-12-01)
//- supports custom title, message, buttons and icon (all parameters optional)
//- supports placeholders for the number of selected items/files/dirs {#selitems$}, {#seldirs$}, {#selfiles$}
//- supports resolving of all DO variables (global, tab or lister-scoped)