# Confirm Dialog Variables Modifiers Arguments

**URL:** <https://resource.dopus.com/t/confirm-dialog-variables-modifiers-arguments/15859>\
**Category:** Help & Support\
**Created:** [June 16, 2013, 5:05pm UTC](https://resource.dopus.com/t/confirm-dialog-variables-modifiers-arguments/15859 "2013-06-16T17:05:41Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tbone](https://resource.dopus.com/user_avatar/resource.dopus.com/tbone/32/25726_2.png) [@tbone](https://resource.dopus.com/u/tbone)\
**Post date:** [December 28, 2015, 8:02pm UTC](https://resource.dopus.com/t/confirm-dialog-variables-modifiers-arguments/15859/7 "2015-12-28T20:02:02Z")

</div>

Don't know if this will work in every scenario, where the @confirm modifier works, but yes you're right, there's scripting! o)  
I just put this script together that mimics the @confirm and gives some more room to play with. Thanks for making me do this finally! o)

- supports custom title, message, buttons and icon (all parameters optional)
- supports placeholders for the number of selected items/files/dirs {#selitems$}, {#seldirs$}, {#selfiles$}
- supports inserting of of all DO variables (global, tab or lister-scoped) and linefeeds ("\n")

Example:

```auto
Confirm MSG="Really copy {#selitems$} items from \n[{sourcepath$}]?" BUTTONS=Yep|No TITLE="My Title"
```

![](https://resource.dopus.com/uploads/default/original/2X/4/414e4345965a52ed7de5a1c962170a8cc030505c.png)

[Command.GUI\_Confirm.js.txt](https://resource.dopus.com/uploads/default/original/3X/1/b/1bc1a35ffe13a33c16bb1f46fe0864c5e086889d.txt) (6.76 KB)

---

_[View the full topic](https://resource.dopus.com/t/confirm-dialog-variables-modifiers-arguments/15859)._
