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

ControlCommand is not working

$
0
0

Hi all,

This is my code. It is giving me the currect line number but it won't give me the right line text.

  1. Local $title = WinGetTitle("[CLASS:SciTEWindow]")
  2.  
  3. Global $Current_lineNumber = ControlCommand($title, "S", 350, "GetCurrentLine"," ")
  4.  
  5. Global $CurrentLine_Text = ControlCommand($title, "S", 350, "GetLine", $Current_lineNumber)
  6.  
  7. MsgBox(0,"", "Line Number is = " & $Current_lineNumber & " Text is =  " & $CurrentLine_Text)

This is the result

 

Attached Thumbnails

  • 000087.jpg

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>