Garrett19212 Posted March 2, 2005 Posted March 2, 2005 Ok what i want to do is make the program read the first line on Channels.txt and set it as a variable. And i want to use the send command to send the varible like Send ("var1") Like that so it sends the first line of the channels.txt How would i do that?
Alterego Posted March 3, 2005 Posted March 3, 2005 $var1 = FileReadLine("Channels.txt",1)ControlSend("Untitled - Notepad","","Edit 1",$var1) This dynamic web page is powered by AutoIt 3.
Garrett19212 Posted March 3, 2005 Author Posted March 3, 2005 (edited) thx hm i dont understand it completly cant i do like send ("$var1") Edited March 3, 2005 by Garrett19212
layer Posted March 3, 2005 Posted March 3, 2005 well, it depends on where you want to send it to, if you know that whatever ur going to be sending it to is going to be focused, then just use send.. and it's not send("$var1") CORRECTED is: sendI($var1) use no marks around a variable, only use """ when sending raw things like "hello world!" FootbaG
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now