Jump to content
Sign in to follow this  
dawly

Error in FF.au3

Recommended Posts

dawly

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

Share this post


Link to post
Share on other sites
dawly

Oh thank you :) But from where can i get this " Int "

Share this post


Link to post
Share on other sites
Danp2
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]))

 

  • Like 1

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  

×