Jump to content

My first question


 Share

Recommended Posts

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.

Link to comment
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 :)

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

Link to comment
Share on other sites

  • Developers

Sorry you're wrong "Sherlock Holmes"

So how is it you all seem to be after the same thing ?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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