Need Help With Windowing & INI Files
- Posted by brian_keene at yahoo.com Aug 20, 2001
- 420 views
Hi All: As I stated previously, I'm new to EU & this group. "reviously I've been using another much simpler scripting language called AutoIt. Even though it's simpler, it can do several things very easily that I haven't found a way to do (easily) with EU. They are: 1. Read & write INI files. The w32ini library in the archive allows you to read & write INI files. But not when you want to read all of the entries in a "Program" area & don't know how many there are, & how big the entries are. In AutoIt I can do: SetEnv, CNT, 1 Repeat, 0 IniRead, HOSTS[%CNT%], hosts.ini, Hostnames, %CNT% IfEqual, ERRORLEVEL, 1, Goto, End EnvAdd, CNT, 1 EndRepeat End: SetEnv, HOSTS[0], %CNT% When the key names are #'s I can get any # of hostnames from the INI file without knowing how many there are, or how many bytes are needed for each entry. Can anyone tell me how to do something similar with EU? 2. AutoIt was designed to help with the automation of windows based installation programs (installshield, etc). To this end, you can identify if a window exists or is the active window by matching on not only the window title, but text that is inside of the window as well. EU with the windows.ew library (in the archvie agian) can do most of this except differentiate between 2 windows that have the same title but different text inside the window. Can someone tell me how to do this with EU? Thanks In Advance for any help. Regards Brian Keene