Slothovan Posted March 18, 2006 Share Posted March 18, 2006 I am trying to create a program that will read, then write a string of text from an ini file. (At max 100 characters or so) This is what I am trying to do... Run("notepad.exe") Send(" TEXT FROM AN INI FILE WILL GO HERE ") I have been trying to figure out how to do it for a while. Thank you. - Slothovan Link to comment Share on other sites More sharing options...
Valuater Posted March 18, 2006 Share Posted March 18, 2006 (edited) Welcome to the Forumsto learn alot quickly.... try thishttp://www.autoitscript.com/forum/index.php?showtopic=21048#from help$var = IniRead("C:\Temp\myfile.ini", "section2", "key", "NotFound") MsgBox(4096, "Result", $var) ; add yours Run("notepad.exe") winwaitactive("") Send($var)the ini would look like thismyfile.ini[section2] key=TEXT FROM AN INI FILE WILL GO HERE8) Edited March 18, 2006 by Valuater Link to comment Share on other sites More sharing options...
Slothovan Posted March 18, 2006 Author Share Posted March 18, 2006 Thank you a lot. Link to comment Share on other sites More sharing options...
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