Did » History » Version 3
Per Amundsen, 02/25/2014 07:42 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Per Amundsen | */did -abcdefghijklmnorstuv <name> <id> [n] [text | filename | start [end]]* |
| 4 | 1 | Per Amundsen | |
| 5 | The /did command allows you to modify the values of controls in a dialog, |
||
| 6 | |||
| 7 | *Switches* |
||
| 8 | |||
| 9 | -a - Add line of text to end. |
||
| 10 | -b - Disable id. |
||
| 11 | -c - Check checkbox/radiobutton list/combo line. |
||
| 12 | -d - Delete Nth line. |
||
| 13 | -e - Enable id. |
||
| 14 | -f - Set focus on id. |
||
| 15 | 2 | Per Amundsen | -g - Set a new icon/image to an icon control. |
| 16 | 1 | Per Amundsen | -h - hide id |
| 17 | -i - Insert text at Nth line. |
||
| 18 | -j - Resets the edited setting in an editbox. (TODO) |
||
| 19 | -k - Works with -cu, keeps other selections in a listbox. (TODO) |
||
| 20 | -l - Uncheck the checkbox of an item in a listcb control. (TODO) |
||
| 21 | -m - Disables editbox. |
||
| 22 | -n - Enables editbox. |
||
| 23 | -o - Overwrite Nth line with text. |
||
| 24 | -r - Clear all text in id. |
||
| 25 | -s - Checks the checkbox of an item in a listcb control. (TODO) |
||
| 26 | -t - Set id as default button (TODO) |
||
| 27 | -u - Uncheck checkbox/radiobutton list/combo line. |
||
| 28 | -v - Make id visible. |
||
| 29 | -z - Resets the width of horizontal scrollbar in listbox. (TODO) |
||
| 30 | |||
| 31 | *Parameters* |
||
| 32 | |||
| 33 | 2 | Per Amundsen | <name> - Name of the dialog. |
| 34 | <id> - Id of the control to edit, you can use the form N-N1,N2-N3 to change multiple id's at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9. |
||
| 35 | [n] - Usually a line number, it can also be an id number with menus, use 0 if you want to access the editbox of a combo control. |
||
| 36 | [text] - The text parameter if applicable. |
||
| 37 | [filename] - Filename used with -g. |
||
| 38 | |start [end] - Used with -z to set the range of a scrollbar, or with -c to set a selection |