Jump to content
Sign in to follow this  

For each line in GUICtrlCreateEdit

Recommended Posts

Hi guys,

how can i use something like this :

$Me = GUICtrlCreateEdit("", 5, 5, 200, 200)
$R = GUICtrlRead($Me)
ControlSend("Untitled - Notepad","",15,"Hello " & $R & " bye")

It's Meant for each line in "GUICtrlCreateEdit" we see some thing like this : 

Line 1 > Hello Sarah bye

Line 2 > Hello John bye

Line 3 > Hello X bye

Line 4 > Hello Y bye


And in output we see : 


- For every line in  our "CreateEdit" 

Thanks and sorry for my bad english

Edited by zxtnt09

Share this post

Link to post
Share on other sites

Use StringSplit with the newline character as the delimiter.

That will give you an array of lines.

Loop through it.


can you please give me some little code ? :( 

i can not understand without code :'(

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...