Jump to content

Recommended Posts

Posted (edited)

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

6oln46.png

And in output we see : 

16c0sh5.png

- For every line in  our "CreateEdit" 

Thanks and sorry for my bad english

Edited by zxtnt09
output
Posted

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 :'(

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...