I was thinking of creating an alias to do something like this:

; Syntax:
; /didc [-a] DialogName [Id-Id] Type Commands
; -a would be all id's in dialog
; in Commands <id> = id, <dlg> = dialog
alias didc {
var %all = $iif(-a == $1,t),%d = $iif(%all,$2,$1)
if ($4 == $null) || (!$regex($3,text|edit|button|radio|box|scroll|list|combo|icon|link|tab)) { echo -a * /didc: Error | return }
var %i = $iif(%all,1,$gettok($2,1,45))
while ($iif(%all, [ $did(%d,%i) ], [ $replace($2,-,<) ] )) {
if ($did(%d,%i)[b].type
== $3) $eval($replace($4-,<id>,%i,<dlg>,%d))
inc %i
}
}
[/b]

something like that, havent tested it just typed it up now.

so people could perform commands on certain types of dialog editboxes and stuff without having to input every single id, (which would save time in large dialogs, such as ones with treeviews)


-
E-Mail: mirc_sabby@hotmail.com
Network: irc.enterthegame.com
Channel: #Helpdesk