sumkid Posted September 23, 2008 Posted September 23, 2008 (edited) Can i make autoit read settings from an online file? say i have a ftp server and upload an ini file to it with settings. can it read those settings while its online? I was hoping to do this with something like iniread() or something similar if possible? thanks in advance =) Edited September 23, 2008 by sumkid
Pain Posted September 23, 2008 Posted September 23, 2008 (edited) InetGet() and IniRead() and download the file every time you start the program or you could use _IE functions. Edited September 23, 2008 by Pain
sumkid Posted September 23, 2008 Author Posted September 23, 2008 ahh ok ill try it and report my results back here. Thanks
sumkid Posted September 23, 2008 Author Posted September 23, 2008 (edited) ok, tried something like this $Getit = InetGet ( "http://www.mywebserver.com/settings/settings.ini", "settings.ini" ) While 1 Sleep (10000) IniRead ( $Getit, "settings", "Option1", 1 ) Sleep (35000) WEnd im not getting anything? I am trying to get it to do a msgbox from the web server that i posted in the ini. Edited September 23, 2008 by sumkid
Prab Posted September 24, 2008 Posted September 24, 2008 I think you need to move the InetGet statement inside the While loop. That way it will download a fresh copy each time. FolderLog GuiSpeech Assist
Moderators SmOke_N Posted September 24, 2008 Moderators Posted September 24, 2008 http://www.autoitscript.com/forum/index.ph...st&p=543310 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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