FinalVersion Posted April 13, 2009 Share Posted April 13, 2009 Hi, I have a decent understanding of coding so bare with me. Oh btw nice forums. I'm trying to make a msgbox popup with info from a .ini file. What i have so far. $User = IniRead("\Config.ini", "Username", "Key", "Error") $Pass = IniRead("\Config.ini", "Password", "Key", "Error") Msgbox(0,"UserName", $User, 1) Sleep(2000) MsgBox(0,"PassWord", $Pass, 1) This is the config.ini Username=user goes here Password=pass goes here Any help is appreciated! [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] Link to comment Share on other sites More sharing options...
Josbe Posted April 13, 2009 Share Posted April 13, 2009 Hi, I have a decent understanding of coding so bare with me. Oh btw nice forums. I'm trying to make a msgbox popup with info from a .ini file. What i have so far. $User = IniRead("\Config.ini", "Username", "Key", "Error") $Pass = IniRead("\Config.ini", "Password", "Key", "Error") Msgbox(0,"UserName", $User, 1) Sleep(2000) MsgBox(0,"PassWord", $Pass, 1) This is the config.ini... Username=user goes here Password=pass goes here Any help is appreciated! You need a section name (more info here). In your .ini file: [info] Username=user goes here Password=pass goes here In the script... $User = IniRead("\Config.ini", "info", "Username", "Error") $Pass = IniRead("\Config.ini", "info", "Password", "Error") AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
CodyBarrett Posted April 13, 2009 Share Posted April 13, 2009 (edited) what are you asking help for? EDIT damn.. lol ^ i didnt even see that Edited April 13, 2009 by CodyBarrett [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
FinalVersion Posted April 13, 2009 Author Share Posted April 13, 2009 You need a section name (more info here).In your .ini file:In the script...Thank You, Problem Solved! [center][+] Steam GUI [+][+] Clipboard Tool [+][+] System :: Uptime [+][+] StarCraft II Mouse Trap [+][/center] 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