Code:
$var = entry from list

If @wksta = $var
  Run command
EndIf


Look in the manual for ReadLine(), ReadProfileSting(), Shell, Macro's
_________________________
Today is the tomorrow you worried about yesterday.