- Code: Select all
on *:START: {
$iif($dialog(amip_ctrl),dialog -v,dialog -m amip_ctrl) amip_ctrl
}
alias amip { $iif($dialog(amip_ctrl),dialog -v,dialog -m amip_ctrl) amip_ctrl }
dialog amip_ctrl {
title "Amip Controller by Danneh"
size -1 -1 106 18
option dbu
button "Play", 1, 3 3 16 12
button "Stop", 2, 21 3 16 12
button "Next", 3, 39 3 16 12
button "Prev", 4, 57 3 16 12
button "Announce", 5, 75 3 28 12
}
on *:DIALOG:amip_ctrl:sclick:1-5: {
if ($did == 1) { dde mplug control play }
if ($did == 2) { dde mplug control stop }
if ($did == 3) { dde mplug control > }
if ($did == 4) { dde mplug control < }
if ($did == 5) { dde mplug announce }
}
It will load on start up.. there is also an alias "/amip" to load it up if you close it.