Did
From Scriptwiki
The /did command allows you to modify the values of controls in a dialog, eg. changing the text in an edit control, or setting focus to a button, or deleting lines in a listbox.
/did -ftebvhnmcukradiogjsl name id [n] [text | filename] Where name identifies the dialog and id is the id number of the control you want to modify.
-f set focus on id -t set id as default button -e enable id -b disable id -v make id visible -h hide id -n enables editbox -m disables editbox -c check checkbox/radiobutton list/combo line -u uncheck checkbox/radiobutton list/combo line -k works with -cu, keeps other selections in a listbox -s checks the checkbox of an item in a listcb control -l unchecks the checkbox of an item in a listcb control -r clear all text in id -a add line of text to end -d delete Nth line -i insert text at Nth line -o overwrite Nth line with text -g set a new icon/bmp to an icon control /did -g name id [n] filename -z resets the width of horizontal scrollbar in listbox -j resets the edited setting in an editbox
If you want to modify several controls at the same time, you can specify multiple id numbers separated by commas, eg. /did -b name 2,12-16,20 etc.
You can select a range of text in an editbox using /did -c name id [n] [start [end]]. This selects line N in editbox, and sets selection to specified range of characters.
You can mark a 3state checkbox as indeterminate by specifying both -cu switches.
You can access the edit control in a combobox by using 0 as the N value.
To change the range of a scrollbar control, you can use /did -z name id [min max].