From WikiChip
Difference between revisions of "mirc/commands/did"
< mirc‎ | commands

(Switches)
m (Bot: Adding a template)
Line 1: Line 1:
 +
{{mIRC menu}}
 
The '''/did command''' allows you to modify the values of controls in a dialog.
 
The '''/did command''' allows you to modify the values of controls in a dialog.
  

Revision as of 23:41, 28 July 2014

Template:mIRC menu The /did command allows you to modify the values of controls in a dialog.


Synopsis

/did -ftebvhnmcukradiogjsl <name> <id> [n] [text | filename | start [end] ]

Switches

  • -f - set focus on <id>, use -fu to set a tab on focus
  • -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 a checkbox/radio/list/combo/ line, can be used to set the selected text in the control
  • -u - uncheck a checkbox/radio/list/combo line, used with -c, can be used to mark a 3dstate checkbox as indeterminaten used with -f, sets the focus on a tab control
  • -k - used with -c and -u, keeps other selections in a listbox
  • -s - checks the checkbox of an item in a listbox control that uses checkboxes
  • -l - unchecks the checkbox of an item in a listbox control that uses checkboxes
  • -r - clears all text in <id>
  • -a - appends text to the end of a control or adds an item to a menu
  • -d - deletes the Nth line in a listbox/combo
  • -i - insert line in a listbox/combo or inserts an item to a menu
  • -o - overwrite the Nth line in a listbox/combo with text
  • -g - set a new icon/bmp to an icon control
  • -z - resets the width of horizontal scrollbar in listbox, or set the range of a scrollbar control
  • -j - resets the edited setting in an editbox

Parameters

  • <name> - name of the dialog
  • <id> - id of the controls, you can use the form N-N1,N2-N3 to change multiple ids at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9
  • [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.
  • [text] - the text parameter if applicable
  • [filename] - used with -g
  • [start [end]] - used with -z to set the range of a scrollbar, or with -c to set a selection

Example

None

Compatibility

Added: mIRC v5.5
Added on: 08 Jan 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy