Achilles Posted September 3, 2006 Posted September 3, 2006 (edited) I've been looking through the helpfile/forum and I'm not really sure what an .ini file is. Is it just like a notepad file that you Autoit can read stuff from easily... 'cause that would be very helpful for a program I'm trying to write. I assume that .ini files would be used for keeping data for several days or whatever. Is that right? P.S. I'm making a program that will remind you of what you needed reminded of (i.e. you insert your friends birthday and at the specified time a msgbox will come up saying "It's so and so's birthday). Would I use .ini to store the reminders for a long time? So far I've only been able to do daily stuff, when close the program it doesn't remember them... Piano_Man Edited September 3, 2006 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Developers Jos Posted September 3, 2006 Developers Posted September 3, 2006 http://www.google.com/search?sourceid=navc...+is+an+INI+file 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.
Helge Posted September 3, 2006 Posted September 3, 2006 (edited) Understanding how a INI-files is built up is just as easy as blinking with your eyes. It doesn't require to much concentration really... INIs contains sections, keys and values. Which is what also speaks for itself if you study it. Below is a simple example that you could use to store the birthdays with names. If there are multiple people with the same birthday you can simply just separete them with commas or something.[birthdays] 0713=Helge,Thomas 0613=Heidi 1212=MomSo to check if there's someone's birthday today you could do something like this :IniRead("c:\birthdays.ini", "birthdays", @MON & @MDAY, "") Edited September 3, 2006 by Helge
Achilles Posted September 3, 2006 Author Posted September 3, 2006 Understanding how a INI-files is built up is just as easy as blinking with your eyes. It doesn't require to much concentration really... INIs contains sections, keys and values. Which is what also speaks for itself if you study it. Below is a simple example that you could use to store the birthdays with names. If there are multiple people with the same birthday you can simply just separete them with commas or something.[birthdays] 0713=Helge,Thomas 0613=Heidi 1212=MomSo to check if there's someone's birthday today you could do something like this :IniRead("c:\birthdays.ini", "birthdays", @MON & @MDAY, "") Thanks... that's kind of what I thought... And thanks to JdeB also Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
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