(If you're using Windows 10 or above, you can probably double-click most .iso files to mount them, as it is now built into the OS. This post was written for earlier versions, and may still be useful if you run into things the built-in ISO mounting does not cover.)
Two buttons which mount/unmount a drive image using Daemon Tools.
Both buttons use Drive 0 - which is 1 in Daemon Tools. Obviously you can easily change this to any of the four drives [0-3].
Also, if Daemon Tools is in Secure Mode then you will be prompted each time you attempt to mount or dismount a drive.
To Mount a drive image
<?xml version="1.0"?>
<button display="label" effect="gray">
<guid>{9077FE30-4027-4D0F-A8C1-654B8E8F3815}</guid>
<label>Mount</label>
<tip>Mount a cd image using Daemon Tools.</tip>
<icon1>84</icon1>
<function type="normal">
<instruction>"C:\Program Files\DAEMON Tools\daemon.exe" -mount 0,"{filepath$}"</instruction>
</function>
</button>
To Unmount a drive image
[code]
<?xml version="1.0"?> {417EFFC4-C44F-4E5F-83D6-9C36DD4BE616} Unmount Unmount a cd image using Daemon Tools. 84 "C:\Program Files\DAEMON Tools\daemon.exe" -unmount 0 [/code]You could change the Function in these buttons so that Opus prompts you to enter the drive number each time you press the buttons.
Simply change the functions as follows:
Mount
"C:\Program Files\DAEMON Tools\daemon.exe" -mount {dlgstring|Enter drive number [0-3]},"{filepath$}"
Unmount
"C:\Program Files\DAEMON Tools\daemon.exe" -unmount {dlgstring|Enter drive number [0-3]}