Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

string

$
0
0
i need to get a particular line from the notepad ...


Local $Winx1 = @ScriptDir & "\aa.txt"
ShellExecute($Winx1)
Sleep(3000)
Local $tit ='aa - Notepad'
;Local $rw=WinGetText($tit)
Local $rw = StringRegExpReplace( WinGetText($tit), "(?mi)^(?!CD/).*?\R", '' )
MsgBox(0, "ControlGetText Example", "The control text is: " & $rw)

this is my code .... i need to get the

CD/DVD Model: hp    CDDVDW TS-L633N


but its not coming correctly

please tell me how to do? where i did mistake ?

Attached Thumbnails

  • Untitled.png

Viewing all articles
Browse latest Browse all 12506

Trending Articles