All pastes #363035 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-02-19 05:08 UTC
rendered paste body
; We want to popular the listbox with entries from the contacts.lst file 
on *:dialog:addressbook:init:0: {
  var %i = 1
  while (%i <= $lines(contacts.lst)) {
    set %email.address $read($scriptdirdata/contacts.lst, %i)
    did -a addressbook 2 %email.address
    inc %i
  }
}