dialog Logs {
title "Logging"
size -1 -1 160 127
option dbu
edit "", 1, -2 0 163 46, multi return hsbar vsbar
button "Write ", 2, 8 64 37 8
combo 3, 100 45 60 30, size drop
edit "", 4, 0 45 100 11, autohs
edit "", 5, -1 75 162 53, multi return hsbar vsbar
button "Read ", 6, 55 64 37 8
}
on *:Dialog:logs:Sclick:2:{
/write $did(4) $did(1)
}
on *:Dialog:logs:sclick:6:{
$read($did(4),s,*)
}
on *:Dialog:logs:init:0:{
$findfile($mircdir,*.txt,0,did -a logs 3 $nopath($1-))
}
on *:Dialog:logs:sclick:3:{
did -ra logs 4 $did(3).seltext
/run $mircdir $+ $did(4)
}
the problem area is this:
on *:Dialog:logs:Sclick:2:{
/write $did(4) $did(1)
}
it only logs the 1st line of the edit box
any ideas would be greatly appreciated