Jump to content
Sign in to follow this  
sumkid

read ini settings from online?

Recommended Posts

sumkid

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 by sumkid

Share this post


Link to post
Share on other sites
Pain

InetGet() and IniRead() and download the file every time you start the program or you could use _IE functions.

Edited by Pain

Share this post


Link to post
Share on other sites
sumkid

ahh ok ill try it and report my results back here.

Thanks

Share this post


Link to post
Share on other sites
sumkid

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 by sumkid

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.