Jump to content

novii

Members
  • Posts

    2
  • Joined

  • Last visited

novii's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I'm trying to design a multi-tabbed editor but not how to manage multiple tabs in a code editor. I need to know an efficient way to do it. Thank you for your help. Has anyone done this before can give me an efficient algorithm?. Thank you very much!
  2. Hello, Try this: #include <Constants.au3> MsgBox(0,"The mac Adress is",_GetMAC()) ;Return Value: ;OK : The Mac Adress ;Wrong : Return "" Func _GetMAC() local $Result, $mac,$line $mac = Run(@ComSpec & " /c " & 'GETMAC /FO table',@SystemDir, @SW_HIDE,$STDERR_CHILD + $STDOUT_CHILD) While 1 $line &= StdoutRead($mac) If @error Then ExitLoop Wend $line = StringSplit($line,@CRLF,1) if @error then Return "" $Result = StringSplit($line[4]," ",1) if @error then Return "" Return $Result[1] EndFunc P.S.: Sorry my English.
×
×
  • Create New...