$didwm

From Scriptwiki
Revision as of 18:16, 10 May 2008 by Aca20031 (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Didreg searches a dialog element for a line that matches the specified wild card.

$didwm(name,id,wildtext[,N])
  • Name is the name of the loaded dialog.
  • ID is the id of the dialog element you are searching.
  • Wildtext is the wild card text to match.
  • N is the line to start your search from. If none is given, all lines are searched (default 1).
  • Returns: The number of the line whcih matches the given regular expression.