dawly Posted June 26, 2016 Posted June 26, 2016 Hello, I am not able to change the port by txt, if it possible to change it by txt?@FireFox? #Include <FF.au3> _FFConnect() _FFIsConnected() $port = FileOpen("ports.txt", 0) While 1 $test = FileReadLine ($port) _FFPrefSet("network.proxy.http_port", $test) WEnd FileClose ($port) Here the erro message: __FFSend: try{FFau3.obj.getIntPref("network.proxy.http_port");}catch(e){'_FFCmd_Err';}; __FFRecv: 0 _FFPrefSet ==> Invalid data type: (int) $vValue: 80 Note: in my txt is: 80
Danp2 Posted June 26, 2016 Posted June 26, 2016 Try: _FFPrefSet("network.proxy.http_port", Int($test)) dawly 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
dawly Posted June 26, 2016 Author Posted June 26, 2016 Oh thank you But from where can i get this " Int "
Danp2 Posted June 27, 2016 Posted June 27, 2016 Quote Sorry mate but i have last question and i hope you can help me with _FFPrefSet("network.proxy.http_port", $aResult[$iIndex]) How can i done it with " Int " _FFPrefSet("network.proxy.http_port", Int($aResult[$iIndex])) dawly 1 Latest Webdriver UDF Release Webdriver Wiki FAQs
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