menu status {
Moo
.run open opera {
/set %proxy $read(proxy.txt)
/writeini -n C:\Program Files\Opera\Opera6.ini proxy "HTTP Server" %prox
/run C:\Program Files\Opera\opera.exe %site
}
I don't get an error message, but the value doesn't change. what's wrong?
change C:\Program Files\Opera\Opera6.ini to "C:\Program Files\Opera\Opera6.ini" and add an extra }
with that change, I get the following in the ini file...
"HTTP="Server""
(instead of HTTP Server=68.157.124.70:80 or something)
yes you can't have spaces in the part before the "=" as far as i know.
so there's no way to edit this ini file, then?
change http server %prox to httpserver %prox
it might be helpful to use httpserver %prox
y
but opera reads from "http server" not "httpserver" :\
You could do it with a /write instead of a /writeini.
Just overwrite the line.
ah yes, i just read this bit: /writeini -n C:\Program Files\Opera\Opera6.ini proxy "HTTP Server" %prox
.run open opera {
/set %proxy $read(proxy.txt)
/write -l221 C:\Program Files\Opera\Opera6.ini HTTP Server= $+ %proxy
/run C:\Program Files\Opera\opera.exe %site
}
still not getting any change at all
you need the quotes: "path"
Its a bug i think, u could get around it by doing this:
You need to write 2 lines for a valid ini format:
/write -l221 "C:\Program Files\Opera\Opera6.ini" [proxy]
/write -l222 "C:\Program Files\Opera\Opera6.ini" HTTP Server= $+ %proxy
Alot of trouble for a small bug..
What exactly do you think is a bug?