Sign in to follow this  
Followers 0
shidalgo

My first question

4 posts in this topic

Local $TextFile = "C:\Users\Josep\Desktop\nombres.txt"
Local $String = FileRead($TextFile)
$Array = StringSplit($String,@LF)
send($Array[$i]

hello. Someone gave me this way to get the names from a .txt file. In fact, it works, but it copies exactly the names as they are on the notepad (of course it's not his fault, i didn't say to get them differently), because if the notepad is like this :

Hello
Hiya
Byebye

,with a "send" command the names will be wright as saw in the example (after each name, the program changes the line - or click enter -), and what I'd want is to write them without an ENTER between them. Maybe the way could be setting them on the same line separated with a space, like:

Hello Hiya Byebye

, how could I set the script to write with a "send" just one name, without sending then an ENTER, or a SPACE ?

Thanks. if need more help just ask.

Share this post


Link to post
Share on other sites



I believe that that Shidalgo, Nexx, Mokitooo, and idaser are all the same person as all threads ask the same exact question in different broken forms.

just wanted to be first to call it :)


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

Sorry you're wrong "Sherlock Holmes"

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  
Followers 0